Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001781/0.001781, allocations: 113 kB / 19.04 MB, free: 3.254 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.001849/0.001849, allocations: 197.9 kB / 22.22 MB, free: 72 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.563/1.563, allocations: 225.6 MB / 250.8 MB, free: 13.34 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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 47.92 kB / 368.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3556, allocations: 52.14 MB / 420.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003056/0.3587, allocations: 1.473 MB / 422.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002036/0.3589, allocations: 35.84 kB / 422.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.427e-05/0.3589, allocations: 7.938 kB / 422.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.359, allocations: 0 / 422.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/0.359, allocations: 3.938 kB / 422.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.3593, allocations: 23.97 kB / 422.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.774e-05/0.3594, allocations: 27.92 kB / 422.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3595, allocations: 4 kB / 422.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.42e-05/0.3595, allocations: 19.91 kB / 422.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.358e-05/0.3595, allocations: 7.938 kB / 422.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.3596, allocations: 4 kB / 422.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.3596, allocations: 4 kB / 422.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.3596, allocations: 11.98 kB / 422.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.3596, allocations: 15.88 kB / 422.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.3597, allocations: 37.38 kB / 422.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.3598, allocations: 3.984 kB / 422.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3598, allocations: 0 / 422.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.3598, allocations: 0 / 422.6 MB, free: 13.36 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.0005177/0.3603, allocations: 343.1 kB / 422.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3603, allocations: 12.02 kB / 422.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.3604, allocations: 4.938 kB / 422.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.3606, allocations: 180.3 kB / 423.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.3606, allocations: 384 / 423.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.3606, allocations: 4.375 kB / 423.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.361, allocations: 119.8 kB / 423.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.361, allocations: 192 / 423.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.361, allocations: 3.938 kB / 423.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.361, allocations: 0 / 423.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.3611, allocations: 35.91 kB / 423.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.3613, allocations: 157.7 kB / 423.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.3615, allocations: 50.55 kB / 423.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.026e-05/0.3616, allocations: 24.92 kB / 423.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.3616, allocations: 0 / 423.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.3616, allocations: 34.56 kB / 423.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.3616, allocations: 4 kB / 423.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000288/0.3619, allocations: 85.67 kB / 423.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.362, allocations: 59.41 kB / 423.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.396e-05/0.3621, allocations: 105.8 kB / 423.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3621, allocations: 25.7 kB / 423.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.3621, allocations: 80.14 kB / 423.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.3621, allocations: 4 kB / 423.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.3622, allocations: 13.72 kB / 423.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3623, allocations: 326.8 kB / 424.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.3623, allocations: 0 / 424.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/0.3623, allocations: 39.36 kB / 424.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.662e-05/0.3624, allocations: 43.36 kB / 424.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3624, allocations: 0 / 424.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.331e-05/0.3625, allocations: 65.56 kB / 424.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3625, allocations: 4 kB / 424.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3625, allocations: 3.938 kB / 424.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3625, allocations: 4 kB / 424.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.792e-05/0.3626, allocations: 4 kB / 424.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3626, allocations: 4 kB / 424.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.3626, allocations: 8.391 kB / 424.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.3626, allocations: 11.94 kB / 424.4 MB, free: 11.29 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: 2 ($CLKPRE.step.counter,step.counter) * 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.751e-05/0.3627, allocations: 117.8 kB / 424.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.3629, allocations: 65.61 kB / 424.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.3629, allocations: 15.83 kB / 424.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.3629, allocations: 0 / 424.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3629, allocations: 0 / 424.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3629, allocations: 4 kB / 424.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.3631, allocations: 153.7 kB / 424.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3631, allocations: 0 / 424.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.866e-05/0.3631, allocations: 15.98 kB / 424.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3631, allocations: 0 / 424.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3631, allocations: 3.938 kB / 424.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3631, allocations: 0 / 424.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3631, allocations: 0 / 424.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.3633, allocations: 99.09 kB / 424.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.3634, allocations: 81.11 kB / 424.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.3634, allocations: 3.938 kB / 424.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.206e-05/0.3635, allocations: 8 kB / 424.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-06/0.3635, allocations: 0 / 424.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3635, allocations: 3.984 kB / 424.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.669e-05/0.3635, allocations: 83.28 kB / 425 MB, free: 10.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3635, allocations: 0 / 425 MB, free: 10.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001979/0.3637, allocations: 4 kB / 425 MB, free: 10.53 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: 1 (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.0001675/0.3639, allocations: 100 kB / 425.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.3641, allocations: 39.97 kB / 425.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3641, allocations: 0 / 425.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.3641, allocations: 0 / 425.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.3644, allocations: 28 kB / 425.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.3648, allocations: 121.5 kB / 425.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.3652, allocations: 0.6883 MB / 426 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.86e-05/0.3652, allocations: 11.92 kB / 426 MB, free: 9.488 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.3653, allocations: 11.62 kB / 426 MB, free: 9.477 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3653, allocations: 0 / 426 MB, free: 9.477 MB / 334.1 MB Notification: Performance of Templates: time 0.002953/0.3682, allocations: 440.8 kB / 426.4 MB, free: 9.047 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.94878002628684]