Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009428/0.0009428, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.53/1.53, allocations: 221.3 MB / 235.5 MB, free: 2.867 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.0008356/0.0008357, allocations: 94.78 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.922e-05/1.924e-05, allocations: 4 kB / 343.8 MB, free: 4.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08806/0.08809, allocations: 50.42 MB / 394.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3085/0.3967, allocations: 76.43 MB / 470.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.3969, allocations: 75.95 kB / 470.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002484/0.3994, allocations: 1.101 MB / 471.9 MB, free: 9.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3994, allocations: 4 kB / 471.9 MB, free: 9.926 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.768e-05/0.3995, allocations: 7.875 kB / 471.9 MB, free: 9.918 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002633/0.3997, allocations: 343.1 kB / 472.2 MB, free: 9.539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3998, allocations: 8.031 kB / 472.2 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.3998, allocations: 11.86 kB / 472.2 MB, free: 9.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.4, allocations: 179.5 kB / 472.4 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.4, allocations: 4 kB / 472.4 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.4, allocations: 4 kB / 472.4 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.4002, allocations: 113 kB / 472.5 MB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.4003, allocations: 3.938 kB / 472.5 MB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.4003, allocations: 0 / 472.5 MB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.4003, allocations: 0 / 472.5 MB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.343e-05/0.4003, allocations: 23.88 kB / 472.5 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.4006, allocations: 256 kB / 472.8 MB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.4008, allocations: 138.2 kB / 472.9 MB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/0.4008, allocations: 21.78 kB / 473 MB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.4008, allocations: 4 kB / 473 MB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.4009, allocations: 30.56 kB / 473 MB, free: 8.598 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.4009, allocations: 3.938 kB / 473 MB, free: 8.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001425/0.401, allocations: 57.73 kB / 473 MB, free: 8.531 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.4011, allocations: 81.11 kB / 473.1 MB, free: 8.434 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.4012, allocations: 122.7 kB / 473.2 MB, free: 8.309 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.4012, allocations: 29.7 kB / 473.3 MB, free: 8.273 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.4013, allocations: 92.11 kB / 473.4 MB, free: 8.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.294e-06/0.4013, allocations: 0 / 473.4 MB, free: 8.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.4013, allocations: 0 / 473.4 MB, free: 8.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4014, allocations: 318.8 kB / 473.7 MB, free: 7.859 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.4014, allocations: 0 / 473.7 MB, free: 7.859 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.359e-05/0.4014, allocations: 35.45 kB / 473.7 MB, free: 7.812 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.083e-05/0.4015, allocations: 13.16 kB / 473.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4015, allocations: 0 / 473.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.596e-05/0.4016, allocations: 57.53 kB / 473.8 MB, free: 7.738 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.4016, allocations: 4.938 kB / 473.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4016, allocations: 4 kB / 473.8 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.4016, allocations: 3.938 kB / 473.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.166e-05/0.4016, allocations: 3.953 kB / 473.8 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.4016, allocations: 8.125 kB / 473.8 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.4017, allocations: 4 kB / 473.8 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.4017, allocations: 4 kB / 473.8 MB, free: 7.707 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.628e-05/0.4018, allocations: 102.5 kB / 473.9 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/0.4018, allocations: 45.69 kB / 474 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.4019, allocations: 15.97 kB / 474 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4019, allocations: 3.938 kB / 474 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4019, allocations: 3.953 kB / 474 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4019, allocations: 7.984 kB / 474 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.402, allocations: 165.7 kB / 474.2 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4021, allocations: 0 / 474.2 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.048e-05/0.4021, allocations: 4.859 kB / 474.2 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4021, allocations: 0 / 474.2 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.4021, allocations: 8 kB / 474.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4021, allocations: 0 / 474.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4021, allocations: 0 / 474.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.4022, allocations: 170 kB / 474.3 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.4023, allocations: 89 kB / 474.4 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.4023, allocations: 11.94 kB / 474.4 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.426e-05/0.4024, allocations: 7.938 kB / 474.4 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.4024, allocations: 3.953 kB / 474.4 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.4024, allocations: 4 kB / 474.4 MB, free: 6.973 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.993e-05/0.4025, allocations: 101.5 kB / 474.5 MB, free: 6.875 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4025, allocations: 0 / 474.5 MB, free: 6.875 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001933/0.4027, allocations: 12 kB / 474.6 MB, free: 6.863 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 8.419e-05/0.4028, allocations: 95.25 kB / 474.6 MB, free: 6.758 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.949e-05/0.4028, allocations: 23.92 kB / 474.7 MB, free: 6.734 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4028, allocations: 0 / 474.7 MB, free: 6.734 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.198e-05/0.4029, allocations: 4 kB / 474.7 MB, free: 6.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.4031, allocations: 12.03 kB / 474.7 MB, free: 6.719 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002097/0.4033, allocations: 102.1 kB / 474.8 MB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.4035, allocations: 0.6926 MB / 475.5 MB, free: 5.871 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.368e-05/0.4036, allocations: 11.92 kB / 475.5 MB, free: 5.859 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.4036, allocations: 11.44 kB / 475.5 MB, free: 5.852 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4036, allocations: 0 / 475.5 MB, free: 5.852 MB / 346.7 MB Notification: Performance of Templates: time 0.002128/0.4057, allocations: 440 kB / 475.9 MB, free: 5.43 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches