Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009922/0.0009924, allocations: 180.4 kB / 16.38 MB, free: 5.762 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.349/1.349, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.001059/0.001059, allocations: 98.47 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003199, allocations: 11.94 kB / 351.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2901, allocations: 50.4 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1094/0.3996, allocations: 81.11 MB / 482.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004293/0.4001, allocations: 79.95 kB / 482.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01904/0.4192, allocations: 6.702 MB / 489.4 MB, free: 8.562 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.726e-06/0.4192, allocations: 0 / 489.4 MB, free: 8.562 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.234e-05/0.4193, allocations: 4 kB / 489.4 MB, free: 8.559 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.0008725/0.4202, allocations: 0.5354 MB / 489.9 MB, free: 7.969 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.4202, allocations: 12.03 kB / 489.9 MB, free: 7.957 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.571e-05/0.4203, allocations: 15.81 kB / 489.9 MB, free: 7.941 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.4209, allocations: 290.5 kB / 490.2 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.4209, allocations: 11.98 kB / 490.2 MB, free: 7.605 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.4209, allocations: 4 kB / 490.2 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.4213, allocations: 163.5 kB / 490.4 MB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4214, allocations: 0 / 490.4 MB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.4214, allocations: 7.953 kB / 490.4 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4214, allocations: 3.984 kB / 490.4 MB, free: 7.402 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.4215, allocations: 35.98 kB / 490.5 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006747/0.4222, allocations: 402.3 kB / 490.8 MB, free: 6.918 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.4225, allocations: 119.9 kB / 491 MB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.4225, allocations: 3.953 kB / 491 MB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.4227, allocations: 87.44 kB / 491.1 MB, free: 6.672 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.4227, allocations: 0 / 491.1 MB, free: 6.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003927/0.4231, allocations: 153.3 kB / 491.2 MB, free: 6.516 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.702e-05/0.4232, allocations: 162.2 kB / 491.4 MB, free: 6.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.4236, allocations: 301.8 kB / 491.7 MB, free: 6.016 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.4236, allocations: 29.7 kB / 491.7 MB, free: 5.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.4237, allocations: 124.3 kB / 491.8 MB, free: 5.855 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.4237, allocations: 23.95 kB / 491.8 MB, free: 5.832 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.4237, allocations: 0 / 491.8 MB, free: 5.832 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4239, allocations: 330.8 kB / 492.2 MB, free: 5.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-05/0.424, allocations: 27.92 kB / 492.2 MB, free: 5.473 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.4241, allocations: 90.84 kB / 492.3 MB, free: 5.359 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.994e-05/0.4242, allocations: 35.98 kB / 492.3 MB, free: 5.324 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.4242, allocations: 0 / 492.3 MB, free: 5.324 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002218/0.4244, allocations: 129.6 kB / 492.4 MB, free: 5.191 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4244, allocations: 7.953 kB / 492.4 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4244, allocations: 8.062 kB / 492.4 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4245, allocations: 4 kB / 492.4 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.4246, allocations: 20 kB / 492.5 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.4246, allocations: 7.922 kB / 492.5 MB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.882e-05/0.4247, allocations: 12 kB / 492.5 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.4247, allocations: 4 kB / 492.5 MB, free: 5.129 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 () * 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.0001921/0.4249, allocations: 145.8 kB / 492.6 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-05/0.425, allocations: 73.34 kB / 492.7 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002947/0.4253, allocations: 131.2 kB / 492.8 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4253, allocations: 4 kB / 492.8 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4253, allocations: 0 / 492.8 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4254, allocations: 0 / 492.8 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.4256, allocations: 245.6 kB / 493.1 MB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4256, allocations: 3.984 kB / 493.1 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.308e-05/0.4257, allocations: 15.94 kB / 493.1 MB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.4257, allocations: 0 / 493.1 MB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.4257, allocations: 4 kB / 493.1 MB, free: 4.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.4257, allocations: 7.953 kB / 493.1 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4257, allocations: 3.984 kB / 493.1 MB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.426, allocations: 197.9 kB / 493.3 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.4262, allocations: 124.8 kB / 493.4 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.4262, allocations: 8 kB / 493.4 MB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.4263, allocations: 4 kB / 493.4 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.4264, allocations: 7.984 kB / 493.4 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.4264, allocations: 4 kB / 493.5 MB, free: 4.039 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000237/0.4266, allocations: 245.9 kB / 493.7 MB, free: 3.797 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4266, allocations: 0 / 493.7 MB, free: 3.797 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003063/0.4269, allocations: 47.92 kB / 493.7 MB, free: 3.75 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) * 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.001018/0.428, allocations: 445.2 kB / 494.2 MB, free: 3.477 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.4283, allocations: 95.81 kB / 494.3 MB, free: 3.383 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4283, allocations: 0 / 494.3 MB, free: 3.383 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.082e-05/0.4284, allocations: 31.98 kB / 494.3 MB, free: 3.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.4287, allocations: 67.17 kB / 494.4 MB, free: 3.289 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007095/0.4295, allocations: 408.8 kB / 494.8 MB, free: 2.855 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.4298, allocations: 0.7439 MB / 495.5 MB, free: 2.086 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.471e-05/0.4299, allocations: 33.53 kB / 495.5 MB, free: 2.055 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.43, allocations: 31.36 kB / 495.6 MB, free: 2.027 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.43, allocations: 0 / 495.6 MB, free: 2.027 MB / 362.7 MB Notification: Performance of Templates: time 0.006096/0.4361, allocations: 2.718 MB / 498.3 MB, free: 15.34 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches