Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001811/0.001811, allocations: 204.1 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.663/1.663, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 71.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3512, allocations: 53.31 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002979/0.3541, allocations: 1.488 MB / 433.5 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001802/0.3543, allocations: 31.86 kB / 433.6 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.3544, allocations: 0 / 433.6 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.3544, allocations: 7.922 kB / 433.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.568e-05/0.3545, allocations: 7.938 kB / 433.6 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.3547, allocations: 23.97 kB / 433.6 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.537e-05/0.3548, allocations: 31.86 kB / 433.6 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3549, allocations: 8 kB / 433.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.455e-05/0.3549, allocations: 8 kB / 433.7 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.76e-05/0.355, allocations: 11.92 kB / 433.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.355, allocations: 0 / 433.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.355, allocations: 4 kB / 433.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.355, allocations: 11.92 kB / 433.7 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.3551, allocations: 15.92 kB / 433.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.742e-05/0.3552, allocations: 29.88 kB / 433.7 MB, free: 5.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3552, allocations: 4 kB / 433.7 MB, free: 5.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3552, allocations: 0 / 433.7 MB, free: 5.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3552, allocations: 0 / 433.7 MB, free: 5.707 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.0005018/0.3557, allocations: 347.3 kB / 434.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3557, allocations: 8.031 kB / 434.1 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.3558, allocations: 8.891 kB / 434.1 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.3561, allocations: 172.4 kB / 434.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.3561, allocations: 8.312 kB / 434.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.3561, allocations: 12.36 kB / 434.3 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.3565, allocations: 115.8 kB / 434.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3565, allocations: 192 / 434.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.3565, allocations: 7.938 kB / 434.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3565, allocations: 3.938 kB / 434.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.3566, allocations: 23.97 kB / 434.4 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.3568, allocations: 157.7 kB / 434.6 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.357, allocations: 54.52 kB / 434.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.621e-05/0.3571, allocations: 28.88 kB / 434.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.3571, allocations: 4 kB / 434.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3571, allocations: 34.56 kB / 434.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3571, allocations: 0 / 434.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002947/0.3574, allocations: 85.55 kB / 434.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.3574, allocations: 55.41 kB / 434.8 MB, free: 4.414 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.254e-05/0.3575, allocations: 109.8 kB / 434.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.3576, allocations: 25.7 kB / 435 MB, free: 4.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/0.3576, allocations: 84.14 kB / 435 MB, free: 4.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.3577, allocations: 4 kB / 435.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.3577, allocations: 17.72 kB / 435.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3578, allocations: 314.8 kB / 435.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.904e-05/0.3579, allocations: 12.19 kB / 435.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.3579, allocations: 31.44 kB / 435.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.26e-05/0.358, allocations: 35.38 kB / 435.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.358, allocations: 0 / 435.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001023/0.3581, allocations: 69.58 kB / 435.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3581, allocations: 4 kB / 435.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3581, allocations: 3.938 kB / 435.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3581, allocations: 4 kB / 435.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.56e-05/0.3582, allocations: 11.98 kB / 435.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3582, allocations: 7.922 kB / 435.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.919e-05/0.3582, allocations: 0 / 435.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.3582, allocations: 4 kB / 435.6 MB, free: 3.625 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.215e-05/0.3583, allocations: 122.1 kB / 435.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.3584, allocations: 61.66 kB / 435.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.3585, allocations: 11.84 kB / 435.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3585, allocations: 4 kB / 435.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3585, allocations: 0 / 435.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.3585, allocations: 3.984 kB / 435.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.3586, allocations: 157.6 kB / 435.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3586, allocations: 0 / 435.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.3587, allocations: 15.92 kB / 435.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3587, allocations: 0 / 435.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.3587, allocations: 7.938 kB / 435.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3587, allocations: 0 / 435.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3587, allocations: 0 / 435.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.3589, allocations: 85.11 kB / 436 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.3589, allocations: 89.03 kB / 436.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.359, allocations: 7.938 kB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.373e-05/0.359, allocations: 4 kB / 436.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-06/0.359, allocations: 0 / 436.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.359, allocations: 4.125 kB / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.49e-05/0.3591, allocations: 87.27 kB / 436.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3591, allocations: 3.938 kB / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001843/0.3592, allocations: 8 kB / 436.2 MB, free: 2.859 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.0001367/0.3594, allocations: 99.25 kB / 436.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.3595, allocations: 27.92 kB / 436.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3595, allocations: 0 / 436.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.82e-07/0.3595, allocations: 4.25 kB / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.3598, allocations: 27.92 kB / 436.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.3602, allocations: 133.5 kB / 436.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3605, allocations: 0.6768 MB / 437.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.057e-05/0.3605, allocations: 4 kB / 437.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.3606, allocations: 7.438 kB / 437.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3606, allocations: 0 / 437.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of Templates: time 0.003179/0.3637, allocations: 454.1 kB / 437.6 MB, free: 1.383 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 5.03255397407338]