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.001992/0.001992, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.002649/0.002649, allocations: 189.3 kB / 23.72 MB, free: 4.68 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.63/1.63, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.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.001532/0.001532, allocations: 43.92 kB / 370.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2726, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.00261/0.2752, allocations: 1.44 MB / 424.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001913/0.2754, allocations: 39.84 kB / 424.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.332e-05/0.2755, allocations: 0 / 424.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.2755, allocations: 0 / 424.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.034e-05/0.2755, allocations: 3.938 kB / 424.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.2757, allocations: 19.97 kB / 424.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.2759, allocations: 35.92 kB / 424.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.919e-05/0.276, allocations: 4 kB / 424.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.023e-05/0.276, allocations: 11.94 kB / 424.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.497e-05/0.276, allocations: 19.91 kB / 424.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.2761, allocations: 0 / 424.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.2761, allocations: 4 kB / 424.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.2761, allocations: 4 kB / 424.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.2761, allocations: 15.92 kB / 424.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.573e-05/0.2762, allocations: 35.69 kB / 424.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2762, allocations: 3.938 kB / 424.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2762, allocations: 0 / 424.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.2762, allocations: 4 kB / 424.7 MB, free: 13.02 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.0004052/0.2766, allocations: 263.7 kB / 425 MB, free: 12.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.2767, allocations: 12.03 kB / 425 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.2767, allocations: 0.9375 kB / 425 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.2769, allocations: 130.4 kB / 425.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.2769, allocations: 384 / 425.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.2769, allocations: 4.375 kB / 425.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.2773, allocations: 115.8 kB / 425.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2773, allocations: 4.188 kB / 425.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2773, allocations: 3.938 kB / 425.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2773, allocations: 0 / 425.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.2774, allocations: 19.98 kB / 425.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.2776, allocations: 132.7 kB / 425.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.2777, allocations: 54.5 kB / 425.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.258e-05/0.2778, allocations: 20.92 kB / 425.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.2778, allocations: 4 kB / 425.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.2778, allocations: 30.56 kB / 425.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2778, allocations: 0 / 425.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002685/0.2781, allocations: 81.53 kB / 425.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.2782, allocations: 55.41 kB / 425.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.918e-05/0.2783, allocations: 109.8 kB / 425.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.2783, allocations: 25.7 kB / 425.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.2783, allocations: 80.14 kB / 425.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.2783, allocations: 11.95 kB / 425.9 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.2784, allocations: 13.72 kB / 425.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2785, allocations: 318.8 kB / 426.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.2785, allocations: 7.938 kB / 426.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-05/0.2786, allocations: 31.44 kB / 426.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.943e-05/0.2786, allocations: 39.36 kB / 426.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2786, allocations: 0 / 426.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.019e-05/0.2787, allocations: 61.73 kB / 426.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2787, allocations: 11.42 kB / 426.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2787, allocations: 3.938 kB / 426.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2788, allocations: 7.938 kB / 426.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.844e-05/0.2788, allocations: 4 kB / 426.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2788, allocations: 0 / 426.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.197e-05/0.2788, allocations: 3.938 kB / 426.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.2788, allocations: 4 kB / 426.4 MB, free: 11.18 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 9.263e-05/0.2789, allocations: 113.8 kB / 426.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.2791, allocations: 69.59 kB / 426.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.2791, allocations: 11.62 kB / 426.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2791, allocations: 0 / 426.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2791, allocations: 0 / 426.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2791, allocations: 384 / 426.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.2792, allocations: 128.7 kB / 426.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2792, allocations: 4 kB / 426.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/0.2792, allocations: 4 kB / 426.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2792, allocations: 240 / 426.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.2793, allocations: 7.938 kB / 426.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2793, allocations: 0 / 426.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.2793, allocations: 11.92 kB / 426.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.2794, allocations: 89.08 kB / 426.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.2795, allocations: 7.953 kB / 426.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.2795, allocations: 3.938 kB / 426.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.976e-05/0.2795, allocations: 4 kB / 426.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-06/0.2795, allocations: 0 / 426.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.2795, allocations: 0 / 426.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.79e-05/0.2796, allocations: 95.2 kB / 426.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2796, allocations: 3.938 kB / 426.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001851/0.2798, allocations: 4 kB / 426.9 MB, free: 10.55 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.0001069/0.2799, allocations: 99.25 kB / 427 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.28, allocations: 23.98 kB / 427 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.28, allocations: 3.938 kB / 427 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.7e-07/0.28, allocations: 0 / 427 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.2802, allocations: 28.25 kB / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.2805, allocations: 113.6 kB / 427.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.2809, allocations: 0.6915 MB / 427.9 MB, free: 9.539 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.487e-05/0.2809, allocations: 0 / 427.9 MB, free: 9.539 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.2809, allocations: 11.42 kB / 427.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2809, allocations: 0 / 427.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of Templates: time 0.002549/0.2834, allocations: 388.5 kB / 428.3 MB, free: 9.148 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.793933314271271]