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.001162/0.001162, allocations: 180.9 kB / 8.049 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.3 MB / 213.8 MB, free: 1.75 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008764/0.0008764, allocations: 86.62 kB / 261.8 MB, free: 1.691 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.07526/0.07526, allocations: 12.61 MB / 322.4 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.566e-05/1.57e-05, allocations: 0 / 378.9 MB, free: 6.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2365, allocations: 50.38 MB / 429.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1044/0.341, allocations: 81.1 MB / 0.4984 GB, free: 1.129 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.3413, allocations: 83.95 kB / 0.4985 GB, free: 1.047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01662/0.358, allocations: 6.266 MB / 0.5046 GB, free: 10.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.358, allocations: 3.938 kB / 0.5047 GB, free: 10.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.611e-05/0.358, allocations: 4 kB / 0.5047 GB, free: 10.77 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.0005525/0.3586, allocations: 475.7 kB / 0.5051 GB, free: 10.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3587, allocations: 8.031 kB / 0.5051 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.3587, allocations: 27.66 kB / 0.5051 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.3591, allocations: 257.7 kB / 0.5054 GB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.3591, allocations: 7.953 kB / 0.5054 GB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.3592, allocations: 4 kB / 0.5054 GB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001042/0.3593, allocations: 35.98 kB / 0.5054 GB, free: 9.883 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.3595, allocations: 130.8 kB / 0.5056 GB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3595, allocations: 3.938 kB / 0.5056 GB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3596, allocations: 0 / 0.5056 GB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3596, allocations: 4 kB / 0.5056 GB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.3601, allocations: 335.1 kB / 0.5059 GB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.3602, allocations: 104.2 kB / 0.506 GB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/0.3603, allocations: 42.7 kB / 0.506 GB, free: 9.172 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.3603, allocations: 0 / 0.506 GB, free: 9.172 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.3605, allocations: 79.23 kB / 0.5061 GB, free: 9.082 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.3605, allocations: 0 / 0.5061 GB, free: 9.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002457/0.3607, allocations: 109.5 kB / 0.5062 GB, free: 8.969 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.3608, allocations: 140.5 kB / 0.5063 GB, free: 8.801 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.361, allocations: 224.5 kB / 0.5066 GB, free: 8.578 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3611, allocations: 25.7 kB / 0.5066 GB, free: 8.547 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/0.3612, allocations: 120 kB / 0.5067 GB, free: 8.426 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.3612, allocations: 19.83 kB / 0.5067 GB, free: 8.406 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-06/0.3612, allocations: 3.938 kB / 0.5067 GB, free: 8.402 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3614, allocations: 326.8 kB / 0.507 GB, free: 8.074 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.457e-05/0.3614, allocations: 20 kB / 0.507 GB, free: 8.055 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-05/0.3615, allocations: 62 kB / 0.5071 GB, free: 7.973 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.779e-05/0.3615, allocations: 31.88 kB / 0.5071 GB, free: 7.941 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3615, allocations: 4.031 kB / 0.5071 GB, free: 7.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001516/0.3617, allocations: 105.4 kB / 0.5072 GB, free: 7.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3617, allocations: 4 kB / 0.5072 GB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3617, allocations: 4 kB / 0.5072 GB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3618, allocations: 0 / 0.5072 GB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-05/0.3618, allocations: 12 kB / 0.5073 GB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.3619, allocations: 7.875 kB / 0.5073 GB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.809e-05/0.3619, allocations: 11.89 kB / 0.5073 GB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.3619, allocations: 4.125 kB / 0.5073 GB, free: 7.785 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 () * 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.0001105/0.3621, allocations: 112.9 kB / 0.5074 GB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/0.3621, allocations: 65.44 kB / 0.5075 GB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.3623, allocations: 103.6 kB / 0.5076 GB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3624, allocations: 4 kB / 0.5076 GB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3624, allocations: 0 / 0.5076 GB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3624, allocations: 0 / 0.5076 GB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.3625, allocations: 202.1 kB / 0.5077 GB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3625, allocations: 8.062 kB / 0.5078 GB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.3626, allocations: 7.984 kB / 0.5078 GB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3626, allocations: 3.953 kB / 0.5078 GB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3626, allocations: 4 kB / 0.5078 GB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3626, allocations: 3.938 kB / 0.5078 GB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3626, allocations: 0 / 0.5078 GB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.3628, allocations: 181.9 kB / 0.5079 GB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.659e-05/0.3629, allocations: 116.8 kB / 0.5081 GB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.3629, allocations: 128 / 0.5081 GB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-05/0.363, allocations: 11.98 kB / 0.5081 GB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.3631, allocations: 7.938 kB / 0.5081 GB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.3631, allocations: 4 kB / 0.5081 GB, free: 6.852 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000154/0.3632, allocations: 184.5 kB / 0.5083 GB, free: 6.668 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3632, allocations: 4 kB / 0.5083 GB, free: 6.664 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.3635, allocations: 31.98 kB / 0.5083 GB, free: 6.633 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) * 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.0007459/0.3642, allocations: 347.3 kB / 0.5086 GB, free: 6.293 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.3644, allocations: 63.92 kB / 0.5087 GB, free: 6.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3644, allocations: 256 / 0.5087 GB, free: 6.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.271e-05/0.3645, allocations: 31.94 kB / 0.5087 GB, free: 6.199 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.3648, allocations: 55.88 kB / 0.5088 GB, free: 6.148 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.3652, allocations: 224.2 kB / 0.509 GB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.3655, allocations: 0.7437 MB / 0.5097 GB, free: 5.129 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.299e-05/0.3656, allocations: 25.33 kB / 0.5097 GB, free: 5.105 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.3657, allocations: 15.44 kB / 0.5097 GB, free: 5.09 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3657, allocations: 4 kB / 0.5098 GB, free: 5.086 MB / 362.7 MB Notification: Performance of Templates: time 0.00504/0.3707, allocations: 2.195 MB / 0.5119 GB, free: 2.898 MB / 362.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/jenkins/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