Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.0009252/0.0009252, allocations: 80.06 kB / 21.43 MB, free: 3.117 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.004597/0.004597, allocations: 138.3 kB / 24.68 MB, free: 9.438 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.8167/0.8167, allocations: 173.4 MB / 201.2 MB, free: 9.418 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 319.7 MB, free: 5.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.584e-05, allocations: 10.22 kB / 319.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001519/0.001535, allocations: 1.43 MB / 321.1 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002062/0.001741, allocations: 99.67 kB / 321.2 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/0.001793, allocations: 7.938 kB / 321.2 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.001817, allocations: 3.938 kB / 321.2 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.749e-05/0.001845, allocations: 0 / 321.2 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.002034, allocations: 23.91 kB / 321.2 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.015e-05/0.002104, allocations: 27.92 kB / 321.3 MB, free: 4.129 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.234e-05/0.002186, allocations: 0 / 321.3 MB, free: 4.129 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.492e-05/0.002221, allocations: 19.92 kB / 321.3 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.339e-05/0.002244, allocations: 8 kB / 321.3 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.002266, allocations: 0 / 321.3 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.164e-06/0.002273, allocations: 4 kB / 321.3 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.002287, allocations: 3.984 kB / 321.3 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.002311, allocations: 23.92 kB / 321.3 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7e-05/0.002381, allocations: 19.91 kB / 321.4 MB, free: 4.051 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.002383, allocations: 4 kB / 321.4 MB, free: 4.047 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.002384, allocations: 0 / 321.4 MB, free: 4.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.002387, allocations: 0 / 321.4 MB, free: 4.047 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002972/0.002685, allocations: 266.2 kB / 321.6 MB, free: 3.754 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.002715, allocations: 8.031 kB / 321.6 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.331e-05/0.002738, allocations: 4.875 kB / 321.6 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.002873, allocations: 117.7 kB / 321.7 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.002892, allocations: 4.375 kB / 321.7 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.0029, allocations: 12.31 kB / 321.8 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.003085, allocations: 99.86 kB / 321.9 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.003092, allocations: 192 / 321.9 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.003101, allocations: 4.375 kB / 321.9 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.003105, allocations: 8.297 kB / 321.9 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.014e-05/0.003145, allocations: 15.92 kB / 321.9 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.518e-05/0.003231, allocations: 101.3 kB / 322 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.45e-05/0.003315, allocations: 62.52 kB / 322 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.003344, allocations: 16.86 kB / 322.1 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.003359, allocations: 0 / 322.1 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.003376, allocations: 34.59 kB / 322.1 MB, free: 3.188 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.52e-07/0.003376, allocations: 0 / 322.1 MB, free: 3.188 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001392/0.003516, allocations: 61.69 kB / 322.2 MB, free: 3.121 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.003548, allocations: 55.34 kB / 322.2 MB, free: 3.055 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.189e-05/0.0036, allocations: 113.7 kB / 322.3 MB, free: 2.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.003607, allocations: 25.7 kB / 322.3 MB, free: 2.902 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.438e-05/0.003632, allocations: 88.14 kB / 322.4 MB, free: 2.812 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.003634, allocations: 0 / 322.4 MB, free: 2.812 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.00365, allocations: 13.72 kB / 322.4 MB, free: 2.793 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.573e-05/0.003716, allocations: 314.8 kB / 322.8 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-06/0.00372, allocations: 0 / 322.8 MB, free: 2.477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-06/0.003722, allocations: 0 / 322.8 MB, free: 2.477 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.755e-05/0.003739, allocations: 75.28 kB / 322.8 MB, free: 2.402 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/0.003757, allocations: 79.28 kB / 322.9 MB, free: 2.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.263e-05/0.003789, allocations: 25.7 kB / 322.9 MB, free: 2.293 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.003814, allocations: 87.28 kB / 323 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.00383, allocations: 79.22 kB / 323.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.844e-05/0.003869, allocations: 154.6 kB / 323.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.637e-05/0.003885, allocations: 83.22 kB / 323.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.074e-05/0.003916, allocations: 154.5 kB / 323.5 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.003955, allocations: 83.2 kB / 323.6 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.003971, allocations: 79.47 kB / 323.6 MB, free: 1.582 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 5.835e-05/0.004029, allocations: 189.1 kB / 323.8 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.004079, allocations: 49.69 kB / 323.9 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/0.004099, allocations: 7.688 kB / 323.9 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.004102, allocations: 4 kB / 323.9 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.004105, allocations: 4 kB / 323.9 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.004109, allocations: 7.938 kB / 323.9 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.787e-05/0.004147, allocations: 97.31 kB / 324 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.004149, allocations: 3.938 kB / 324 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.004183, allocations: 7.938 kB / 324 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.004186, allocations: 0 / 324 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.00419, allocations: 3.938 kB / 324 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.004192, allocations: 0 / 324 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.004193, allocations: 0 / 324 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.405e-05/0.004257, allocations: 89.23 kB / 324.1 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.004263, allocations: 7.984 kB / 324.1 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.004273, allocations: 7.984 kB / 324.1 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-06/0.004282, allocations: 4 kB / 324.1 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-06/0.004284, allocations: 0 / 324.1 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.004288, allocations: 0 / 324.1 MB, free: 1.039 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.351e-05/0.004312, allocations: 87.27 kB / 324.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004312, allocations: 0 / 324.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001341/0.004446, allocations: 0 / 324.2 MB, free: 0.9531 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.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.0003244/0.00477, allocations: 103.2 kB / 324.3 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.9e-05/0.004819, allocations: 15.92 kB / 324.3 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-06/0.00482, allocations: 4 kB / 324.3 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4e-07/0.004821, allocations: 0 / 324.3 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.004969, allocations: 16.03 kB / 324.3 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001761/0.005145, allocations: 134.8 kB / 324.5 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.218e-05/0.005177, allocations: 63.34 kB / 324.5 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.005196, allocations: 12.5 kB / 324.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.005196, allocations: 3.938 kB / 324.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of Templates: time 0.001272/0.006469, allocations: 0.5152 MB / 325.1 MB, free: 32 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.6737624015659094]