Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.00134/0.00134, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001408/0.001408, allocations: 191.8 kB / 23.7 MB, free: 4.195 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.635/1.635, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 47.92 kB / 370.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2553, allocations: 52.18 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002914/0.2583, allocations: 1.445 MB / 424.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002176/0.2585, allocations: 31.91 kB / 424.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.2586, allocations: 3.938 kB / 424.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.81e-05/0.2586, allocations: 0 / 424.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.613e-05/0.2586, allocations: 3.938 kB / 424.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.2589, allocations: 23.61 kB / 424.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.646e-05/0.259, allocations: 31.91 kB / 424.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.2591, allocations: 7.984 kB / 424.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.2592, allocations: 15.94 kB / 424.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.2592, allocations: 15.92 kB / 424.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.2592, allocations: 4 kB / 424.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.2592, allocations: 0 / 424.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.2593, allocations: 8 kB / 424.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.2593, allocations: 7.922 kB / 424.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.2594, allocations: 35.55 kB / 424.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2594, allocations: 3.938 kB / 424.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2594, allocations: 3.938 kB / 424.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.2594, allocations: 0 / 424.7 MB, free: 12.81 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.0005035/0.2599, allocations: 268.8 kB / 425 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.26, allocations: 16.03 kB / 425 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.26, allocations: 4.875 kB / 425 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.2603, allocations: 122.5 kB / 425.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.2603, allocations: 384 / 425.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.2603, allocations: 8.375 kB / 425.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.2607, allocations: 119.8 kB / 425.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.2607, allocations: 192 / 425.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.2607, allocations: 3.938 kB / 425.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2607, allocations: 4 kB / 425.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.2608, allocations: 27.91 kB / 425.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.261, allocations: 105.3 kB / 425.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.2612, allocations: 50.55 kB / 425.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.393e-05/0.2613, allocations: 24.92 kB / 425.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.2613, allocations: 4 kB / 425.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.2613, allocations: 34.55 kB / 425.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2613, allocations: 0 / 425.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003562/0.2617, allocations: 89.48 kB / 425.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.601e-05/0.2618, allocations: 55.41 kB / 425.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.2619, allocations: 109.8 kB / 425.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.2619, allocations: 25.7 kB / 425.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.262, allocations: 88.14 kB / 425.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.262, allocations: 0 / 425.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.2621, allocations: 25.64 kB / 425.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.2623, allocations: 314.8 kB / 426.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.2623, allocations: 0 / 426.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.274e-05/0.2623, allocations: 35.67 kB / 426.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.225e-05/0.2624, allocations: 39.5 kB / 426.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2624, allocations: 4 kB / 426.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001085/0.2625, allocations: 69.52 kB / 426.3 MB, free: 11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.2626, allocations: 4 kB / 426.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2626, allocations: 0 / 426.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.2626, allocations: 7.938 kB / 426.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.658e-05/0.2627, allocations: 8 kB / 426.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2627, allocations: 0 / 426.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.2627, allocations: 8.062 kB / 426.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.2627, allocations: 4 kB / 426.3 MB, free: 10.96 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 0.0001235/0.2628, allocations: 113.8 kB / 426.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.263, allocations: 65.59 kB / 426.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.263, allocations: 12 kB / 426.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.263, allocations: 7.875 kB / 426.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.263, allocations: 0 / 426.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2631, allocations: 0 / 426.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.2632, allocations: 105.3 kB / 426.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.2632, allocations: 0 / 426.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.2633, allocations: 12 kB / 426.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2633, allocations: 0 / 426.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.2633, allocations: 0 / 426.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2633, allocations: 0 / 426.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.249e-05/0.2633, allocations: 15.91 kB / 426.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.2635, allocations: 93 kB / 426.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.964e-06/0.2635, allocations: 0 / 426.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.2635, allocations: 4 kB / 426.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.167e-05/0.2635, allocations: 3.984 kB / 426.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-06/0.2635, allocations: 3.938 kB / 426.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.2635, allocations: 7.938 kB / 426.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.556e-05/0.2636, allocations: 87.28 kB / 426.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2636, allocations: 0 / 426.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001909/0.2638, allocations: 4 kB / 426.9 MB, free: 10.37 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.0001361/0.2639, allocations: 99.25 kB / 427 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.2641, allocations: 35.91 kB / 427 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2641, allocations: 0 / 427 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.82e-07/0.2641, allocations: 0 / 427 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.2644, allocations: 28 kB / 427 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.2648, allocations: 122.3 kB / 427.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.473e-05/0.2649, allocations: 71.19 kB / 427.2 MB, free: 9.965 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.658e-05/0.2649, allocations: 4 kB / 427.2 MB, free: 9.961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.265, allocations: 7.438 kB / 427.2 MB, free: 9.953 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.265, allocations: 0 / 427.2 MB, free: 9.953 MB / 334.1 MB Notification: Performance of Templates: time 0.003128/0.2681, allocations: 478.4 kB / 427.7 MB, free: 9.5 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.5657330844551325]