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.001291/0.001291, allocations: 100.7 kB / 20.96 MB, free: 480 kB / 14.72 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.001383/0.001383, allocations: 149 kB / 24.24 MB, free: 3.551 MB / 14.72 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.392/1.392, allocations: 173.3 MB / 200.8 MB, free: 12.76 MB / 190.1 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.304e-06/2.304e-06, allocations: 0 / 267.3 MB, free: 10.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.001e-05/5.232e-05, allocations: 13.34 kB / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003586/0.003639, allocations: 1.515 MB / 268.8 MB, free: 8.699 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.000499/0.004138, allocations: 143.4 kB / 269 MB, free: 8.559 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.552e-05/0.004223, allocations: 4 kB / 269 MB, free: 8.555 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 6.793e-05/0.004291, allocations: 7.922 kB / 269 MB, free: 8.547 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.004459, allocations: 11.88 kB / 269 MB, free: 8.535 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.004735, allocations: 39.83 kB / 269 MB, free: 8.496 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.004859, allocations: 31.86 kB / 269.1 MB, free: 8.465 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.004983, allocations: 12 kB / 269.1 MB, free: 8.453 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.623e-05/0.005039, allocations: 11.98 kB / 269.1 MB, free: 8.441 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/0.005096, allocations: 19.91 kB / 269.1 MB, free: 8.422 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.005128, allocations: 4 kB / 269.1 MB, free: 8.418 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.005139, allocations: 0 / 269.1 MB, free: 8.418 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.005196, allocations: 4 kB / 269.1 MB, free: 8.414 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.005229, allocations: 23.92 kB / 269.1 MB, free: 8.391 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.005356, allocations: 43.81 kB / 269.2 MB, free: 8.348 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005359, allocations: 0 / 269.2 MB, free: 8.348 MB / 254.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.00536, allocations: 0 / 269.2 MB, free: 8.348 MB / 254.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.005364, allocations: 3.938 kB / 269.2 MB, free: 8.344 MB / 254.1 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.0004946/0.005859, allocations: 298 kB / 269.5 MB, free: 8.02 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.005898, allocations: 8.922 kB / 269.5 MB, free: 8.012 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.005951, allocations: 12.89 kB / 269.5 MB, free: 8 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.006193, allocations: 133.7 kB / 269.6 MB, free: 7.844 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.006204, allocations: 4.375 kB / 269.6 MB, free: 7.84 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.006217, allocations: 4.375 kB / 269.6 MB, free: 7.836 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.006514, allocations: 117.5 kB / 269.7 MB, free: 7.703 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.006526, allocations: 4.188 kB / 269.7 MB, free: 7.699 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.006536, allocations: 384 / 269.7 MB, free: 7.699 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.006541, allocations: 384 / 269.7 MB, free: 7.699 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.228e-05/0.006623, allocations: 27.92 kB / 269.8 MB, free: 7.672 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.006938, allocations: 209.4 kB / 270 MB, free: 7.434 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.007135, allocations: 61.14 kB / 270 MB, free: 7.355 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.695e-05/0.007202, allocations: 25.77 kB / 270.1 MB, free: 7.324 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.007223, allocations: 4 kB / 270.1 MB, free: 7.32 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.007258, allocations: 34.5 kB / 270.1 MB, free: 7.277 MB / 254.1 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.00726, allocations: 0 / 270.1 MB, free: 7.277 MB / 254.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002779/0.007537, allocations: 89.77 kB / 270.2 MB, free: 7.184 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/0.007624, allocations: 85.11 kB / 270.3 MB, free: 7.082 MB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.007773, allocations: 133.3 kB / 270.4 MB, free: 6.941 MB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.007795, allocations: 29.69 kB / 270.4 MB, free: 6.906 MB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.007867, allocations: 88.14 kB / 270.5 MB, free: 6.816 MB / 254.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.516e-06/0.007875, allocations: 0 / 270.5 MB, free: 6.816 MB / 254.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.007914, allocations: 17.67 kB / 270.5 MB, free: 6.793 MB / 254.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.008067, allocations: 314.8 kB / 270.8 MB, free: 6.477 MB / 254.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.66e-05/0.008103, allocations: 7.984 kB / 270.8 MB, free: 6.469 MB / 254.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.36e-05/0.008127, allocations: 4 kB / 270.9 MB, free: 6.465 MB / 254.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.912e-05/0.008186, allocations: 20.94 kB / 270.9 MB, free: 6.441 MB / 254.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.008188, allocations: 0 / 270.9 MB, free: 6.441 MB / 254.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.714e-05/0.008285, allocations: 49.62 kB / 270.9 MB, free: 6.387 MB / 254.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.008301, allocations: 8 kB / 270.9 MB, free: 6.379 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.008307, allocations: 3.938 kB / 270.9 MB, free: 6.375 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.008323, allocations: 0 / 270.9 MB, free: 6.375 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.984e-05/0.008373, allocations: 11.92 kB / 270.9 MB, free: 6.363 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.008378, allocations: 0 / 270.9 MB, free: 6.363 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.239e-05/0.0084, allocations: 4.031 kB / 270.9 MB, free: 6.359 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.008405, allocations: 0 / 270.9 MB, free: 6.359 MB / 254.1 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 0.0001051/0.00851, allocations: 117.8 kB / 271.1 MB, free: 6.234 MB / 254.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.041e-05/0.0086, allocations: 49.64 kB / 271.1 MB, free: 6.18 MB / 254.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.008641, allocations: 12.28 kB / 271.1 MB, free: 6.16 MB / 254.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.008645, allocations: 4 kB / 271.1 MB, free: 6.156 MB / 254.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.008652, allocations: 3.984 kB / 271.1 MB, free: 6.152 MB / 254.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.008654, allocations: 3.938 kB / 271.1 MB, free: 6.148 MB / 254.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.008805, allocations: 109.3 kB / 271.2 MB, free: 6.012 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008806, allocations: 0 / 271.2 MB, free: 6.012 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.794e-05/0.008854, allocations: 16 kB / 271.3 MB, free: 5.996 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.008856, allocations: 0 / 271.3 MB, free: 5.996 MB / 254.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.008866, allocations: 4 kB / 271.3 MB, free: 5.992 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.008869, allocations: 3.938 kB / 271.3 MB, free: 5.988 MB / 254.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.008872, allocations: 3.984 kB / 271.3 MB, free: 5.984 MB / 254.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.009056, allocations: 160.4 kB / 271.4 MB, free: 5.809 MB / 254.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.009093, allocations: 19.94 kB / 271.4 MB, free: 5.789 MB / 254.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.009105, allocations: 0 / 271.4 MB, free: 5.789 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.009164, allocations: 7.938 kB / 271.5 MB, free: 5.781 MB / 254.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.009193, allocations: 7.922 kB / 271.5 MB, free: 5.773 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.009196, allocations: 4 kB / 271.5 MB, free: 5.77 MB / 254.1 MB Notification: Performance of sorting global known variables: time 7.354e-05/0.009269, allocations: 103.3 kB / 271.6 MB, free: 5.668 MB / 254.1 MB Notification: Performance of sort global known variables: time 1e-07/0.009269, allocations: 0 / 271.6 MB, free: 5.668 MB / 254.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.009482, allocations: 4 kB / 271.6 MB, free: 5.664 MB / 254.1 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 0.0001213/0.009603, allocations: 99.25 kB / 271.7 MB, free: 5.559 MB / 254.1 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.009733, allocations: 19.97 kB / 271.7 MB, free: 5.539 MB / 254.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.009735, allocations: 0 / 271.7 MB, free: 5.539 MB / 254.1 MB Notification: Performance of simCode: created simulation system equations: time 3.65e-05/0.009772, allocations: 12.06 kB / 271.7 MB, free: 5.527 MB / 254.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.01009, allocations: 24.8 kB / 271.7 MB, free: 5.504 MB / 254.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.0104, allocations: 160.1 kB / 271.9 MB, free: 5.32 MB / 254.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.344e-05/0.01048, allocations: 71.25 kB / 271.9 MB, free: 5.23 MB / 254.1 MB Notification: Performance of simCode: alias equations: time 1.727e-05/0.01049, allocations: 4.234 kB / 272 MB, free: 5.227 MB / 254.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.01052, allocations: 12.5 kB / 272 MB, free: 5.215 MB / 254.1 MB Notification: Performance of SimCode: time 4.11e-07/0.01052, allocations: 0 / 272 MB, free: 5.215 MB / 254.1 MB Notification: Performance of Templates: time 0.003058/0.01358, allocations: 0.5337 MB / 272.5 MB, free: 4.691 MB / 254.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8577206023037434]