Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001257, allocations: 177.1 kB / 13.64 MB, free: 1.672 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 221.3 MB / 235.5 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008109/0.0008109, allocations: 99.84 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.101e-05/2.105e-05, allocations: 4 kB / 343.8 MB, free: 4.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09348/0.09352, allocations: 50.42 MB / 394.3 MB, free: 1.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2891/0.3827, allocations: 81.01 MB / 475.3 MB, free: 6.586 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.3829, allocations: 79.95 kB / 475.3 MB, free: 6.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01682/0.3998, allocations: 6.538 MB / 481.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3998, allocations: 0 / 481.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.3998, allocations: 7.984 kB / 481.9 MB, free: 15.96 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.0005005/0.4003, allocations: 472.4 kB / 482.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.4004, allocations: 8.031 kB / 482.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.4005, allocations: 23.75 kB / 482.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.4009, allocations: 261.6 kB / 482.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.4009, allocations: 4 kB / 482.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.4009, allocations: 4 kB / 482.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.4013, allocations: 150.7 kB / 482.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4013, allocations: 0 / 482.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.4013, allocations: 4 kB / 482.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.4013, allocations: 7.953 kB / 482.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.069e-05/0.4014, allocations: 27.94 kB / 482.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.402, allocations: 370.5 kB / 483.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.4022, allocations: 103.9 kB / 483.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.97e-05/0.4022, allocations: 46.62 kB / 483.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.4023, allocations: 11.95 kB / 483.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.4024, allocations: 75.39 kB / 483.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.985e-06/0.4024, allocations: 3.984 kB / 483.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002698/0.4027, allocations: 109.4 kB / 483.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.615e-05/0.4028, allocations: 140.5 kB / 483.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.4031, allocations: 241 kB / 483.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.4031, allocations: 33.64 kB / 483.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.4032, allocations: 112.1 kB / 484 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.4032, allocations: 19.8 kB / 484.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.4032, allocations: 0 / 484.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4034, allocations: 327.8 kB / 484.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.052e-05/0.4034, allocations: 23.94 kB / 484.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.376e-05/0.4035, allocations: 74 kB / 484.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.225e-05/0.4036, allocations: 27.92 kB / 484.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4036, allocations: 0 / 484.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001659/0.4037, allocations: 113.5 kB / 484.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.4038, allocations: 7.953 kB / 484.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4038, allocations: 0 / 484.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.4038, allocations: 4 kB / 484.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.4039, allocations: 11.94 kB / 484.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.4039, allocations: 4 kB / 484.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.404, allocations: 11.98 kB / 484.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.404, allocations: 4 kB / 484.7 MB, free: 12.88 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,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.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 7.443e-05/0.4041, allocations: 113.1 kB / 484.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-05/0.4041, allocations: 69.34 kB / 484.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.4043, allocations: 111.5 kB / 484.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.4043, allocations: 4 kB / 484.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4044, allocations: 7.922 kB / 485 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4044, allocations: 0 / 485 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.4045, allocations: 229.6 kB / 485.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4045, allocations: 0 / 485.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.255e-05/0.4046, allocations: 8 kB / 485.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4046, allocations: 4.062 kB / 485.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.4046, allocations: 0 / 485.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.4046, allocations: 8.078 kB / 485.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.4046, allocations: 7.984 kB / 485.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.4048, allocations: 182 kB / 485.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.813e-05/0.4049, allocations: 120.8 kB / 485.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.405, allocations: 4 kB / 485.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.497e-05/0.4051, allocations: 4 kB / 485.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.4051, allocations: 7.984 kB / 485.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.4051, allocations: 8 kB / 485.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001716/0.4053, allocations: 189.4 kB / 485.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4053, allocations: 0 / 485.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.4055, allocations: 32 kB / 485.7 MB, free: 11.67 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.0008474/0.4064, allocations: 394.6 kB / 486.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.4066, allocations: 63.92 kB / 486.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4066, allocations: 0 / 486.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.711e-05/0.4067, allocations: 27.94 kB / 486.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.407, allocations: 53.5 kB / 486.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.4074, allocations: 240.7 kB / 486.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.4076, allocations: 0.7322 MB / 487.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.919e-05/0.4077, allocations: 33.33 kB / 487.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.4078, allocations: 23.38 kB / 487.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4078, allocations: 0 / 487.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Templates: time 0.004843/0.4126, allocations: 2.311 MB / 489.6 MB, free: 7.867 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches