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.00157/0.00157, allocations: 113 kB / 21.18 MB, free: 0.5898 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.00185/0.00185, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.436/1.436, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.001914/0.001914, allocations: 67.84 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2767, allocations: 53.31 MB / 432 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003103/0.2798, allocations: 1.507 MB / 433.6 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002976/0.2801, allocations: 91.75 kB / 433.6 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.687e-05/0.2802, allocations: 0 / 433.6 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.357e-05/0.2802, allocations: 11.92 kB / 433.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.86e-05/0.2803, allocations: 3.938 kB / 433.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.2805, allocations: 19.92 kB / 433.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.961e-05/0.2806, allocations: 31.86 kB / 433.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2807, allocations: 11.98 kB / 433.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.862e-05/0.2808, allocations: 11.92 kB / 433.7 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.578e-05/0.2808, allocations: 11.92 kB / 433.7 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.2809, allocations: 4 kB / 433.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.918e-06/0.2809, allocations: 4 kB / 433.8 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.2809, allocations: 4 kB / 433.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.2809, allocations: 15.94 kB / 433.8 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.81e-05/0.281, allocations: 25.81 kB / 433.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.281, allocations: 0 / 433.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.281, allocations: 0 / 433.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.281, allocations: 4 kB / 433.8 MB, free: 5.594 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.0004864/0.2815, allocations: 339.4 kB / 434.1 MB, free: 5.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2816, allocations: 8.031 kB / 434.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.2816, allocations: 12.89 kB / 434.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.2818, allocations: 176.3 kB / 434.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-06/0.2819, allocations: 4.375 kB / 434.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.2819, allocations: 4.375 kB / 434.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.2822, allocations: 107.8 kB / 434.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.2822, allocations: 192 / 434.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2822, allocations: 7.922 kB / 434.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2822, allocations: 4 kB / 434.4 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.983e-05/0.2823, allocations: 19.98 kB / 434.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.2825, allocations: 157.6 kB / 434.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.2827, allocations: 50.55 kB / 434.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.2827, allocations: 28.86 kB / 434.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.2827, allocations: 0 / 434.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.2828, allocations: 38.5 kB / 434.7 MB, free: 4.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.2828, allocations: 0 / 434.7 MB, free: 4.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002541/0.283, allocations: 69.61 kB / 434.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.2831, allocations: 55.41 kB / 434.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.797e-05/0.2832, allocations: 106 kB / 435 MB, free: 4.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.2832, allocations: 25.7 kB / 435 MB, free: 4.199 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.2833, allocations: 88.14 kB / 435.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/0.2833, allocations: 0 / 435.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.2833, allocations: 17.72 kB / 435.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.2835, allocations: 314.8 kB / 435.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.2835, allocations: 4 kB / 435.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.263e-05/0.2835, allocations: 35.62 kB / 435.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.519e-05/0.2836, allocations: 35.38 kB / 435.5 MB, free: 3.672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2836, allocations: 7.984 kB / 435.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.824e-05/0.2836, allocations: 49.73 kB / 435.5 MB, free: 3.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2837, allocations: 4 kB / 435.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2837, allocations: 7.922 kB / 435.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.2837, allocations: 12.06 kB / 435.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.63e-05/0.2837, allocations: 7.984 kB / 435.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.2838, allocations: 0 / 435.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.2838, allocations: 7.953 kB / 435.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.2838, allocations: 0 / 435.6 MB, free: 3.57 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.0001069/0.2839, allocations: 117.8 kB / 435.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.284, allocations: 53.67 kB / 435.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.284, allocations: 15.84 kB / 435.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.284, allocations: 4 kB / 435.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.284, allocations: 0 / 435.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.284, allocations: 0 / 435.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.2842, allocations: 153.7 kB / 435.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2842, allocations: 0 / 435.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.142e-05/0.2842, allocations: 11.98 kB / 435.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2842, allocations: 0 / 435.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.2842, allocations: 3.938 kB / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2842, allocations: 0 / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2842, allocations: 0 / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.2844, allocations: 93 kB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.2844, allocations: 81.11 kB / 436.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.2845, allocations: 3.938 kB / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.237e-05/0.2845, allocations: 0 / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-06/0.2845, allocations: 0 / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.2845, allocations: 7.938 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.337e-05/0.2846, allocations: 91.27 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2846, allocations: 0 / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001884/0.2847, allocations: 8 kB / 436.2 MB, free: 2.832 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.0001215/0.2849, allocations: 95.25 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.285, allocations: 27.92 kB / 436.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.285, allocations: 4 kB / 436.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.285, allocations: 0 / 436.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.2852, allocations: 20.02 kB / 436.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/0.2856, allocations: 151.5 kB / 436.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.2859, allocations: 0.6806 MB / 437.2 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.2859, allocations: 11.44 kB / 437.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2859, allocations: 3.938 kB / 437.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of Templates: time 0.002239/0.2882, allocations: 0.5455 MB / 437.7 MB, free: 1.227 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 -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: 6.797721301205456]