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.001687/0.001687, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.001772/0.001772, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.561/1.561, allocations: 225.6 MB / 250.8 MB, free: 13.38 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.001562/0.001562, allocations: 47.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3372, allocations: 52.14 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.00283/0.34, allocations: 1.442 MB / 422.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000204/0.3402, allocations: 35.84 kB / 422.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.505e-05/0.3403, allocations: 0 / 422.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.3403, allocations: 0 / 422.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.452e-05/0.3404, allocations: 3.938 kB / 422.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.3407, allocations: 27.91 kB / 422.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.826e-05/0.3408, allocations: 27.92 kB / 422.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3409, allocations: 15.98 kB / 422.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.403e-05/0.3409, allocations: 15.92 kB / 422.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.917e-05/0.341, allocations: 15.92 kB / 422.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.341, allocations: 4 kB / 422.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.341, allocations: 0 / 422.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.341, allocations: 0 / 422.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.3411, allocations: 15.88 kB / 422.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.3412, allocations: 41.36 kB / 422.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.3412, allocations: 0 / 422.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3412, allocations: 0 / 422.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.3412, allocations: 0 / 422.5 MB, free: 13.49 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.000579/0.3418, allocations: 355.1 kB / 422.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3419, allocations: 11.89 kB / 422.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.3419, allocations: 4.938 kB / 422.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.3422, allocations: 172.3 kB / 423 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.3422, allocations: 4.375 kB / 423 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.3422, allocations: 4.375 kB / 423 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.3426, allocations: 123.8 kB / 423.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3426, allocations: 192 / 423.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3426, allocations: 3.938 kB / 423.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3426, allocations: 0 / 423.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.3428, allocations: 27.91 kB / 423.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.343, allocations: 165.6 kB / 423.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.3431, allocations: 50.58 kB / 423.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.669e-05/0.3432, allocations: 32.89 kB / 423.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.3432, allocations: 0 / 423.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.3433, allocations: 30.56 kB / 423.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3433, allocations: 0 / 423.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003186/0.3436, allocations: 89.48 kB / 423.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.3436, allocations: 51.41 kB / 423.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3437, allocations: 109.8 kB / 423.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.3438, allocations: 25.7 kB / 423.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/0.3438, allocations: 92.14 kB / 423.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.3438, allocations: 3.984 kB / 423.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.3439, allocations: 17.72 kB / 423.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.344, allocations: 310.8 kB / 424.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.344, allocations: 11.98 kB / 424.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.205e-05/0.3441, allocations: 27.44 kB / 424.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.107e-05/0.3441, allocations: 39.38 kB / 424.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3441, allocations: 3.938 kB / 424.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9e-05/0.3442, allocations: 65.52 kB / 424.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3442, allocations: 8 kB / 424.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3443, allocations: 8.062 kB / 424.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3443, allocations: 0 / 424.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-05/0.3443, allocations: 8 kB / 424.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.3443, allocations: 3.984 kB / 424.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.3444, allocations: 7.938 kB / 424.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.3444, allocations: 4 kB / 424.3 MB, free: 11.4 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.787e-05/0.3445, allocations: 113.8 kB / 424.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.3446, allocations: 69.61 kB / 424.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.3447, allocations: 7.844 kB / 424.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3447, allocations: 4 kB / 424.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3447, allocations: 3.938 kB / 424.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3447, allocations: 0 / 424.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.3448, allocations: 157.7 kB / 424.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3448, allocations: 0 / 424.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.572e-05/0.3448, allocations: 8 kB / 424.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.3449, allocations: 3.984 kB / 424.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3449, allocations: 11.94 kB / 424.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3449, allocations: 0 / 424.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3449, allocations: 0 / 424.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.3451, allocations: 99.11 kB / 424.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.3451, allocations: 77.39 kB / 424.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.3451, allocations: 8.312 kB / 424.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.354e-05/0.3452, allocations: 3.984 kB / 424.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-06/0.3452, allocations: 3.984 kB / 424.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.3452, allocations: 8 kB / 424.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.361e-05/0.3453, allocations: 83.28 kB / 425 MB, free: 10.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3453, allocations: 0 / 425 MB, free: 10.64 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.3455, allocations: 8 kB / 425 MB, free: 10.64 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.000118/0.3456, allocations: 99.23 kB / 425.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.3457, allocations: 31.92 kB / 425.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3457, allocations: 4 kB / 425.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.3457, allocations: 0 / 425.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.346, allocations: 28 kB / 425.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.3464, allocations: 133.7 kB / 425.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.3468, allocations: 0.6805 MB / 426 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.72e-05/0.3468, allocations: 4 kB / 426 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.3468, allocations: 7.438 kB / 426 MB, free: 9.594 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3468, allocations: 0 / 426 MB, free: 9.594 MB / 334.1 MB Notification: Performance of Templates: time 0.003244/0.3501, allocations: 448.3 kB / 426.4 MB, free: 9.156 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.85166550334543]