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/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.0008134/0.0008134, allocations: 80.72 kB / 22.21 MB, free: 2.289 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.0009132/0.0009132, allocations: 143.7 kB / 25.59 MB, free: 8.605 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 1.03/1.03, allocations: 173.4 MB / 202.3 MB, free: 8.273 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,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=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.569e-05, allocations: 2.312 kB / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003309/0.003334, allocations: 1.556 MB / 270.8 MB, free: 8.234 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004393/0.003774, allocations: 147.4 kB / 270.9 MB, free: 8.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.348e-05/0.003857, allocations: 6.344 kB / 270.9 MB, free: 8.086 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.52e-05/0.003912, allocations: 3.938 kB / 270.9 MB, free: 8.082 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.004051, allocations: 11.98 kB / 270.9 MB, free: 8.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.004263, allocations: 39.72 kB / 271 MB, free: 8.031 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.396e-05/0.004357, allocations: 31.92 kB / 271 MB, free: 8 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.732e-05/0.004435, allocations: 11.98 kB / 271 MB, free: 7.988 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.036e-05/0.004485, allocations: 19.91 kB / 271 MB, free: 7.969 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.465e-05/0.00452, allocations: 12.89 kB / 271 MB, free: 7.957 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.004536, allocations: 4 kB / 271 MB, free: 7.953 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.004548, allocations: 4.531 kB / 271 MB, free: 7.949 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.004588, allocations: 9.875 kB / 271 MB, free: 7.941 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.004612, allocations: 11.94 kB / 271.1 MB, free: 7.93 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.367e-05/0.004706, allocations: 35.83 kB / 271.1 MB, free: 7.895 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004708, allocations: 0 / 271.1 MB, free: 7.895 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004708, allocations: 0 / 271.1 MB, free: 7.895 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.004713, allocations: 0 / 271.1 MB, free: 7.895 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004115/0.005124, allocations: 389.7 kB / 271.5 MB, free: 7.477 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.005163, allocations: 12.03 kB / 271.5 MB, free: 7.465 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.005199, allocations: 8.891 kB / 271.5 MB, free: 7.457 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.00537, allocations: 141.5 kB / 271.6 MB, free: 7.293 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.005384, allocations: 4.375 kB / 271.6 MB, free: 7.289 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.005392, allocations: 6.344 kB / 271.6 MB, free: 7.285 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.005597, allocations: 121.6 kB / 271.8 MB, free: 7.141 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.005605, allocations: 2.031 kB / 271.8 MB, free: 7.141 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.005611, allocations: 384 / 271.8 MB, free: 7.141 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.00562, allocations: 4.375 kB / 271.8 MB, free: 7.137 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.252e-05/0.005642, allocations: 15.86 kB / 271.8 MB, free: 7.121 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.005891, allocations: 241 kB / 272 MB, free: 6.855 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.006032, allocations: 70.11 kB / 272.1 MB, free: 6.762 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.006068, allocations: 24.17 kB / 272.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.006081, allocations: 4.688 kB / 272.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.006109, allocations: 41.38 kB / 272.2 MB, free: 6.676 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.00611, allocations: 4.656 kB / 272.2 MB, free: 6.672 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001408/0.006251, allocations: 58.02 kB / 272.2 MB, free: 6.609 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.006304, allocations: 85.11 kB / 272.3 MB, free: 6.508 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.006416, allocations: 186 kB / 272.5 MB, free: 6.309 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.006427, allocations: 25.7 kB / 272.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.00649, allocations: 138.9 kB / 272.6 MB, free: 6.137 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.466e-06/0.006499, allocations: 7.875 kB / 272.7 MB, free: 6.129 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.006536, allocations: 23.33 kB / 272.7 MB, free: 6.098 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.006679, allocations: 496.1 kB / 273.2 MB, free: 5.602 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/0.006691, allocations: 4 kB / 273.2 MB, free: 5.598 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-06/0.006698, allocations: 0 / 273.2 MB, free: 5.598 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.636e-05/0.006724, allocations: 11.69 kB / 273.2 MB, free: 5.582 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006726, allocations: 64 / 273.2 MB, free: 5.582 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.848e-05/0.006784, allocations: 37.7 kB / 273.2 MB, free: 5.539 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.006796, allocations: 4 kB / 273.2 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.0068, allocations: 0 / 273.2 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.006811, allocations: 3.938 kB / 273.2 MB, free: 5.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.912e-05/0.00686, allocations: 7.938 kB / 273.2 MB, free: 5.523 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.006865, allocations: 3.984 kB / 273.2 MB, free: 5.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/0.006883, allocations: 0 / 273.2 MB, free: 5.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.006887, allocations: 4 kB / 273.2 MB, free: 5.516 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 7.835e-05/0.006965, allocations: 156.6 kB / 273.4 MB, free: 5.352 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.00704, allocations: 53.67 kB / 273.4 MB, free: 5.293 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.007069, allocations: 4.344 kB / 273.4 MB, free: 5.281 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.007075, allocations: 7.938 kB / 273.5 MB, free: 5.273 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-06/0.007077, allocations: 0 / 273.5 MB, free: 5.273 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.007081, allocations: 0 / 273.5 MB, free: 5.273 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.007221, allocations: 105.2 kB / 273.6 MB, free: 5.145 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.007223, allocations: 0 / 273.6 MB, free: 5.145 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.14e-05/0.007274, allocations: 8 kB / 273.6 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.007276, allocations: 0 / 273.6 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.007282, allocations: 4 kB / 273.6 MB, free: 5.133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.007285, allocations: 3.938 kB / 273.6 MB, free: 5.129 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.007287, allocations: 4 kB / 273.6 MB, free: 5.125 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.00741, allocations: 207.4 kB / 273.8 MB, free: 4.898 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.007449, allocations: 15.94 kB / 273.8 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.00746, allocations: 0 / 273.8 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.973e-05/0.00752, allocations: 4 kB / 273.8 MB, free: 4.879 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.007541, allocations: 0 / 273.8 MB, free: 4.879 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.007548, allocations: 3.938 kB / 273.8 MB, free: 4.875 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.399e-05/0.007622, allocations: 141.7 kB / 273.9 MB, free: 4.738 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007622, allocations: 0 / 273.9 MB, free: 4.738 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.007856, allocations: 4 kB / 273.9 MB, free: 4.734 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: 4 (step.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.801e-05/0.007944, allocations: 103.3 kB / 274 MB, free: 4.625 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.161e-05/0.008016, allocations: 15.62 kB / 274.1 MB, free: 4.605 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.008019, allocations: 4 kB / 274.1 MB, free: 4.602 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.435e-05/0.008034, allocations: 7.688 kB / 274.1 MB, free: 4.59 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.008347, allocations: 23.36 kB / 274.1 MB, free: 4.566 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.008645, allocations: 152.8 kB / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.779e-05/0.008693, allocations: 63.41 kB / 274.3 MB, free: 4.305 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.871e-05/0.008712, allocations: 12.28 kB / 274.3 MB, free: 4.293 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.008771, allocations: 74.19 kB / 274.4 MB, free: 4.219 MB / 250.7 MB Notification: Performance of SimCode: time 7.12e-07/0.008772, allocations: 0 / 274.4 MB, free: 4.219 MB / 250.7 MB Notification: Performance of Templates: time 0.002208/0.01098, allocations: 0.5664 MB / 275 MB, free: 3.66 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.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.8726817527785897]