Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00181/0.00181, allocations: 172.1 kB / 16.8 MB, free: 5 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.607/1.607, allocations: 205.4 MB / 223 MB, free: 9.008 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.0007606/0.0007605, allocations: 89.03 kB / 271.3 MB, free: 8.246 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.08005/0.08005, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004318, allocations: 16 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09049/0.09093, allocations: 50.37 MB / 443.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3026/0.3936, allocations: 81.91 MB / 0.5132 GB, free: 12.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.3939, allocations: 82.92 kB / 0.5133 GB, free: 12.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01466/0.4086, allocations: 6.336 MB / 0.5195 GB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4086, allocations: 4 kB / 0.5195 GB, free: 8.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.4087, allocations: 4 kB / 0.5195 GB, free: 8.656 MB / 330.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.0005382/0.4092, allocations: 0.4934 MB / 0.52 GB, free: 8.121 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4093, allocations: 12.03 kB / 0.52 GB, free: 8.109 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.4093, allocations: 16.75 kB / 0.52 GB, free: 8.094 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.4096, allocations: 274.9 kB / 0.5202 GB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.4097, allocations: 8.312 kB / 0.5202 GB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.4097, allocations: 11.94 kB / 0.5203 GB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.41, allocations: 142.7 kB / 0.5204 GB, free: 7.656 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.41, allocations: 4.125 kB / 0.5204 GB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.41, allocations: 11.81 kB / 0.5204 GB, free: 7.645 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.41, allocations: 0 / 0.5204 GB, free: 7.645 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.092e-05/0.4101, allocations: 38.3 kB / 0.5204 GB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.4105, allocations: 367.2 kB / 0.5208 GB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.4107, allocations: 114.9 kB / 0.5209 GB, free: 7.125 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.793e-05/0.4108, allocations: 44.5 kB / 0.5209 GB, free: 7.082 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.4108, allocations: 4 kB / 0.521 GB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/0.4109, allocations: 78.31 kB / 0.521 GB, free: 7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.411, allocations: 0 / 0.521 GB, free: 7 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002912/0.4113, allocations: 151.6 kB / 0.5212 GB, free: 6.875 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.4113, allocations: 132.5 kB / 0.5213 GB, free: 6.715 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.4115, allocations: 260.3 kB / 0.5215 GB, free: 6.496 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.4116, allocations: 32.89 kB / 0.5216 GB, free: 6.461 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.4116, allocations: 117.5 kB / 0.5217 GB, free: 6.363 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.4116, allocations: 18.5 kB / 0.5217 GB, free: 6.348 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-06/0.4116, allocations: 3.312 kB / 0.5217 GB, free: 6.348 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.219e-05/0.4117, allocations: 329.1 kB / 0.522 GB, free: 6.023 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/0.4118, allocations: 21.86 kB / 0.522 GB, free: 6.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.638e-05/0.4118, allocations: 81.61 kB / 0.5221 GB, free: 5.918 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.4119, allocations: 73.53 kB / 0.5222 GB, free: 5.848 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.412, allocations: 0 / 0.5222 GB, free: 5.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001677/0.4121, allocations: 120.3 kB / 0.5223 GB, free: 5.746 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4121, allocations: 4 kB / 0.5223 GB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.4122, allocations: 0 / 0.5223 GB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4122, allocations: 4 kB / 0.5223 GB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.929e-05/0.4122, allocations: 11.94 kB / 0.5223 GB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.4123, allocations: 4 kB / 0.5223 GB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.337e-05/0.4123, allocations: 11.89 kB / 0.5223 GB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.4123, allocations: 7 kB / 0.5223 GB, free: 5.707 MB / 330.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 9.345e-05/0.4124, allocations: 155.2 kB / 0.5225 GB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.4125, allocations: 65.31 kB / 0.5226 GB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.4127, allocations: 113.1 kB / 0.5227 GB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4127, allocations: 4 kB / 0.5227 GB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4127, allocations: 3.984 kB / 0.5227 GB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4128, allocations: 0 / 0.5227 GB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.4129, allocations: 234.9 kB / 0.5229 GB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4129, allocations: 64 / 0.5229 GB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.008e-05/0.4129, allocations: 12 kB / 0.5229 GB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4129, allocations: 3.938 kB / 0.5229 GB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.413, allocations: 0 / 0.5229 GB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.413, allocations: 4.312 kB / 0.5229 GB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.413, allocations: 3.984 kB / 0.5229 GB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.4132, allocations: 163.5 kB / 0.5231 GB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.4132, allocations: 111.8 kB / 0.5232 GB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.4133, allocations: 11.25 kB / 0.5232 GB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.054e-05/0.4133, allocations: 7.984 kB / 0.5232 GB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.4134, allocations: 7.812 kB / 0.5232 GB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.4134, allocations: 4 kB / 0.5232 GB, free: 4.809 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.4136, allocations: 191.5 kB / 0.5234 GB, free: 4.652 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.282e-06/0.4136, allocations: 0 / 0.5234 GB, free: 4.652 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002762/0.4138, allocations: 47.48 kB / 0.5234 GB, free: 4.609 MB / 330.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.000823/0.4147, allocations: 430.3 kB / 0.5239 GB, free: 4.195 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.4149, allocations: 70.16 kB / 0.5239 GB, free: 4.141 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4149, allocations: 0 / 0.5239 GB, free: 4.141 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-05/0.415, allocations: 38.03 kB / 0.524 GB, free: 4.113 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.4153, allocations: 63.23 kB / 0.524 GB, free: 4.062 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.4158, allocations: 344.1 kB / 0.5243 GB, free: 3.719 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.4159, allocations: 0.7315 MB / 0.5251 GB, free: 2.965 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.659e-05/0.416, allocations: 21.42 kB / 0.5251 GB, free: 2.945 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.416, allocations: 23.42 kB / 0.5251 GB, free: 2.922 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.416, allocations: 0 / 0.5251 GB, free: 2.922 MB / 330.7 MB Notification: Performance of Templates: time 0.004606/0.4206, allocations: 2.349 MB / 0.5274 GB, free: 0.5938 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches