Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.47/1.47, 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.001109/0.001109, allocations: 90.48 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003402, allocations: 11.94 kB / 351.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2725, allocations: 50.41 MB / 401.5 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09858/0.3711, allocations: 76.34 MB / 477.8 MB, free: 4.102 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.3714, allocations: 76.48 kB / 477.9 MB, free: 4.027 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002574/0.374, allocations: 1.103 MB / 479 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.374, allocations: 4 kB / 479 MB, free: 2.922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.3741, allocations: 4 kB / 479 MB, free: 2.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003251/0.3744, allocations: 347.2 kB / 479.4 MB, free: 2.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3744, allocations: 8.031 kB / 479.4 MB, free: 2.523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.3745, allocations: 13.48 kB / 479.4 MB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.3747, allocations: 186.6 kB / 479.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.3747, allocations: 7.938 kB / 479.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.3747, allocations: 3.938 kB / 479.6 MB, free: 2.281 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.3749, allocations: 93.11 kB / 479.7 MB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.375, allocations: 0 / 479.7 MB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.375, allocations: 0 / 479.7 MB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.375, allocations: 0 / 479.7 MB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.95e-05/0.3751, allocations: 27.88 kB / 479.7 MB, free: 2.145 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.3754, allocations: 261.8 kB / 480 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.876e-05/0.3754, allocations: 49.14 kB / 480 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.3755, allocations: 4 kB / 480 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.3755, allocations: 34.62 kB / 480 MB, free: 1.723 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3755, allocations: 0 / 480 MB, free: 1.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002021/0.3757, allocations: 73.69 kB / 480.1 MB, free: 1.645 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.3758, allocations: 85.14 kB / 480.2 MB, free: 1.543 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.3759, allocations: 118.8 kB / 480.3 MB, free: 1.418 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.3759, allocations: 25.7 kB / 480.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.3759, allocations: 88.14 kB / 480.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.655e-06/0.3759, allocations: 0 / 480.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.3759, allocations: 3.938 kB / 480.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.376, allocations: 314.8 kB / 480.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.951e-05/0.3761, allocations: 15.98 kB / 480.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.343e-05/0.3761, allocations: 21.66 kB / 480.8 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.457e-05/0.3762, allocations: 11.98 kB / 480.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3762, allocations: 0 / 480.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.769e-05/0.3763, allocations: 53.75 kB / 480.8 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3763, allocations: 4 kB / 480.8 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.3763, allocations: 7.938 kB / 480.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.3763, allocations: 0 / 480.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.679e-05/0.3764, allocations: 11.95 kB / 480.9 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.3764, allocations: 0 / 480.9 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.3764, allocations: 11.89 kB / 480.9 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.3765, allocations: 0 / 480.9 MB, free: 0.8281 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.43e-05/0.3765, allocations: 117.9 kB / 481 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.3766, allocations: 41.67 kB / 481 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.3766, allocations: 7.875 kB / 481 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3766, allocations: 0 / 481 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3766, allocations: 3.953 kB / 481 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3766, allocations: 4 kB / 481 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.3768, allocations: 169.6 kB / 481.2 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3768, allocations: 0 / 481.2 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.3769, allocations: 11.97 kB / 481.2 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3769, allocations: 0 / 481.2 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.3769, allocations: 7.938 kB / 481.2 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3769, allocations: 4 kB / 481.2 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3769, allocations: 0 / 481.2 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.377, allocations: 178 kB / 481.4 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.3771, allocations: 89 kB / 481.5 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.3771, allocations: 0 / 481.5 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.464e-05/0.3772, allocations: 7.938 kB / 481.5 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.3772, allocations: 11.95 kB / 481.5 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.3772, allocations: 0 / 481.5 MB, free: 80 kB / 346.7 MB Notification: Performance of sorting global known variables: time 7.063e-05/0.3773, allocations: 99.25 kB / 481.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3773, allocations: 0 / 481.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001904/0.3775, allocations: 8.031 kB / 481.6 MB, free: 15.97 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001011/0.3776, allocations: 103.2 kB / 481.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001001/0.3777, allocations: 19.98 kB / 481.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3777, allocations: 0 / 481.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.098e-05/0.3778, allocations: 8.125 kB / 481.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.378, allocations: 23 kB / 481.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002488/0.3782, allocations: 157.4 kB / 481.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.3785, allocations: 0.6848 MB / 482.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.968e-05/0.3785, allocations: 12.08 kB / 482.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.3785, allocations: 7.438 kB / 482.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3786, allocations: 0 / 482.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Templates: time 0.001951/0.3805, allocations: 387.3 kB / 483 MB, free: 14.54 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches