Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 91.61 kB / 20.96 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 161.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.476e-05, allocations: 6.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003349/0.003384, allocations: 1.494 MB / 273.8 MB, free: 340 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003257/0.003709, allocations: 95.64 kB / 273.9 MB, free: 244 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.314e-05/0.003773, allocations: 0 / 273.9 MB, free: 244 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.003802, allocations: 7.938 kB / 273.9 MB, free: 236 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.931e-05/0.003861, allocations: 11.88 kB / 273.9 MB, free: 224 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.004107, allocations: 19.97 kB / 273.9 MB, free: 204 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.004209, allocations: 23.92 kB / 274 MB, free: 180 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.004321, allocations: 15.97 kB / 274 MB, free: 164 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/0.004379, allocations: 11.94 kB / 274 MB, free: 152 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.675e-05/0.004426, allocations: 7.984 kB / 274 MB, free: 144 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.004451, allocations: 4 kB / 274 MB, free: 140 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-06/0.004459, allocations: 0 / 274 MB, free: 140 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.004478, allocations: 4 kB / 274 MB, free: 136 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.004512, allocations: 7.938 kB / 274 MB, free: 128 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.004617, allocations: 35.89 kB / 274.1 MB, free: 92 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.004624, allocations: 7.922 kB / 274.1 MB, free: 84 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004625, allocations: 0 / 274.1 MB, free: 84 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.00463, allocations: 0 / 274.1 MB, free: 84 kB / 250.7 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.0005437/0.005174, allocations: 368.2 kB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.00522, allocations: 8.031 kB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.005264, allocations: 8.891 kB / 274.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.005457, allocations: 116.6 kB / 274.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.00547, allocations: 4.375 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.005481, allocations: 8.312 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.005784, allocations: 105.5 kB / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.005792, allocations: 192 / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.0058, allocations: 384 / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.005804, allocations: 384 / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.774e-05/0.005882, allocations: 27.86 kB / 274.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.006036, allocations: 116.6 kB / 274.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.006207, allocations: 59.08 kB / 274.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.384e-05/0.006271, allocations: 23.72 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.006294, allocations: 0 / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.006327, allocations: 37.39 kB / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.006328, allocations: 0 / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002374/0.006566, allocations: 73.59 kB / 275 MB, free: 15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.006624, allocations: 51.41 kB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.006771, allocations: 173.9 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.006793, allocations: 29.7 kB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.361e-05/0.006887, allocations: 134.9 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.006889, allocations: 4 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.006916, allocations: 15.38 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002875/0.007204, allocations: 0.4884 MB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-06/0.007208, allocations: 0 / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.496e-06/0.007212, allocations: 0 / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.019e-05/0.007282, allocations: 123.2 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-05/0.007352, allocations: 119.2 kB / 276.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.114e-05/0.007413, allocations: 33.64 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.21e-05/0.007495, allocations: 123.2 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.44e-05/0.00757, allocations: 123.2 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.007719, allocations: 246.3 kB / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.007784, allocations: 119.4 kB / 276.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001489/0.007933, allocations: 246.4 kB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.008071, allocations: 131.1 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.554e-05/0.008156, allocations: 123.2 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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.0002305/0.008387, allocations: 275.8 kB / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.008508, allocations: 61.58 kB / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.00854, allocations: 4 kB / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008542, allocations: 0 / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.008549, allocations: 7.938 kB / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.008554, allocations: 7.938 kB / 277.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.008665, allocations: 116.6 kB / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.008669, allocations: 0 / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.587e-05/0.008745, allocations: 4 kB / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.008751, allocations: 4 kB / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.008758, allocations: 0 / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.008762, allocations: 0 / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.008765, allocations: 3.984 kB / 277.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.008948, allocations: 92.38 kB / 277.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.008963, allocations: 11.89 kB / 277.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.008981, allocations: 7.938 kB / 277.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.893e-05/0.009, allocations: 4 kB / 277.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-06/0.009003, allocations: 0 / 277.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.009008, allocations: 0 / 277.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.496e-05/0.009093, allocations: 131.2 kB / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009093, allocations: 0 / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001987/0.009292, allocations: 4 kB / 278 MB, free: 11.88 MB / 266.7 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.0001387/0.00943, allocations: 99.19 kB / 278.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.54e-05/0.009516, allocations: 11.98 kB / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.009517, allocations: 0 / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.009518, allocations: 4 kB / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.009776, allocations: 19.47 kB / 278.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.01009, allocations: 132.2 kB / 278.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.976e-05/0.01017, allocations: 67.33 kB / 278.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.056e-06/0.01018, allocations: 0 / 278.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.01022, allocations: 12.5 kB / 278.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of SimCode: time 4.4e-07/0.01022, allocations: 0 / 278.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of Templates: time 0.00304/0.01326, allocations: 301.6 kB / 278.6 MB, free: 11.2 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.4579108220059425]