Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.001663/0.001663, allocations: 117.9 kB / 18.41 MB, free: 4.688 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.001938/0.001938, allocations: 189.3 kB / 21.35 MB, free: 1.75 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.444/1.444, allocations: 222.9 MB / 247.1 MB, free: 4.207 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 43.92 kB / 358.7 MB, free: 8.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.102, allocations: 49.44 MB / 408.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002711/0.1047, allocations: 1.403 MB / 409.5 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001886/0.105, allocations: 27.92 kB / 409.5 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.333e-05/0.105, allocations: 3.938 kB / 409.5 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.1051, allocations: 3.984 kB / 409.5 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.474e-05/0.1051, allocations: 3.938 kB / 409.5 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.1054, allocations: 19.98 kB / 409.6 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.735e-05/0.1055, allocations: 31.91 kB / 409.6 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.1056, allocations: 8 kB / 409.6 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.767e-05/0.1056, allocations: 11.94 kB / 409.6 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.1057, allocations: 19.92 kB / 409.6 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1057, allocations: 4 kB / 409.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-06/0.1057, allocations: 0 / 409.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.1057, allocations: 4 kB / 409.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.1058, allocations: 23.84 kB / 409.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.925e-05/0.1059, allocations: 27.84 kB / 409.7 MB, free: 5.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1059, allocations: 0 / 409.7 MB, free: 5.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1059, allocations: 0 / 409.7 MB, free: 5.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1059, allocations: 0 / 409.7 MB, free: 5.301 MB / 334.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.0004639/0.1064, allocations: 347.3 kB / 410 MB, free: 4.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1064, allocations: 19.89 kB / 410.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.1064, allocations: 0.9375 kB / 410.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.1067, allocations: 180.3 kB / 410.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.1067, allocations: 4.375 kB / 410.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.1067, allocations: 12.31 kB / 410.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.1071, allocations: 111.8 kB / 410.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1071, allocations: 4.188 kB / 410.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1071, allocations: 7.938 kB / 410.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1071, allocations: 0 / 410.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.1072, allocations: 19.97 kB / 410.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.1074, allocations: 157.7 kB / 410.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.1076, allocations: 54.48 kB / 410.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.345e-05/0.1076, allocations: 24.92 kB / 410.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.1077, allocations: 4 kB / 410.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1077, allocations: 30.56 kB / 410.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.1077, allocations: 0 / 410.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002679/0.108, allocations: 73.8 kB / 410.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.108, allocations: 63.28 kB / 410.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.242e-05/0.1081, allocations: 101.8 kB / 410.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1082, allocations: 25.7 kB / 410.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.1082, allocations: 88.14 kB / 411 MB, free: 3.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.1082, allocations: 11.94 kB / 411 MB, free: 3.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.1083, allocations: 17.72 kB / 411 MB, free: 3.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1084, allocations: 310.8 kB / 411.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.1085, allocations: 8 kB / 411.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.744e-05/0.1085, allocations: 31.41 kB / 411.4 MB, free: 3.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.679e-05/0.1086, allocations: 43.38 kB / 411.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1086, allocations: 0 / 411.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.676e-05/0.1087, allocations: 57.62 kB / 411.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1087, allocations: 4 kB / 411.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1087, allocations: 7.938 kB / 411.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1087, allocations: 4.125 kB / 411.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.119e-05/0.1088, allocations: 7.938 kB / 411.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1088, allocations: 3.984 kB / 411.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.1088, allocations: 4 kB / 411.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.1088, allocations: 0 / 411.5 MB, free: 3.242 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.828e-05/0.1089, allocations: 117.8 kB / 411.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.1091, allocations: 61.64 kB / 411.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.1091, allocations: 11.42 kB / 411.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1091, allocations: 4 kB / 411.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1091, allocations: 4 kB / 411.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1091, allocations: 0 / 411.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.1093, allocations: 157.6 kB / 411.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1093, allocations: 384 / 411.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.1093, allocations: 11.92 kB / 411.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1093, allocations: 0 / 411.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1093, allocations: 11.88 kB / 411.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1093, allocations: 0 / 411.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1094, allocations: 0 / 411.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.1095, allocations: 89.11 kB / 412 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.868e-05/0.1096, allocations: 85 kB / 412 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.1096, allocations: 7.938 kB / 412 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.08e-05/0.1097, allocations: 7.984 kB / 412.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-06/0.1097, allocations: 0 / 412.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1097, allocations: 0 / 412.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.775e-05/0.1097, allocations: 79.28 kB / 412.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1097, allocations: 0 / 412.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000186/0.1099, allocations: 8 kB / 412.1 MB, free: 2.492 MB / 334.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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.000138/0.1101, allocations: 111.1 kB / 412.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.1102, allocations: 23.98 kB / 412.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1102, allocations: 0 / 412.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.035e-06/0.1102, allocations: 3.984 kB / 412.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.1105, allocations: 31.8 kB / 412.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.1108, allocations: 143.3 kB / 412.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.1111, allocations: 0.6847 MB / 413.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.1112, allocations: 11.44 kB / 413.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1112, allocations: 0 / 413.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of Templates: time 0.00219/0.1134, allocations: 0.598 MB / 413.7 MB, free: 0.8203 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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: 6.500652568996884]