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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007052/0.0007052, allocations: 96.94 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007743/0.0007744, allocations: 185.7 kB / 16.96 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.239/1.239, allocations: 205.4 MB / 223.2 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.05813/0.05813, allocations: 12.6 MB / 284 MB, free: 8.598 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006363/0.0006363, allocations: 24 kB / 345.2 MB, free: 20.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0766/0.07725, allocations: 50.38 MB / 395.6 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample): time 0.002167/0.07946, allocations: 1.576 MB / 397.1 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.08117, allocations: 1.034 MB / 398.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.08133, allocations: 0 / 398.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.08165, allocations: 59.8 kB / 398.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.08188, allocations: 83.7 kB / 398.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.08255, allocations: 211.7 kB / 398.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.08279, allocations: 163.5 kB / 398.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.08292, allocations: 21.55 kB / 398.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.08303, allocations: 67.64 kB / 398.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.08314, allocations: 71.62 kB / 398.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.08316, allocations: 4 kB / 398.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.0833, allocations: 55.97 kB / 398.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.244e-05/0.08338, allocations: 47.77 kB / 398.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.678e-05/0.08348, allocations: 97.12 kB / 399 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.08374, allocations: 215.5 kB / 399.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.08375, allocations: 0 / 399.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.08376, allocations: 0 / 399.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.08376, allocations: 0 / 399.2 MB, free: 14.71 MB / 302.1 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.0005851/0.08435, allocations: 0.4962 MB / 399.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.08439, allocations: 8.031 kB / 399.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.08445, allocations: 36.58 kB / 399.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.08475, allocations: 279.6 kB / 400.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.08478, allocations: 384 / 400.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.08481, allocations: 16.12 kB / 400.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.08514, allocations: 159.6 kB / 400.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.08516, allocations: 4 kB / 400.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.08518, allocations: 0 / 400.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.08519, allocations: 7.922 kB / 400.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.0853, allocations: 35.97 kB / 400.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.08581, allocations: 390.2 kB / 400.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.08605, allocations: 115.9 kB / 400.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.174e-05/0.08614, allocations: 46.56 kB / 400.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.08618, allocations: 12.06 kB / 400.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.08636, allocations: 75.31 kB / 400.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.08637, allocations: 0 / 400.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003518/0.08673, allocations: 153.4 kB / 401 MB, free: 12.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/0.08683, allocations: 162.5 kB / 401.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.08713, allocations: 326.6 kB / 401.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.08716, allocations: 33.64 kB / 401.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.08725, allocations: 128.1 kB / 401.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.08728, allocations: 15.81 kB / 401.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.08731, allocations: 21.7 kB / 401.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.08743, allocations: 330.8 kB / 402 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.08751, allocations: 27.98 kB / 402.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.387e-05/0.08761, allocations: 90.78 kB / 402.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.08776, allocations: 84.22 kB / 402.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.08777, allocations: 0 / 402.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002148/0.08799, allocations: 121.4 kB / 402.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.08802, allocations: 5.25 kB / 402.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.08803, allocations: 0 / 402.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.08805, allocations: 4 kB / 402.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.08815, allocations: 27.92 kB / 402.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.08817, allocations: 4.125 kB / 402.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.826e-05/0.08825, allocations: 15.78 kB / 402.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.08827, allocations: 7.984 kB / 402.4 MB, free: 11.17 MB / 302.1 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 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,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.0001257/0.08841, allocations: 153.8 kB / 402.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/0.08848, allocations: 65.41 kB / 402.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.08853, allocations: 21.72 kB / 402.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.08854, allocations: 3.984 kB / 402.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.08855, allocations: 4.062 kB / 402.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.08856, allocations: 4.25 kB / 402.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.08875, allocations: 233.6 kB / 402.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.08876, allocations: 8 kB / 402.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/0.08883, allocations: 19.92 kB / 402.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.08884, allocations: 3.938 kB / 402.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.08885, allocations: 4 kB / 402.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.08886, allocations: 0 / 402.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.08886, allocations: 0 / 402.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.08909, allocations: 170.4 kB / 403.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-05/0.08919, allocations: 112.9 kB / 403.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.08922, allocations: 4 kB / 403.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.301e-05/0.08929, allocations: 4 kB / 403.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.08934, allocations: 11.98 kB / 403.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.08936, allocations: 3.938 kB / 403.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.08957, allocations: 249.9 kB / 403.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08958, allocations: 0 / 403.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.08984, allocations: 35.91 kB / 403.5 MB, free: 9.973 MB / 302.1 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.0008358/0.09068, allocations: 427.7 kB / 403.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.0909, allocations: 71.91 kB / 404 MB, free: 9.473 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.09091, allocations: 0 / 404 MB, free: 9.473 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.458e-05/0.09099, allocations: 32.23 kB / 404 MB, free: 9.441 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.09138, allocations: 61.09 kB / 404.1 MB, free: 9.383 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005361/0.09192, allocations: 408.5 kB / 404.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.0922, allocations: 0.7439 MB / 405.2 MB, free: 8.188 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.077e-05/0.09228, allocations: 25.53 kB / 405.3 MB, free: 8.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.09233, allocations: 23.42 kB / 405.3 MB, free: 8.141 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.09234, allocations: 3.938 kB / 405.3 MB, free: 8.137 MB / 302.1 MB Notification: Performance of Templates: time 0.005422/0.09777, allocations: 2.654 MB / 407.9 MB, free: 5.477 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/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