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.001253/0.001253, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001627/0.001627, allocations: 149.2 kB / 24.98 MB, free: 8.887 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.01/1.01, allocations: 173.4 MB / 201.5 MB, free: 9.312 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.503e-06/1.503e-06, allocations: 0 / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/2.942e-05, allocations: 9.625 kB / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001931/0.00196, allocations: 1.471 MB / 269.6 MB, free: 5.227 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002439/0.002204, allocations: 99.66 kB / 269.6 MB, free: 5.129 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.002262, allocations: 3.938 kB / 269.7 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.507e-05/0.002287, allocations: 4 kB / 269.7 MB, free: 5.121 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.265e-05/0.00232, allocations: 3.938 kB / 269.7 MB, free: 5.117 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.002537, allocations: 19.97 kB / 269.7 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.238e-05/0.002619, allocations: 35.8 kB / 269.7 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.002709, allocations: 3.938 kB / 269.7 MB, free: 5.059 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.699e-05/0.002756, allocations: 15.98 kB / 269.7 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.609e-05/0.002782, allocations: 11.98 kB / 269.7 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.002802, allocations: 0 / 269.7 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-06/0.00281, allocations: 4 kB / 269.7 MB, free: 5.027 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.002827, allocations: 7.922 kB / 269.8 MB, free: 5.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.002851, allocations: 12 kB / 269.8 MB, free: 5.008 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.211e-05/0.002924, allocations: 11.98 kB / 269.8 MB, free: 4.996 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.002926, allocations: 3.938 kB / 269.8 MB, free: 4.992 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.002926, allocations: 0 / 269.8 MB, free: 4.992 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.002931, allocations: 0 / 269.8 MB, free: 4.992 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003369/0.003268, allocations: 360.6 kB / 270.1 MB, free: 4.602 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.003305, allocations: 12.03 kB / 270.1 MB, free: 4.59 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.003344, allocations: 8.938 kB / 270.2 MB, free: 4.582 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.003491, allocations: 120.5 kB / 270.3 MB, free: 4.438 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.003511, allocations: 8.375 kB / 270.3 MB, free: 4.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.003521, allocations: 8.359 kB / 270.3 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.003737, allocations: 110.2 kB / 270.4 MB, free: 4.297 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.003744, allocations: 192 / 270.4 MB, free: 4.297 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.003752, allocations: 384 / 270.4 MB, free: 4.297 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.00376, allocations: 384 / 270.4 MB, free: 4.297 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.674e-05/0.003786, allocations: 7.938 kB / 270.4 MB, free: 4.289 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.69e-05/0.003883, allocations: 116.6 kB / 270.5 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.094e-05/0.003964, allocations: 39.06 kB / 270.6 MB, free: 4.09 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.003995, allocations: 19.75 kB / 270.6 MB, free: 4.066 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.00401, allocations: 4 kB / 270.6 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.004031, allocations: 41.33 kB / 270.6 MB, free: 4.012 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.004033, allocations: 0 / 270.6 MB, free: 4.012 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001373/0.00417, allocations: 49.69 kB / 270.7 MB, free: 3.957 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.004206, allocations: 55.41 kB / 270.7 MB, free: 3.891 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.37e-05/0.004279, allocations: 173.8 kB / 270.9 MB, free: 3.703 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.004287, allocations: 25.7 kB / 270.9 MB, free: 3.672 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.004328, allocations: 126.9 kB / 271 MB, free: 3.543 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.00433, allocations: 0 / 271 MB, free: 3.543 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/0.004349, allocations: 23.38 kB / 271.1 MB, free: 3.512 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.004454, allocations: 0.4884 MB / 271.6 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-06/0.004458, allocations: 0 / 271.6 MB, free: 3.012 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.441e-06/0.004464, allocations: 7.938 kB / 271.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.682e-05/0.00449, allocations: 119.2 kB / 271.7 MB, free: 2.887 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.528e-05/0.004516, allocations: 119.2 kB / 271.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.474e-05/0.00455, allocations: 29.7 kB / 271.8 MB, free: 2.734 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002894/0.00484, allocations: 123.2 kB / 271.9 MB, free: 2.613 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-05/0.004866, allocations: 119.2 kB / 272.1 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.792e-05/0.004924, allocations: 246.3 kB / 272.3 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.207e-05/0.004946, allocations: 123.1 kB / 272.4 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.696e-05/0.004993, allocations: 250.5 kB / 272.7 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/0.005043, allocations: 127.1 kB / 272.8 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.005067, allocations: 127.2 kB / 272.9 MB, free: 1.637 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: 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 8.211e-05/0.005149, allocations: 275.7 kB / 273.2 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.005201, allocations: 45.69 kB / 273.2 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.4e-05/0.005225, allocations: 3.688 kB / 273.2 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.005228, allocations: 4 kB / 273.2 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.005231, allocations: 0 / 273.2 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.005235, allocations: 4.172 kB / 273.2 MB, free: 1.289 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.399e-05/0.005289, allocations: 120.6 kB / 273.4 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.005291, allocations: 4 kB / 273.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.74e-05/0.005338, allocations: 0 / 273.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.005342, allocations: 3.984 kB / 273.4 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.005348, allocations: 0 / 273.4 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.00535, allocations: 4 kB / 273.4 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.005351, allocations: 0 / 273.4 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.669e-05/0.005418, allocations: 88.27 kB / 273.5 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.005426, allocations: 8 kB / 273.5 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.005435, allocations: 0 / 273.5 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.175e-05/0.005457, allocations: 3.984 kB / 273.5 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-06/0.005459, allocations: 8 kB / 273.5 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.005464, allocations: 0 / 273.5 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.238e-05/0.005496, allocations: 123.2 kB / 273.6 MB, free: 0.875 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005496, allocations: 0 / 273.6 MB, free: 0.875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001396/0.005636, allocations: 0 / 273.6 MB, free: 0.875 MB / 250.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 8.069e-05/0.005716, allocations: 103.2 kB / 273.7 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.601e-05/0.005772, allocations: 11.98 kB / 273.7 MB, free: 0.75 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.005774, allocations: 0 / 273.7 MB, free: 0.75 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.005776, allocations: 3.938 kB / 273.7 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.005953, allocations: 21.06 kB / 273.7 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.006171, allocations: 113.2 kB / 273.8 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.999e-05/0.006201, allocations: 59.34 kB / 273.9 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.152e-06/0.006207, allocations: 0 / 273.9 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.00623, allocations: 12.5 kB / 273.9 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.006231, allocations: 3.938 kB / 273.9 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of Templates: time 0.001749/0.00798, allocations: 298.8 kB / 274.2 MB, free: 208 kB / 250.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] 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","",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.7160209179855883]