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.001008/0.001008, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.001086/0.001086, allocations: 142.8 kB / 24.89 MB, free: 8.789 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.9115/0.9115, allocations: 173.4 MB / 201.5 MB, free: 9.184 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.442e-06/1.442e-06, allocations: 0 / 268.5 MB, free: 6.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.471e-05, allocations: 6.312 kB / 268.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001676/0.001691, allocations: 1.471 MB / 269.9 MB, free: 4.711 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002085/0.0019, allocations: 115.5 kB / 270 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.782e-05/0.001947, allocations: 0 / 270 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.001969, allocations: 7.938 kB / 270.1 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.162e-05/0.002, allocations: 3.938 kB / 270.1 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.002175, allocations: 19.92 kB / 270.1 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.002242, allocations: 31.91 kB / 270.1 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.209e-05/0.002314, allocations: 4 kB / 270.1 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.664e-05/0.002361, allocations: 15.98 kB / 270.1 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.416e-05/0.002385, allocations: 7.922 kB / 270.1 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.002403, allocations: 4 kB / 270.1 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.144e-06/0.00241, allocations: 4 kB / 270.1 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.002426, allocations: 4 kB / 270.1 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.666e-05/0.002442, allocations: 7.984 kB / 270.2 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.465e-05/0.002507, allocations: 27.8 kB / 270.2 MB, free: 4.461 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.002509, allocations: 0 / 270.2 MB, free: 4.461 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.002509, allocations: 0 / 270.2 MB, free: 4.461 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.002512, allocations: 0 / 270.2 MB, free: 4.461 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.0002547/0.002767, allocations: 240.9 kB / 270.4 MB, free: 4.199 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.002798, allocations: 12.03 kB / 270.4 MB, free: 4.188 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.195e-05/0.00282, allocations: 4.938 kB / 270.4 MB, free: 4.184 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.002925, allocations: 113.8 kB / 270.5 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.002938, allocations: 384 / 270.5 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.002947, allocations: 4.375 kB / 270.5 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.003073, allocations: 96.56 kB / 270.6 MB, free: 3.934 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.003079, allocations: 4.188 kB / 270.6 MB, free: 3.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-06/0.003084, allocations: 384 / 270.6 MB, free: 3.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.00309, allocations: 4.359 kB / 270.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.676e-05/0.003107, allocations: 11.88 kB / 270.7 MB, free: 3.914 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.074e-05/0.003158, allocations: 61 kB / 270.7 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.555e-05/0.003214, allocations: 34.55 kB / 270.8 MB, free: 3.797 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.462e-05/0.003228, allocations: 12.86 kB / 270.8 MB, free: 3.781 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.003239, allocations: 4 kB / 270.8 MB, free: 3.777 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.003255, allocations: 34.55 kB / 270.8 MB, free: 3.734 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 5.11e-07/0.003255, allocations: 0 / 270.8 MB, free: 3.734 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 7.553e-05/0.003331, allocations: 49.62 kB / 270.9 MB, free: 3.68 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.003358, allocations: 55.41 kB / 270.9 MB, free: 3.613 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.294e-05/0.003401, allocations: 102.7 kB / 271 MB, free: 3.5 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.665e-06/0.003409, allocations: 25.7 kB / 271 MB, free: 3.469 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.672e-05/0.003426, allocations: 88.12 kB / 271.1 MB, free: 3.379 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-06/0.003428, allocations: 0 / 271.1 MB, free: 3.379 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.003442, allocations: 17.7 kB / 271.1 MB, free: 3.355 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.778e-05/0.0035, allocations: 318.8 kB / 271.5 MB, free: 3.035 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.853e-06/0.003502, allocations: 3.938 kB / 271.5 MB, free: 3.031 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.084e-06/0.003504, allocations: 0 / 271.5 MB, free: 3.031 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.474e-05/0.003519, allocations: 75.28 kB / 271.5 MB, free: 2.957 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/0.003533, allocations: 75.28 kB / 271.6 MB, free: 2.883 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.953e-05/0.003562, allocations: 37.64 kB / 271.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.003582, allocations: 82.25 kB / 271.7 MB, free: 2.762 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.003597, allocations: 79.28 kB / 271.8 MB, free: 2.684 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.321e-05/0.00363, allocations: 154.5 kB / 271.9 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.451e-05/0.003644, allocations: 79.47 kB / 272 MB, free: 2.453 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.078e-05/0.003675, allocations: 154.6 kB / 272.2 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.003713, allocations: 87.22 kB / 272.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.003726, allocations: 75.28 kB / 272.3 MB, free: 2.141 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 5.108e-05/0.003777, allocations: 189.1 kB / 272.5 MB, free: 1.945 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.003809, allocations: 45.62 kB / 272.6 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.473e-05/0.003823, allocations: 3.688 kB / 272.6 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.003825, allocations: 0 / 272.6 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.003826, allocations: 0 / 272.6 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.003828, allocations: 0 / 272.6 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.829e-05/0.003867, allocations: 73.81 kB / 272.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.003868, allocations: 4 kB / 272.6 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.477e-05/0.003893, allocations: 4 kB / 272.6 MB, free: 1.789 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.003898, allocations: 0 / 272.6 MB, free: 1.789 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-06/0.0039, allocations: 0 / 272.6 MB, free: 1.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.003901, allocations: 0 / 272.6 MB, free: 1.789 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.003901, allocations: 0 / 272.6 MB, free: 1.789 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.866e-05/0.00393, allocations: 61.06 kB / 272.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-06/0.003935, allocations: 7.938 kB / 272.7 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-06/0.003941, allocations: 0 / 272.7 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.201e-05/0.003953, allocations: 0 / 272.7 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-06/0.003955, allocations: 4 kB / 272.7 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.003957, allocations: 4 kB / 272.7 MB, free: 1.695 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.022e-05/0.003968, allocations: 16.78 kB / 272.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003968, allocations: 0 / 272.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001053/0.004073, allocations: 0 / 272.7 MB, free: 1.676 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 6.057e-05/0.004134, allocations: 84.42 kB / 272.8 MB, free: 1.582 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 2.963e-05/0.004163, allocations: 8.234 kB / 272.8 MB, free: 1.574 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.004165, allocations: 3.938 kB / 272.8 MB, free: 1.57 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.004165, allocations: 0 / 272.8 MB, free: 1.57 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.813e-05/0.004243, allocations: 13.19 kB / 272.8 MB, free: 1.555 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001445/0.004388, allocations: 127.4 kB / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.253e-05/0.00441, allocations: 55.36 kB / 273 MB, free: 1.332 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.899e-06/0.004415, allocations: 0 / 273 MB, free: 1.332 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.004441, allocations: 51.38 kB / 273.1 MB, free: 1.281 MB / 250.7 MB Notification: Performance of SimCode: time 3.01e-07/0.004441, allocations: 0 / 273.1 MB, free: 1.281 MB / 250.7 MB Notification: Performance of Templates: time 0.001354/0.005795, allocations: 316.5 kB / 273.4 MB, free: 0.9727 MB / 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.3958432800136507]