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.001397/0.001397, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001465/0.001465, allocations: 145.5 kB / 24.54 MB, free: 36 kB / 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.1 MB, free: 8.977 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.343e-06/1.343e-06, allocations: 0 / 268 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.79e-05, allocations: 2.312 kB / 268 MB, free: 6.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002092/0.00212, allocations: 1.469 MB / 269.5 MB, free: 4.812 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005691/0.002689, allocations: 107.6 kB / 269.6 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.576e-05/0.002755, allocations: 0 / 269.6 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.929e-05/0.002785, allocations: 4 kB / 269.6 MB, free: 4.703 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.627e-05/0.002821, allocations: 3.938 kB / 269.6 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.003055, allocations: 23.91 kB / 269.6 MB, free: 4.676 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.894e-05/0.003154, allocations: 31.86 kB / 269.6 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.003261, allocations: 7.938 kB / 269.6 MB, free: 4.637 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.376e-05/0.003305, allocations: 15.98 kB / 269.7 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.549e-05/0.00333, allocations: 3.984 kB / 269.7 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.003352, allocations: 4 kB / 269.7 MB, free: 4.613 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-06/0.003361, allocations: 4 kB / 269.7 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.003379, allocations: 3.938 kB / 269.7 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.003406, allocations: 15.98 kB / 269.7 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.412e-05/0.00348, allocations: 15.92 kB / 269.7 MB, free: 4.574 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003482, allocations: 0 / 269.7 MB, free: 4.574 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.003483, allocations: 0 / 269.7 MB, free: 4.574 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.003487, allocations: 0 / 269.7 MB, free: 4.574 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.0003541/0.003841, allocations: 364.6 kB / 270.1 MB, free: 4.18 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.00388, allocations: 12.03 kB / 270.1 MB, free: 4.168 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.003918, allocations: 4.922 kB / 270.1 MB, free: 4.164 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.004066, allocations: 120.6 kB / 270.2 MB, free: 4.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.004085, allocations: 4.375 kB / 270.2 MB, free: 4.016 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.004095, allocations: 8.312 kB / 270.2 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.004335, allocations: 114.2 kB / 270.3 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.004343, allocations: 192 / 270.3 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.004352, allocations: 384 / 270.3 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.00436, allocations: 384 / 270.3 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.612e-05/0.004386, allocations: 7.938 kB / 270.3 MB, free: 3.871 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.004492, allocations: 116.6 kB / 270.4 MB, free: 3.723 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.278e-05/0.004585, allocations: 43.05 kB / 270.5 MB, free: 3.668 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.004616, allocations: 15.72 kB / 270.5 MB, free: 3.648 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.004633, allocations: 7.938 kB / 270.5 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.004658, allocations: 37.39 kB / 270.5 MB, free: 3.594 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.004659, allocations: 0 / 270.5 MB, free: 3.594 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001433/0.004802, allocations: 53.73 kB / 270.6 MB, free: 3.535 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.004839, allocations: 51.41 kB / 270.6 MB, free: 3.473 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.996e-05/0.004909, allocations: 173.8 kB / 270.8 MB, free: 3.285 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.004919, allocations: 25.7 kB / 270.8 MB, free: 3.254 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.00496, allocations: 126.9 kB / 271 MB, free: 3.125 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/0.004964, allocations: 0 / 271 MB, free: 3.125 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.00499, allocations: 31.36 kB / 271 MB, free: 3.086 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.00512, allocations: 492.1 kB / 271.5 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.632e-06/0.005127, allocations: 3.938 kB / 271.5 MB, free: 2.59 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.958e-06/0.005131, allocations: 0 / 271.5 MB, free: 2.59 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.31e-05/0.005164, allocations: 123.2 kB / 271.6 MB, free: 2.469 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.79e-05/0.005192, allocations: 119.2 kB / 271.7 MB, free: 2.352 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.456e-05/0.005227, allocations: 25.7 kB / 271.7 MB, free: 2.32 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.005263, allocations: 127.2 kB / 271.9 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/0.005293, allocations: 123.1 kB / 272 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.73e-05/0.00535, allocations: 246.3 kB / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.258e-05/0.005373, allocations: 123.4 kB / 272.3 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.68e-05/0.00542, allocations: 250.3 kB / 272.6 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.005468, allocations: 127.3 kB / 272.7 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.005494, allocations: 127.1 kB / 272.8 MB, free: 1.215 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.122e-05/0.005575, allocations: 271.8 kB / 273.1 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002747/0.00585, allocations: 49.67 kB / 273.1 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.005877, allocations: 7.688 kB / 273.2 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.005879, allocations: 4 kB / 273.2 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.005882, allocations: 0 / 273.2 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.005885, allocations: 3.938 kB / 273.2 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.462e-05/0.00594, allocations: 116.6 kB / 273.3 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.005942, allocations: 4 kB / 273.3 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-05/0.005988, allocations: 0 / 273.3 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.00599, allocations: 0 / 273.3 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.005996, allocations: 0 / 273.3 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.005999, allocations: 4 kB / 273.3 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006, allocations: 0 / 273.3 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.536e-05/0.006065, allocations: 92.27 kB / 273.4 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.006073, allocations: 7.984 kB / 273.4 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-06/0.006082, allocations: 0 / 273.4 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.401e-05/0.006096, allocations: 0 / 273.4 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-06/0.006099, allocations: 4 kB / 273.4 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.006104, allocations: 4 kB / 273.4 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.666e-05/0.00614, allocations: 127.2 kB / 273.5 MB, free: 464 kB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006141, allocations: 0 / 273.5 MB, free: 464 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001294/0.00627, allocations: 0 / 273.5 MB, free: 464 kB / 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 7.139e-05/0.006341, allocations: 103.2 kB / 273.6 MB, free: 348 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.737e-05/0.006389, allocations: 11.94 kB / 273.6 MB, free: 336 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.00639, allocations: 0 / 273.6 MB, free: 336 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.00639, allocations: 0 / 273.6 MB, free: 336 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.006557, allocations: 16.25 kB / 273.6 MB, free: 320 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001946/0.006751, allocations: 117.2 kB / 273.8 MB, free: 176 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.918e-05/0.00678, allocations: 59.34 kB / 273.8 MB, free: 96 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.159e-06/0.006786, allocations: 0 / 273.8 MB, free: 96 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.006806, allocations: 16.44 kB / 273.8 MB, free: 80 kB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006806, allocations: 0 / 273.8 MB, free: 80 kB / 250.7 MB Notification: Performance of Templates: time 0.001913/0.008719, allocations: 303 kB / 274.1 MB, free: 15.79 MB / 266.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.7630092622712255]