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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 145.2 kB / 24.89 MB, free: 9.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8842/0.8842, allocations: 173.3 MB / 201.5 MB, free: 9.215 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,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=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 268.5 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.875e-06/8.937e-06, allocations: 2.312 kB / 268.5 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.001625/0.001634, allocations: 1.549 MB / 270 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002417/0.001875, allocations: 139.4 kB / 270.1 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.593e-05/0.001921, allocations: 3.938 kB / 270.2 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.296e-05/0.001954, allocations: 7.922 kB / 270.2 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.033e-05/0.002035, allocations: 3.984 kB / 270.2 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.002165, allocations: 35.86 kB / 270.2 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.803e-05/0.002233, allocations: 35.84 kB / 270.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.002283, allocations: 11.92 kB / 270.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.697e-05/0.00232, allocations: 11.98 kB / 270.3 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.662e-05/0.002346, allocations: 11.94 kB / 270.3 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.002361, allocations: 4 kB / 270.3 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-06/0.002367, allocations: 0 / 270.3 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.11e-05/0.002398, allocations: 15.91 kB / 270.3 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.322e-05/0.002411, allocations: 8 kB / 270.3 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.163e-05/0.002473, allocations: 23.86 kB / 270.3 MB, free: 4.348 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.243e-06/0.002474, allocations: 0 / 270.3 MB, free: 4.348 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002474, allocations: 4 kB / 270.3 MB, free: 4.344 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.002477, allocations: 0 / 270.3 MB, free: 4.344 MB / 250.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.0002197/0.002697, allocations: 264.7 kB / 270.6 MB, free: 4.059 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.503e-05/0.002722, allocations: 8.922 kB / 270.6 MB, free: 4.051 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.002747, allocations: 8.938 kB / 270.6 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.002853, allocations: 133.6 kB / 270.7 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-06/0.002859, allocations: 384 / 270.7 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-06/0.002865, allocations: 4.312 kB / 270.7 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.002976, allocations: 102.3 kB / 270.8 MB, free: 3.762 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.259e-06/0.002981, allocations: 192 / 270.8 MB, free: 3.762 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-06/0.002986, allocations: 384 / 270.8 MB, free: 3.762 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.00299, allocations: 4.312 kB / 270.8 MB, free: 3.758 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.182e-05/0.003001, allocations: 7.938 kB / 270.8 MB, free: 3.75 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.00312, allocations: 145.2 kB / 271 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.899e-05/0.003159, allocations: 41.14 kB / 271 MB, free: 3.531 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.224e-05/0.003171, allocations: 9.719 kB / 271 MB, free: 3.516 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/0.00318, allocations: 0 / 271 MB, free: 3.516 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.003197, allocations: 42.62 kB / 271.1 MB, free: 3.465 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.003198, allocations: 0 / 271.1 MB, free: 3.465 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 7.082e-05/0.003269, allocations: 41.62 kB / 271.1 MB, free: 3.418 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.003303, allocations: 88.98 kB / 271.2 MB, free: 3.312 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.931e-05/0.003362, allocations: 134.1 kB / 271.3 MB, free: 3.172 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.003371, allocations: 29.7 kB / 271.4 MB, free: 3.137 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/0.003398, allocations: 88.12 kB / 271.5 MB, free: 3.047 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.719e-06/0.003403, allocations: 0 / 271.5 MB, free: 3.047 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.003421, allocations: 13.72 kB / 271.5 MB, free: 3.027 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.475e-05/0.003486, allocations: 319.1 kB / 271.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-06/0.00349, allocations: 0 / 271.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-06/0.003494, allocations: 4 kB / 271.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.246e-05/0.003507, allocations: 4.859 kB / 271.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.003508, allocations: 0 / 271.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.884e-05/0.003537, allocations: 37.64 kB / 271.8 MB, free: 2.652 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.615e-06/0.003544, allocations: 4 kB / 271.8 MB, free: 2.648 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.003547, allocations: 0 / 271.8 MB, free: 2.648 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.003554, allocations: 3.938 kB / 271.8 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.221e-05/0.003586, allocations: 12.02 kB / 271.8 MB, free: 2.633 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-06/0.003588, allocations: 4 kB / 271.8 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.678e-06/0.003598, allocations: 0 / 271.8 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-06/0.003601, allocations: 0 / 271.8 MB, free: 2.629 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.003646, allocations: 116.7 kB / 272 MB, free: 2.504 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.003672, allocations: 37.69 kB / 272 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.816e-05/0.00369, allocations: 11.81 kB / 272 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.003691, allocations: 0 / 272 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.003693, allocations: 3.938 kB / 272 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.003696, allocations: 0 / 272 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.301e-05/0.003769, allocations: 73.92 kB / 272.1 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.003769, allocations: 0 / 272.1 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.138e-05/0.003781, allocations: 4 kB / 272.1 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.32e-07/0.003781, allocations: 3.938 kB / 272.1 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-06/0.003785, allocations: 4 kB / 272.1 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.003785, allocations: 0 / 272.1 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.003786, allocations: 0 / 272.1 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.644e-05/0.003843, allocations: 144.3 kB / 272.2 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.003863, allocations: 19.86 kB / 272.3 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-06/0.00387, allocations: 4 kB / 272.3 MB, free: 2.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.51e-05/0.003895, allocations: 4.031 kB / 272.3 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.003909, allocations: 0 / 272.3 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.003911, allocations: 4 kB / 272.3 MB, free: 2.152 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.741e-05/0.003929, allocations: 20.78 kB / 272.3 MB, free: 2.129 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003929, allocations: 0 / 272.3 MB, free: 2.129 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001114/0.00404, allocations: 8 kB / 272.3 MB, free: 2.121 MB / 250.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 (step.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.448e-05/0.004095, allocations: 84.36 kB / 272.4 MB, free: 2.031 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.564e-05/0.00413, allocations: 16.83 kB / 272.4 MB, free: 2.012 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.004133, allocations: 4 kB / 272.4 MB, free: 2.008 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.983e-06/0.00414, allocations: 8.922 kB / 272.4 MB, free: 1.996 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.00427, allocations: 15.41 kB / 272.4 MB, free: 1.98 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001672/0.004437, allocations: 147.7 kB / 272.6 MB, free: 1.809 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.004e-05/0.004467, allocations: 59.3 kB / 272.6 MB, free: 1.73 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.004e-05/0.004477, allocations: 0 / 272.6 MB, free: 1.73 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.004516, allocations: 55.36 kB / 272.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of SimCode: time 4.71e-07/0.004516, allocations: 3.938 kB / 272.7 MB, free: 1.672 MB / 250.7 MB Notification: Performance of Templates: time 0.001525/0.006041, allocations: 0.4943 MB / 273.2 MB, free: 1.184 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3110573128797114]