Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001701/0.001701, allocations: 173.9 kB / 16.8 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 223 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007194/0.0007194, allocations: 86.36 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07674/0.07674, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003671, allocations: 8 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07697/0.07736, allocations: 50.38 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample): time 0.001981/0.07938, allocations: 1.571 MB / 445.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.0809, allocations: 1.03 MB / 446.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.08108, allocations: 7.938 kB / 446.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.08144, allocations: 63.8 kB / 446.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.08169, allocations: 83.72 kB / 446.4 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006934/0.0824, allocations: 203.6 kB / 446.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.08261, allocations: 159.5 kB / 446.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.08272, allocations: 33.55 kB / 446.8 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.846e-05/0.08282, allocations: 63.69 kB / 446.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.08293, allocations: 75.62 kB / 447 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.08296, allocations: 4 kB / 447 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.08311, allocations: 47.97 kB / 447 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.387e-05/0.08319, allocations: 47.83 kB / 447.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.08327, allocations: 97.12 kB / 447.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.08347, allocations: 175.9 kB / 447.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.08348, allocations: 0 / 447.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.08349, allocations: 0 / 447.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.0835, allocations: 0 / 447.3 MB, free: 11.75 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000615/0.08412, allocations: 0.4923 MB / 447.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.08417, allocations: 8.031 kB / 447.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.08423, allocations: 24.66 kB / 447.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.0845, allocations: 283.6 kB / 448.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.08452, allocations: 4.312 kB / 448.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.08455, allocations: 16.12 kB / 448.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.08483, allocations: 167.5 kB / 448.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.08485, allocations: 0 / 448.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.08487, allocations: 4 kB / 448.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.08488, allocations: 4 kB / 448.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.085, allocations: 43.91 kB / 448.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.08545, allocations: 374.3 kB / 448.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.08567, allocations: 119.9 kB / 448.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.485e-05/0.08576, allocations: 46.56 kB / 448.9 MB, free: 9.973 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.0858, allocations: 7.938 kB / 448.9 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.086, allocations: 79.38 kB / 449 MB, free: 9.875 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/0.08601, allocations: 0 / 449 MB, free: 9.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003486/0.08637, allocations: 149.4 kB / 449.1 MB, free: 9.723 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.08643, allocations: 158.2 kB / 449.3 MB, free: 9.531 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.08671, allocations: 330.8 kB / 449.6 MB, free: 9.199 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.08673, allocations: 37.7 kB / 449.6 MB, free: 9.156 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.0868, allocations: 128.1 kB / 449.8 MB, free: 9.027 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.08683, allocations: 15.8 kB / 449.8 MB, free: 9.012 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.08684, allocations: 4 kB / 449.8 MB, free: 9.008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.831e-05/0.08691, allocations: 334.8 kB / 450.1 MB, free: 8.672 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.005e-05/0.08699, allocations: 23.98 kB / 450.1 MB, free: 8.648 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.08712, allocations: 90.91 kB / 450.2 MB, free: 8.535 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.08727, allocations: 80.22 kB / 450.3 MB, free: 8.441 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.08728, allocations: 0 / 450.3 MB, free: 8.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002049/0.08749, allocations: 125.6 kB / 450.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.08752, allocations: 8.609 kB / 450.4 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.08754, allocations: 8.109 kB / 450.4 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.08756, allocations: 3.984 kB / 450.4 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.08767, allocations: 19.94 kB / 450.5 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.08768, allocations: 0 / 450.5 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.08777, allocations: 23.77 kB / 450.5 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.08779, allocations: 4 kB / 450.5 MB, free: 8.246 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample.y,superSample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.0879, allocations: 150.8 kB / 450.6 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.188e-05/0.08798, allocations: 69.34 kB / 450.7 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.08804, allocations: 29.7 kB / 450.7 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.08805, allocations: 0 / 450.7 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.08806, allocations: 0 / 450.7 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.08807, allocations: 7.938 kB / 450.7 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.08822, allocations: 233.6 kB / 451 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.08823, allocations: 0 / 451 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/0.0883, allocations: 16.05 kB / 451 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.08831, allocations: 0 / 451 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.08833, allocations: 8 kB / 451 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.08834, allocations: 3.938 kB / 451 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.08834, allocations: 3.938 kB / 451 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.08856, allocations: 170.4 kB / 451.2 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/0.08865, allocations: 112.9 kB / 451.3 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.08869, allocations: 4 kB / 451.3 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.08876, allocations: 7.938 kB / 451.3 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.08882, allocations: 11.98 kB / 451.3 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.08884, allocations: 11.92 kB / 451.3 MB, free: 7.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001848/0.08903, allocations: 237.9 kB / 451.5 MB, free: 7.082 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.08904, allocations: 0 / 451.5 MB, free: 7.082 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002497/0.08929, allocations: 39.91 kB / 451.6 MB, free: 7.043 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008505/0.09015, allocations: 426.5 kB / 452 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.09037, allocations: 71.91 kB / 452.1 MB, free: 6.547 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.09039, allocations: 0 / 452.1 MB, free: 6.547 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.648e-05/0.09047, allocations: 31.92 kB / 452.1 MB, free: 6.516 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.09088, allocations: 60.48 kB / 452.2 MB, free: 6.457 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/0.09145, allocations: 442.4 kB / 452.6 MB, free: 5.992 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.09163, allocations: 0.7399 MB / 453.3 MB, free: 5.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.09169, allocations: 27.42 kB / 453.4 MB, free: 5.203 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.0917, allocations: 0 / 453.4 MB, free: 5.203 MB / 298.7 MB Notification: Performance of Templates: time 0.004887/0.09659, allocations: 2.851 MB / 456.2 MB, free: 2.348 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches