Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.001814/0.001814, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001956/0.001956, allocations: 184.2 kB / 23.7 MB, free: 4.191 MB / 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.645/1.645, allocations: 225.7 MB / 252.5 MB, free: 12.84 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 51.92 kB / 370.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3075, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003025/0.3105, allocations: 1.472 MB / 424.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003149/0.3109, allocations: 99.69 kB / 424.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.3109, allocations: 0 / 424.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.311, allocations: 7.875 kB / 424.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.79e-05/0.311, allocations: 7.922 kB / 424.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.3113, allocations: 19.98 kB / 424.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.528e-05/0.3114, allocations: 27.92 kB / 424.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3115, allocations: 3.984 kB / 424.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.668e-05/0.3115, allocations: 11.94 kB / 424.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.3116, allocations: 11.92 kB / 424.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.3116, allocations: 4 kB / 424.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.3116, allocations: 4 kB / 424.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.3116, allocations: 8 kB / 424.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.3117, allocations: 7.938 kB / 424.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.3118, allocations: 35.48 kB / 424.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3118, allocations: 3.984 kB / 424.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3118, allocations: 0 / 424.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.3118, allocations: 0 / 424.8 MB, free: 12.75 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.0004644/0.3123, allocations: 272.8 kB / 425.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3123, allocations: 8.031 kB / 425.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.3123, allocations: 4.938 kB / 425.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.3126, allocations: 122.4 kB / 425.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.3126, allocations: 4.375 kB / 425.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.3126, allocations: 4.375 kB / 425.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.313, allocations: 99.88 kB / 425.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.313, allocations: 4.172 kB / 425.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.313, allocations: 3.938 kB / 425.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.313, allocations: 11.98 kB / 425.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.173e-05/0.3131, allocations: 15.98 kB / 425.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.3132, allocations: 101.3 kB / 425.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.3134, allocations: 58.52 kB / 425.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.541e-05/0.3135, allocations: 20.89 kB / 425.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.3135, allocations: 0 / 425.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.3135, allocations: 34.56 kB / 425.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3135, allocations: 0 / 425.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002485/0.3138, allocations: 81.5 kB / 425.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.3138, allocations: 51.41 kB / 425.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3139, allocations: 113.8 kB / 425.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.3139, allocations: 25.7 kB / 425.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.314, allocations: 88.14 kB / 425.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/0.314, allocations: 0 / 425.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.314, allocations: 21.7 kB / 425.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3142, allocations: 310.8 kB / 426.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.3142, allocations: 4 kB / 426.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.718e-05/0.3143, allocations: 31.42 kB / 426.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.951e-05/0.3143, allocations: 43.31 kB / 426.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3143, allocations: 0 / 426.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.352e-05/0.3144, allocations: 53.62 kB / 426.3 MB, free: 11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3144, allocations: 4 kB / 426.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3144, allocations: 4 kB / 426.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3145, allocations: 11.81 kB / 426.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.044e-05/0.3145, allocations: 8.125 kB / 426.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.3145, allocations: 4 kB / 426.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.3145, allocations: 0 / 426.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3145, allocations: 4 kB / 426.4 MB, free: 10.96 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 9.015e-05/0.3146, allocations: 109.8 kB / 426.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.3147, allocations: 61.62 kB / 426.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.3148, allocations: 8 kB / 426.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3148, allocations: 7.875 kB / 426.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3148, allocations: 0 / 426.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3148, allocations: 4 kB / 426.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.359e-05/0.3149, allocations: 101.3 kB / 426.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3149, allocations: 0 / 426.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.3149, allocations: 8 kB / 426.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3149, allocations: 0 / 426.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3149, allocations: 4 kB / 426.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3149, allocations: 7.984 kB / 426.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3149, allocations: 3.938 kB / 426.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.3151, allocations: 81.44 kB / 426.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.3151, allocations: 7.938 kB / 426.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.3151, allocations: 8 kB / 426.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.186e-05/0.3151, allocations: 0 / 426.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-06/0.3151, allocations: 3.938 kB / 426.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3151, allocations: 256 / 426.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.125e-05/0.3152, allocations: 91.28 kB / 426.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3152, allocations: 3.938 kB / 426.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000278/0.3155, allocations: 4 kB / 426.9 MB, free: 10.38 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.0001139/0.3156, allocations: 95.23 kB / 427 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.3157, allocations: 28.17 kB / 427 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3157, allocations: 0 / 427 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.3157, allocations: 0 / 427 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.3159, allocations: 23.92 kB / 427 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.3162, allocations: 121.6 kB / 427.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.253e-05/0.3163, allocations: 67.2 kB / 427.2 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.309e-05/0.3163, allocations: 4 kB / 427.2 MB, free: 9.996 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.3163, allocations: 11.38 kB / 427.2 MB, free: 9.984 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3163, allocations: 4 kB / 427.2 MB, free: 9.98 MB / 334.1 MB Notification: Performance of Templates: time 0.002796/0.3191, allocations: 341 kB / 427.6 MB, free: 9.652 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.838542237877846]