Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 176.4 kB / 17.4 MB, free: 4.297 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.648/1.648, allocations: 223.3 MB / 241.4 MB, free: 11.68 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.0009841/0.000984, allocations: 97.58 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003752, allocations: 11.94 kB / 352.3 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2883, allocations: 50.4 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.3895, allocations: 81.16 MB / 483.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.3899, allocations: 83.95 kB / 484 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01858/0.4084, allocations: 6.699 MB / 490.7 MB, free: 8.402 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.4085, allocations: 4 kB / 490.7 MB, free: 8.398 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.279e-05/0.4085, allocations: 4 kB / 490.7 MB, free: 8.395 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.001005/0.4096, allocations: 0.5312 MB / 491.2 MB, free: 7.805 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.4096, allocations: 12.03 kB / 491.2 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.382e-05/0.4097, allocations: 16.75 kB / 491.3 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000577/0.4103, allocations: 303.5 kB / 491.5 MB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.4103, allocations: 12.34 kB / 491.6 MB, free: 7.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.4104, allocations: 8.375 kB / 491.6 MB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.4108, allocations: 160.1 kB / 491.7 MB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.4108, allocations: 192 / 491.7 MB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.4108, allocations: 3.938 kB / 491.7 MB, free: 7.234 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.4109, allocations: 4 kB / 491.7 MB, free: 7.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.411, allocations: 39.92 kB / 491.8 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007197/0.4117, allocations: 410.3 kB / 492.2 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.412, allocations: 115.9 kB / 492.3 MB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.4121, allocations: 54.55 kB / 492.3 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.4121, allocations: 80 / 492.3 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.4123, allocations: 87.36 kB / 492.4 MB, free: 6.434 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.904e-06/0.4123, allocations: 0 / 492.4 MB, free: 6.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004189/0.4128, allocations: 149.2 kB / 492.6 MB, free: 6.281 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.713e-05/0.4129, allocations: 170.1 kB / 492.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004049/0.4133, allocations: 322.7 kB / 493.1 MB, free: 5.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.4133, allocations: 29.95 kB / 493.1 MB, free: 5.715 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.091e-05/0.4134, allocations: 136 kB / 493.2 MB, free: 5.578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.4134, allocations: 15.81 kB / 493.2 MB, free: 5.562 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.4135, allocations: 0 / 493.2 MB, free: 5.562 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.4136, allocations: 334.8 kB / 493.6 MB, free: 5.227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-05/0.4137, allocations: 23.98 kB / 493.6 MB, free: 5.203 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.4138, allocations: 98.78 kB / 493.7 MB, free: 5.082 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.414, allocations: 84.22 kB / 493.8 MB, free: 4.984 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.414, allocations: 3.938 kB / 493.8 MB, free: 4.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002416/0.4142, allocations: 125.4 kB / 493.9 MB, free: 4.852 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.4143, allocations: 4 kB / 493.9 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4143, allocations: 0 / 493.9 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4143, allocations: 4 kB / 493.9 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.4144, allocations: 27.92 kB / 493.9 MB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4144, allocations: 0 / 493.9 MB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.763e-05/0.4145, allocations: 7.906 kB / 493.9 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.4145, allocations: 4 kB / 493.9 MB, free: 4.805 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,subSample1.y,subSample1.u,sample1.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 0.000154/0.4147, allocations: 161.9 kB / 494.1 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.4148, allocations: 65.39 kB / 494.2 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.4151, allocations: 127.5 kB / 494.3 MB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4151, allocations: 4 kB / 494.3 MB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4151, allocations: 0 / 494.3 MB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.4151, allocations: 4 kB / 494.3 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.4153, allocations: 257.4 kB / 494.5 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4153, allocations: 4 kB / 494.5 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-05/0.4154, allocations: 12.06 kB / 494.6 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.4154, allocations: 4 kB / 494.6 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.4155, allocations: 7.984 kB / 494.6 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4155, allocations: 0 / 494.6 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4155, allocations: 4 kB / 494.6 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.4157, allocations: 170.4 kB / 494.7 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.4159, allocations: 120.9 kB / 494.9 MB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.4159, allocations: 4 kB / 494.9 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.551e-05/0.416, allocations: 7.984 kB / 494.9 MB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.4161, allocations: 8 kB / 494.9 MB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.4161, allocations: 8.031 kB / 494.9 MB, free: 3.738 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002446/0.4163, allocations: 233.9 kB / 495.1 MB, free: 3.508 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4163, allocations: 3.938 kB / 495.1 MB, free: 3.504 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003151/0.4167, allocations: 55.92 kB / 495.2 MB, free: 3.449 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,subSample1.y,sample1.y,subSample1.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.001037/0.4177, allocations: 446.3 kB / 495.6 MB, free: 3.168 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.418, allocations: 83.88 kB / 495.7 MB, free: 3.086 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.418, allocations: 0 / 495.7 MB, free: 3.086 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.949e-05/0.4181, allocations: 39.91 kB / 495.7 MB, free: 3.047 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.4185, allocations: 63.64 kB / 495.8 MB, free: 2.988 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006648/0.4192, allocations: 416.1 kB / 496.2 MB, free: 2.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.4195, allocations: 0.7477 MB / 496.9 MB, free: 1.777 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.4196, allocations: 29.69 kB / 497 MB, free: 1.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.4197, allocations: 27.42 kB / 497 MB, free: 1.727 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4197, allocations: 0 / 497 MB, free: 1.727 MB / 362.7 MB Notification: Performance of Templates: time 0.006432/0.4261, allocations: 2.763 MB / 499.8 MB, free: 14.99 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches