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.TimeBasedStep.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.001454/0.001454, allocations: 114.5 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.001609/0.001609, allocations: 209.4 kB / 24.47 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.564/1.564, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [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.002044/0.002044, allocations: 79.8 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3913, allocations: 53.3 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.00319/0.3945, allocations: 1.491 MB / 433.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003206/0.3948, allocations: 95.73 kB / 433.6 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.624e-05/0.3949, allocations: 3.938 kB / 433.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.3949, allocations: 3.984 kB / 433.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.849e-05/0.395, allocations: 3.938 kB / 433.6 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.3953, allocations: 23.92 kB / 433.7 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.734e-05/0.3954, allocations: 31.86 kB / 433.7 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3955, allocations: 11.98 kB / 433.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.132e-05/0.3955, allocations: 8 kB / 433.7 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.496e-05/0.3956, allocations: 19.86 kB / 433.7 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.3956, allocations: 0 / 433.7 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.3956, allocations: 4 kB / 433.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.3956, allocations: 0 / 433.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.3957, allocations: 11.94 kB / 433.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.669e-05/0.3958, allocations: 25.86 kB / 433.8 MB, free: 5.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3958, allocations: 0 / 433.8 MB, free: 5.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3958, allocations: 11.94 kB / 433.8 MB, free: 5.641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3958, allocations: 0 / 433.8 MB, free: 5.641 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.0005117/0.3963, allocations: 343.4 kB / 434.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3963, allocations: 8.031 kB / 434.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.3964, allocations: 8.891 kB / 434.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.3967, allocations: 180.2 kB / 434.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.3967, allocations: 12.36 kB / 434.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.3967, allocations: 384 / 434.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.3971, allocations: 107.9 kB / 434.4 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3971, allocations: 192 / 434.4 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3971, allocations: 7.938 kB / 434.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.3971, allocations: 0 / 434.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.149e-05/0.3972, allocations: 15.98 kB / 434.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.3974, allocations: 161.6 kB / 434.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.3975, allocations: 54.48 kB / 434.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.987e-05/0.3976, allocations: 24.92 kB / 434.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.3976, allocations: 0 / 434.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.3977, allocations: 30.56 kB / 434.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3977, allocations: 4 kB / 434.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.00024/0.3979, allocations: 69.61 kB / 434.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.398, allocations: 59.41 kB / 434.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.954e-05/0.3981, allocations: 109.8 kB / 435 MB, free: 4.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3981, allocations: 25.7 kB / 435 MB, free: 4.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.3981, allocations: 84.08 kB / 435.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.678e-06/0.3982, allocations: 4 kB / 435.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.3982, allocations: 13.72 kB / 435.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3983, allocations: 322.8 kB / 435.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.3984, allocations: 4 kB / 435.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.405e-05/0.3984, allocations: 23.44 kB / 435.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.027e-05/0.3985, allocations: 43.36 kB / 435.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3985, allocations: 0 / 435.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.259e-05/0.3985, allocations: 49.64 kB / 435.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3986, allocations: 6.812 kB / 435.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3986, allocations: 3.938 kB / 435.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3986, allocations: 4 kB / 435.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.378e-05/0.3986, allocations: 7.984 kB / 435.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3986, allocations: 7.875 kB / 435.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.3987, allocations: 16.08 kB / 435.6 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.3987, allocations: 0 / 435.6 MB, free: 3.613 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001019/0.3988, allocations: 109.8 kB / 435.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.3989, allocations: 57.67 kB / 435.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.3989, allocations: 12.17 kB / 435.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3989, allocations: 0 / 435.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3989, allocations: 0 / 435.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3989, allocations: 3.984 kB / 435.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.3991, allocations: 157.7 kB / 435.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3991, allocations: 0 / 435.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.953e-05/0.3992, allocations: 15.92 kB / 435.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3992, allocations: 0 / 435.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3992, allocations: 3.938 kB / 435.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.3992, allocations: 3.938 kB / 435.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3992, allocations: 0 / 435.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.3994, allocations: 85.06 kB / 436 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.3995, allocations: 85.11 kB / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.3995, allocations: 7.938 kB / 436.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.415e-05/0.3995, allocations: 0 / 436.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-06/0.3995, allocations: 0 / 436.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3995, allocations: 4 kB / 436.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.425e-05/0.3996, allocations: 87.52 kB / 436.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3996, allocations: 0 / 436.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001872/0.3998, allocations: 8 kB / 436.2 MB, free: 2.879 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.000134/0.3999, allocations: 99.25 kB / 436.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.4, allocations: 31.92 kB / 436.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4, allocations: 0 / 436.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.4, allocations: 0 / 436.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.4003, allocations: 24 kB / 436.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.4006, allocations: 125.4 kB / 436.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.4009, allocations: 0.6809 MB / 437.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.471e-05/0.4009, allocations: 4 kB / 437.2 MB, free: 1.855 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.401, allocations: 7.438 kB / 437.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.401, allocations: 0 / 437.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of Templates: time 0.002704/0.4037, allocations: 343.3 kB / 437.5 MB, free: 1.516 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.813868518918753]