Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001305/0.001305, 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.001026/0.001026, allocations: 147 kB / 24.89 MB, free: 8.793 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.9736/0.9736, allocations: 173.4 MB / 201.5 MB, free: 8.754 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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 268.5 MB, free: 5.988 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.114e-05, allocations: 2.312 kB / 268.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002141/0.002162, allocations: 1.583 MB / 270.1 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002677/0.00243, allocations: 139.4 kB / 270.2 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.002485, allocations: 4 kB / 270.2 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.002514, allocations: 3.938 kB / 270.2 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.851e-05/0.002612, allocations: 11.92 kB / 270.3 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.002762, allocations: 39.83 kB / 270.3 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.603e-05/0.002828, allocations: 31.86 kB / 270.3 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.433e-05/0.002883, allocations: 8 kB / 270.3 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.527e-05/0.002918, allocations: 11.98 kB / 270.3 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.166e-05/0.00294, allocations: 11.92 kB / 270.4 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.002952, allocations: 0 / 270.4 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-06/0.002959, allocations: 4 kB / 270.4 MB, free: 4.129 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.002989, allocations: 11.98 kB / 270.4 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.538e-05/0.003004, allocations: 11.94 kB / 270.4 MB, free: 4.105 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.914e-05/0.003074, allocations: 27.84 kB / 270.4 MB, free: 4.078 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.283e-06/0.003075, allocations: 0 / 270.4 MB, free: 4.078 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003075, allocations: 0 / 270.4 MB, free: 4.078 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.885e-06/0.003078, allocations: 4 kB / 270.4 MB, free: 4.074 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.0002063/0.003285, allocations: 252.8 kB / 270.7 MB, free: 3.801 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.003312, allocations: 16.86 kB / 270.7 MB, free: 3.785 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.763e-05/0.00333, allocations: 4.922 kB / 270.7 MB, free: 3.781 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.003457, allocations: 137.6 kB / 270.8 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.003467, allocations: 384 / 270.8 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-06/0.003473, allocations: 4.375 kB / 270.8 MB, free: 3.617 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.003588, allocations: 98.3 kB / 270.9 MB, free: 3.5 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.218e-06/0.003592, allocations: 192 / 270.9 MB, free: 3.5 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-06/0.003597, allocations: 384 / 270.9 MB, free: 3.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.0036, allocations: 384 / 270.9 MB, free: 3.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.109e-05/0.003611, allocations: 7.938 kB / 270.9 MB, free: 3.492 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.003735, allocations: 153.1 kB / 271.1 MB, free: 3.324 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.893e-05/0.003764, allocations: 33.19 kB / 271.1 MB, free: 3.273 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.211e-05/0.003776, allocations: 17.78 kB / 271.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.003785, allocations: 0 / 271.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.003801, allocations: 42.5 kB / 271.2 MB, free: 3.199 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 4.81e-07/0.003802, allocations: 4 kB / 271.2 MB, free: 3.195 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 7.394e-05/0.003876, allocations: 45.62 kB / 271.2 MB, free: 3.145 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.003908, allocations: 81.05 kB / 271.3 MB, free: 3.047 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.994e-05/0.003968, allocations: 130.3 kB / 271.4 MB, free: 2.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.003976, allocations: 25.7 kB / 271.4 MB, free: 2.879 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.004003, allocations: 88.12 kB / 271.5 MB, free: 2.789 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.061e-06/0.004009, allocations: 3.953 kB / 271.5 MB, free: 2.785 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/0.00403, allocations: 17.7 kB / 271.6 MB, free: 2.762 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.48e-05/0.004095, allocations: 314.8 kB / 271.9 MB, free: 2.445 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-06/0.0041, allocations: 8.25 kB / 271.9 MB, free: 2.438 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-06/0.004103, allocations: 0 / 271.9 MB, free: 2.438 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.276e-05/0.004116, allocations: 8.859 kB / 271.9 MB, free: 2.426 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.004117, allocations: 0 / 271.9 MB, free: 2.426 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.787e-05/0.004145, allocations: 37.62 kB / 271.9 MB, free: 2.383 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.004155, allocations: 4 kB / 271.9 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.004158, allocations: 0 / 271.9 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/0.004164, allocations: 0 / 271.9 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.628e-06/0.004174, allocations: 7.938 kB / 271.9 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-06/0.004176, allocations: 96 / 271.9 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/0.004188, allocations: 4 kB / 271.9 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-06/0.004191, allocations: 0 / 271.9 MB, free: 2.367 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 (sample1.u) * 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.606e-05/0.004237, allocations: 112.7 kB / 272 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.004265, allocations: 37.62 kB / 272.1 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.004294, allocations: 7.469 kB / 272.1 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.004298, allocations: 4 kB / 272.1 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.004301, allocations: 3.938 kB / 272.1 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.004304, allocations: 0 / 272.1 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.004407, allocations: 73.88 kB / 272.2 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.004412, allocations: 8.016 kB / 272.2 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-06/0.004418, allocations: 0 / 272.2 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-06/0.004419, allocations: 0 / 272.2 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-06/0.004422, allocations: 0 / 272.2 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.004423, allocations: 4 kB / 272.2 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.004423, allocations: 3.938 kB / 272.2 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.563e-05/0.004489, allocations: 140.3 kB / 272.3 MB, free: 1.922 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.004508, allocations: 15.92 kB / 272.3 MB, free: 1.906 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.004517, allocations: 8 kB / 272.3 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.015e-05/0.004547, allocations: 0 / 272.3 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.004565, allocations: 4.031 kB / 272.3 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.004567, allocations: 4 kB / 272.3 MB, free: 1.891 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.964e-05/0.004587, allocations: 24.72 kB / 272.4 MB, free: 1.863 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004587, allocations: 0 / 272.4 MB, free: 1.863 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001051/0.004692, allocations: 4 kB / 272.4 MB, free: 1.859 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 (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 (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.547e-05/0.004748, allocations: 76.42 kB / 272.4 MB, free: 1.777 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.987e-05/0.004787, allocations: 8.859 kB / 272.5 MB, free: 1.766 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.00479, allocations: 0 / 272.5 MB, free: 1.766 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-05/0.004803, allocations: 24.84 kB / 272.5 MB, free: 1.738 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.004942, allocations: 11.94 kB / 272.5 MB, free: 1.727 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001933/0.005135, allocations: 143.7 kB / 272.6 MB, free: 1.559 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.077e-05/0.005166, allocations: 59.34 kB / 272.7 MB, free: 1.48 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.477e-05/0.00518, allocations: 8 kB / 272.7 MB, free: 1.473 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.005221, allocations: 55.36 kB / 272.8 MB, free: 1.418 MB / 250.7 MB Notification: Performance of SimCode: time 4.31e-07/0.005222, allocations: 0 / 272.8 MB, free: 1.418 MB / 250.7 MB Notification: Performance of Templates: time 0.001774/0.006996, allocations: 0.4937 MB / 273.2 MB, free: 0.9336 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/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.4312166897580028]