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.001781/0.001781, allocations: 180.5 kB / 15.8 MB, free: 6.34 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.668/1.668, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008601/0.0008602, allocations: 94.86 kB / 270.3 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06992/0.06992, allocations: 12.59 MB / 331.1 MB, free: 10.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.0003928, allocations: 9.875 kB / 392 MB, free: 54.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1035, allocations: 50.37 MB / 442.4 MB, free: 10.99 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1101/0.2137, allocations: 81.88 MB / 0.512 GB, free: 9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.214, allocations: 79.95 kB / 0.512 GB, free: 8.922 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01729/0.2313, allocations: 6.479 MB / 0.5184 GB, free: 2.434 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2313, allocations: 0 / 0.5184 GB, free: 2.434 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.419e-05/0.2313, allocations: 7.984 kB / 0.5184 GB, free: 2.426 MB / 362.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.000717/0.2321, allocations: 0.5349 MB / 0.5189 GB, free: 1.836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2321, allocations: 12.03 kB / 0.5189 GB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.844e-05/0.2322, allocations: 19.72 kB / 0.5189 GB, free: 1.805 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.2326, allocations: 282.5 kB / 0.5192 GB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.2326, allocations: 11.95 kB / 0.5192 GB, free: 1.473 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.2327, allocations: 4 kB / 0.5192 GB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.233, allocations: 163.6 kB / 0.5194 GB, free: 1.281 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.233, allocations: 3.938 kB / 0.5194 GB, free: 1.277 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.2331, allocations: 4 kB / 0.5194 GB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2331, allocations: 0 / 0.5194 GB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.2332, allocations: 39.91 kB / 0.5194 GB, free: 1.234 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.2337, allocations: 410.3 kB / 0.5198 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.234, allocations: 123.9 kB / 0.5199 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.234, allocations: 3.984 kB / 0.5199 GB, free: 0.625 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.2342, allocations: 79.42 kB / 0.52 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.2342, allocations: 3.938 kB / 0.52 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003603/0.2345, allocations: 157.6 kB / 0.5201 GB, free: 380 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/0.2346, allocations: 166.2 kB / 0.5203 GB, free: 176 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.173/0.4076, allocations: 295 kB / 0.5206 GB, free: 84.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/0.4077, allocations: 26.73 kB / 0.5206 GB, free: 84.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.317e-05/0.4078, allocations: 123.6 kB / 0.5207 GB, free: 83.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.4079, allocations: 15.77 kB / 0.5207 GB, free: 83.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.4079, allocations: 2.719 kB / 0.5207 GB, free: 83.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.095e-05/0.4079, allocations: 336.3 kB / 0.5211 GB, free: 83.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.286e-05/0.408, allocations: 27.8 kB / 0.5211 GB, free: 83.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.4082, allocations: 91.27 kB / 0.5212 GB, free: 83.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.915e-05/0.4083, allocations: 34.72 kB / 0.5212 GB, free: 83.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4083, allocations: 1.156 kB / 0.5212 GB, free: 83.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002348/0.4085, allocations: 129.4 kB / 0.5213 GB, free: 83.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.4085, allocations: 7.281 kB / 0.5213 GB, free: 83.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4086, allocations: 0 / 0.5213 GB, free: 83.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4086, allocations: 0.9375 kB / 0.5213 GB, free: 83.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.4087, allocations: 20.95 kB / 0.5214 GB, free: 83.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.4087, allocations: 7.719 kB / 0.5214 GB, free: 83.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.954e-05/0.4088, allocations: 8.016 kB / 0.5214 GB, free: 83.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.4088, allocations: 4.859 kB / 0.5214 GB, free: 83.57 MB / 362.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,sample.u,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.409, allocations: 160.1 kB / 0.5215 GB, free: 83.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.034e-05/0.4091, allocations: 71.62 kB / 0.5216 GB, free: 83.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.4093, allocations: 129.3 kB / 0.5217 GB, free: 83.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4093, allocations: 2.344 kB / 0.5217 GB, free: 83.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4094, allocations: 0 / 0.5217 GB, free: 83.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.4094, allocations: 1.125 kB / 0.5217 GB, free: 83.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.4096, allocations: 254.2 kB / 0.522 GB, free: 83.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4096, allocations: 0 / 0.522 GB, free: 83.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/0.4096, allocations: 11.78 kB / 0.522 GB, free: 83.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4097, allocations: 0.7969 kB / 0.522 GB, free: 83.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.4097, allocations: 8.375 kB / 0.522 GB, free: 83.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4097, allocations: 0.8438 kB / 0.522 GB, free: 83.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4097, allocations: 4.938 kB / 0.522 GB, free: 83.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.4099, allocations: 199 kB / 0.5222 GB, free: 83.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.4101, allocations: 126.4 kB / 0.5223 GB, free: 82.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.4101, allocations: 7.516 kB / 0.5223 GB, free: 82.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.4102, allocations: 5 kB / 0.5223 GB, free: 82.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.4102, allocations: 12.45 kB / 0.5223 GB, free: 82.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.4103, allocations: 5.781 kB / 0.5223 GB, free: 82.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002235/0.4105, allocations: 242.2 kB / 0.5226 GB, free: 82.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4105, allocations: 0 / 0.5226 GB, free: 82.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.4108, allocations: 56.45 kB / 0.5226 GB, free: 82.88 MB / 362.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,sample.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009229/0.4117, allocations: 431.1 kB / 0.523 GB, free: 82.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003074/0.412, allocations: 93.48 kB / 0.5231 GB, free: 82.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4121, allocations: 4.062 kB / 0.5231 GB, free: 82.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.052e-05/0.4122, allocations: 31.31 kB / 0.5232 GB, free: 82.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.4125, allocations: 60.33 kB / 0.5232 GB, free: 82.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.4131, allocations: 408.6 kB / 0.5236 GB, free: 82.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.4133, allocations: 0.7467 MB / 0.5243 GB, free: 81.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.119e-05/0.4134, allocations: 33.5 kB / 0.5244 GB, free: 81.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.4135, allocations: 20.12 kB / 0.5244 GB, free: 81.64 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4135, allocations: 0 / 0.5244 GB, free: 81.64 MB / 362.7 MB Notification: Performance of Templates: time 0.006608/0.4201, allocations: 2.748 MB / 0.5271 GB, free: 81.39 MB / 362.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/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