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.001972/0.001972, allocations: 80.67 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002131/0.002131, allocations: 154.9 kB / 23.94 MB, free: 4.176 MB / 14.72 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.501/1.501, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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.333e-06/1.333e-06, allocations: 0 / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.195e-05, allocations: 2.281 kB / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002135/0.002157, allocations: 1.43 MB / 320.3 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002583/0.002415, allocations: 101.6 kB / 320.4 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.002481, allocations: 0 / 320.4 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.813e-05/0.002509, allocations: 4.453 kB / 320.5 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.164e-05/0.002541, allocations: 5.578 kB / 320.5 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.002779, allocations: 19.17 kB / 320.5 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.613e-05/0.002865, allocations: 28.62 kB / 320.5 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.002972, allocations: 12.89 kB / 320.5 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.553e-05/0.003018, allocations: 12.39 kB / 320.5 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.176e-05/0.003049, allocations: 13.95 kB / 320.5 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.003067, allocations: 1.219 kB / 320.5 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-06/0.003075, allocations: 2.875 kB / 320.5 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.003091, allocations: 4.703 kB / 320.6 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.003115, allocations: 13.33 kB / 320.6 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.23e-05/0.003197, allocations: 31.36 kB / 320.6 MB, free: 2.461 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003199, allocations: 0 / 320.6 MB, free: 2.461 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003199, allocations: 0 / 320.6 MB, free: 2.461 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.003203, allocations: 0 / 320.6 MB, free: 2.461 MB / 286.1 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.0003193/0.003523, allocations: 265.3 kB / 320.9 MB, free: 2.188 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.003558, allocations: 13.75 kB / 320.9 MB, free: 2.184 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.003592, allocations: 3.531 kB / 320.9 MB, free: 2.184 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.003752, allocations: 122.9 kB / 321 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.003772, allocations: 1.906 kB / 321 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.003783, allocations: 2.75 kB / 321 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.004033, allocations: 101.2 kB / 321.1 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.004043, allocations: 192 / 321.1 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.004051, allocations: 5.688 kB / 321.1 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.004056, allocations: 0.9375 kB / 321.1 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.586e-05/0.004122, allocations: 23.12 kB / 321.1 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.877e-05/0.00421, allocations: 99.95 kB / 321.2 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.00434, allocations: 52.69 kB / 321.3 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.00439, allocations: 19.59 kB / 321.3 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.004407, allocations: 2.219 kB / 321.3 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.004425, allocations: 32 kB / 321.3 MB, free: 1.75 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.004426, allocations: 0 / 321.3 MB, free: 1.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001922/0.004619, allocations: 65.28 kB / 321.4 MB, free: 1.707 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.004656, allocations: 61.12 kB / 321.4 MB, free: 1.637 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.89e-05/0.004714, allocations: 110.3 kB / 321.6 MB, free: 1.527 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.004722, allocations: 27.56 kB / 321.6 MB, free: 1.496 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.976e-05/0.004742, allocations: 81.78 kB / 321.7 MB, free: 1.414 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.004744, allocations: 3.938 kB / 321.7 MB, free: 1.41 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.004764, allocations: 12.77 kB / 321.7 MB, free: 1.395 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.004808, allocations: 317 kB / 322 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.004812, allocations: 0 / 322 MB, free: 1.078 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-06/0.004814, allocations: 1.094 kB / 322 MB, free: 1.078 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.127e-05/0.004826, allocations: 80.25 kB / 322.1 MB, free: 1 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.004837, allocations: 75.84 kB / 322.1 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.597e-05/0.004882, allocations: 32.77 kB / 322.2 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.004902, allocations: 84.59 kB / 322.3 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.004915, allocations: 80.81 kB / 322.3 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/0.004942, allocations: 152.2 kB / 322.5 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.267e-06/0.004952, allocations: 77.42 kB / 322.6 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.042e-05/0.004972, allocations: 162.6 kB / 322.7 MB, free: 368 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.005023, allocations: 84.56 kB / 322.8 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.005033, allocations: 84.62 kB / 322.9 MB, free: 200 kB / 286.1 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.356e-05/0.005086, allocations: 186.5 kB / 323.1 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.005218, allocations: 53.92 kB / 323.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.005245, allocations: 4.719 kB / 323.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.005248, allocations: 1.375 kB / 323.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.005251, allocations: 0 / 323.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.005258, allocations: 5.016 kB / 323.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.633e-05/0.005345, allocations: 103.2 kB / 323.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.005348, allocations: 0 / 323.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.005392, allocations: 2.375 kB / 323.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.005395, allocations: 1.562 kB / 323.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.005402, allocations: 5.078 kB / 323.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.005404, allocations: 0 / 323.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.005405, allocations: 1.688 kB / 323.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.005559, allocations: 88.61 kB / 323.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.00557, allocations: 6.188 kB / 323.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.005586, allocations: 6.25 kB / 323.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.027e-05/0.005607, allocations: 1.25 kB / 323.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-06/0.005609, allocations: 3.938 kB / 323.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.005615, allocations: 2.188 kB / 323.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.707e-05/0.005672, allocations: 83.86 kB / 323.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.005673, allocations: 1.219 kB / 323.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.005889, allocations: 6.375 kB / 323.4 MB, free: 15.65 MB / 302.1 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.0001227/0.006012, allocations: 99.19 kB / 323.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.1e-05/0.006103, allocations: 18.03 kB / 323.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006104, allocations: 0 / 323.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.006105, allocations: 0 / 323.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.006351, allocations: 18.67 kB / 323.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.006636, allocations: 109.8 kB / 323.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.02e-05/0.006716, allocations: 68.17 kB / 323.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.016e-05/0.006726, allocations: 0 / 323.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.006753, allocations: 10.88 kB / 323.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.006754, allocations: 0 / 323.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of Templates: time 0.002649/0.009403, allocations: 293.6 kB / 324 MB, free: 15.28 MB / 302.1 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: 4.239179667085409]