Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001441, allocations: 179.5 kB / 17.4 MB, free: 4.418 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.523/1.523, allocations: 223.3 MB / 241.4 MB, free: 9.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007813/0.0007812, allocations: 103.9 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003749, allocations: 11.94 kB / 352.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.292, allocations: 50.41 MB / 402.8 MB, free: 32.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.4037, allocations: 76.55 MB / 479.3 MB, free: 3.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.4041, allocations: 75.95 kB / 479.4 MB, free: 3.676 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002945/0.407, allocations: 1.172 MB / 480.5 MB, free: 2.508 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.407, allocations: 0 / 480.5 MB, free: 2.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.4071, allocations: 0 / 480.5 MB, free: 2.508 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.0003625/0.4074, allocations: 355.3 kB / 480.9 MB, free: 2.109 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4075, allocations: 11.97 kB / 480.9 MB, free: 2.098 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.4075, allocations: 8.844 kB / 480.9 MB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.4077, allocations: 186.6 kB / 481.1 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.4078, allocations: 4.375 kB / 481.1 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.4078, allocations: 384 / 481.1 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.4081, allocations: 122.1 kB / 481.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.4081, allocations: 192 / 481.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.4081, allocations: 3.938 kB / 481.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.4081, allocations: 0 / 481.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.313e-05/0.4082, allocations: 27.92 kB / 481.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.4086, allocations: 273.8 kB / 481.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.4088, allocations: 146.2 kB / 481.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.926e-05/0.4089, allocations: 41.69 kB / 481.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.4089, allocations: 0 / 481.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.409, allocations: 30.56 kB / 481.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.409, allocations: 0 / 481.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002464/0.4092, allocations: 81.52 kB / 481.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.4093, allocations: 85.23 kB / 481.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.4094, allocations: 132.6 kB / 482 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.4094, allocations: 29.7 kB / 482.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.4095, allocations: 88.12 kB / 482.1 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.939e-06/0.4095, allocations: 4 kB / 482.1 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.4095, allocations: 0 / 482.1 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.4096, allocations: 310.8 kB / 482.4 MB, free: 352 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/0.4097, allocations: 19.98 kB / 482.5 MB, free: 332 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.466e-05/0.4097, allocations: 35.36 kB / 482.5 MB, free: 284 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.151e-05/0.4098, allocations: 51.42 kB / 482.6 MB, free: 220 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4098, allocations: 0 / 482.6 MB, free: 220 kB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001329/0.4099, allocations: 77.41 kB / 482.6 MB, free: 136 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.41, allocations: 4 kB / 482.6 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.391e-06/0.41, allocations: 7.938 kB / 482.6 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.41, allocations: 4.125 kB / 482.6 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.4101, allocations: 11.98 kB / 482.7 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4101, allocations: 0 / 482.7 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.311e-05/0.4101, allocations: 4 kB / 482.7 MB, free: 104 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.4101, allocations: 4 kB / 482.7 MB, free: 100 kB / 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 () * Number of clocked 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 0.0001/0.4102, allocations: 117.8 kB / 482.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.276e-05/0.4103, allocations: 53.53 kB / 482.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.4104, allocations: 12.25 kB / 482.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4104, allocations: 7.984 kB / 482.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4104, allocations: 3.938 kB / 482.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4104, allocations: 0 / 482.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.4106, allocations: 169.6 kB / 483 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4106, allocations: 0 / 483 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.4106, allocations: 8 kB / 483 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4107, allocations: 0 / 483 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.4107, allocations: 4 kB / 483 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.4107, allocations: 0 / 483 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.4107, allocations: 8 kB / 483 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.4109, allocations: 176.2 kB / 483.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.4109, allocations: 89 kB / 483.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.4109, allocations: 4 kB / 483.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.441e-05/0.411, allocations: 4 kB / 483.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.4111, allocations: 11.98 kB / 483.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.4111, allocations: 0 / 483.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.524e-05/0.4111, allocations: 102.6 kB / 483.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4111, allocations: 4 kB / 483.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.4114, allocations: 4 kB / 483.4 MB, free: 15.23 MB / 362.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 () * Number of clocked 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 0.0001025/0.4115, allocations: 95.25 kB / 483.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.4116, allocations: 40.34 kB / 483.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4116, allocations: 0 / 483.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.4117, allocations: 8 kB / 483.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.412, allocations: 35.97 kB / 483.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.4124, allocations: 165.7 kB / 483.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.4127, allocations: 0.6887 MB / 484.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.872e-05/0.4127, allocations: 7.984 kB / 484.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.4128, allocations: 7.438 kB / 484.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4128, allocations: 4 kB / 484.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of Templates: time 0.002523/0.4153, allocations: 436.2 kB / 484.9 MB, free: 13.7 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches