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.001484/0.001484, allocations: 78.88 kB / 20.68 MB, free: 1.039 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.001399/0.001399, allocations: 149.6 kB / 23.94 MB, free: 4.176 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.442/1.442, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.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 1.953e-06/1.953e-06, allocations: 0 / 318.9 MB, free: 3.445 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.864e-05, allocations: 2.281 kB / 318.9 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002375/0.002404, allocations: 1.458 MB / 320.4 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002883/0.002692, allocations: 104.1 kB / 320.5 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.143e-05/0.002764, allocations: 1.156 kB / 320.5 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.5e-05/0.002789, allocations: 4.594 kB / 320.5 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.518e-05/0.002834, allocations: 5.844 kB / 320.5 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.003076, allocations: 24.88 kB / 320.5 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.196e-05/0.003168, allocations: 26.05 kB / 320.6 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.00327, allocations: 13.45 kB / 320.6 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.164e-05/0.003322, allocations: 15.88 kB / 320.6 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.365e-05/0.003365, allocations: 6.141 kB / 320.6 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.003386, allocations: 5.312 kB / 320.6 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.003394, allocations: 2.531 kB / 320.6 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.003413, allocations: 9.672 kB / 320.6 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.003444, allocations: 5.422 kB / 320.6 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.651e-05/0.00353, allocations: 30.86 kB / 320.6 MB, free: 2.305 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.003533, allocations: 0 / 320.6 MB, free: 2.305 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.003535, allocations: 0.7031 kB / 320.6 MB, free: 2.305 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.003539, allocations: 5.156 kB / 320.6 MB, free: 2.301 MB / 286.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.0003379/0.003877, allocations: 266.1 kB / 320.9 MB, free: 2.027 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.003914, allocations: 13.52 kB / 320.9 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.003943, allocations: 3.812 kB / 320.9 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.004118, allocations: 127 kB / 321 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.00413, allocations: 1.688 kB / 321 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.004145, allocations: 3.25 kB / 321.1 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.004449, allocations: 108.9 kB / 321.2 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.004459, allocations: 1.375 kB / 321.2 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.004468, allocations: 4.375 kB / 321.2 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.004474, allocations: 5.312 kB / 321.2 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.465e-05/0.004558, allocations: 23.48 kB / 321.2 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.247e-05/0.004651, allocations: 102.8 kB / 321.3 MB, free: 1.672 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.004818, allocations: 55.77 kB / 321.3 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.201e-05/0.00488, allocations: 25.11 kB / 321.4 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.004906, allocations: 2.125 kB / 321.4 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.004925, allocations: 30.56 kB / 321.4 MB, free: 1.586 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.004926, allocations: 0 / 321.4 MB, free: 1.586 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002269/0.005153, allocations: 74.73 kB / 321.5 MB, free: 1.539 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.005185, allocations: 60.59 kB / 321.5 MB, free: 1.469 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.187e-05/0.005247, allocations: 109.8 kB / 321.6 MB, free: 1.363 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/0.005254, allocations: 25.7 kB / 321.7 MB, free: 1.332 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.232e-05/0.005276, allocations: 85.31 kB / 321.7 MB, free: 1.246 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.005278, allocations: 1.219 kB / 321.8 MB, free: 1.246 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.005296, allocations: 15.34 kB / 321.8 MB, free: 1.227 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.454e-05/0.00534, allocations: 315.2 kB / 322.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-06/0.005345, allocations: 0 / 322.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-06/0.005348, allocations: 0 / 322.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.179e-05/0.00536, allocations: 80.81 kB / 322.2 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/0.005369, allocations: 75.28 kB / 322.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.668e-05/0.005416, allocations: 29.02 kB / 322.3 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.005437, allocations: 80.81 kB / 322.3 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.005449, allocations: 80.25 kB / 322.4 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/0.005478, allocations: 151.7 kB / 322.6 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.157e-05/0.00549, allocations: 87.41 kB / 322.6 MB, free: 356 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.005508, allocations: 151.6 kB / 322.8 MB, free: 204 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.005559, allocations: 80.25 kB / 322.9 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.005569, allocations: 80.38 kB / 323 MB, free: 44 kB / 286.1 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.000122/0.005691, allocations: 191.3 kB / 323.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.00581, allocations: 59.3 kB / 323.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.005844, allocations: 9.125 kB / 323.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005846, allocations: 0 / 323.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.00585, allocations: 7.969 kB / 323.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.005862, allocations: 3.938 kB / 323.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.946e-05/0.005951, allocations: 111.9 kB / 323.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.005956, allocations: 0.875 kB / 323.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.114e-05/0.006037, allocations: 10.5 kB / 323.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.006041, allocations: 4 kB / 323.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.006048, allocations: 1.375 kB / 323.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.00605, allocations: 256 / 323.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.006052, allocations: 1.625 kB / 323.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.006204, allocations: 84.88 kB / 323.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.006216, allocations: 6.078 kB / 323.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.006231, allocations: 1.219 kB / 323.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.44e-05/0.006275, allocations: 3.078 kB / 323.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-06/0.006279, allocations: 1.125 kB / 323.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.006285, allocations: 1.25 kB / 323.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.031e-05/0.006346, allocations: 89.05 kB / 323.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.006346, allocations: 1.281 kB / 323.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.006562, allocations: 2.094 kB / 323.5 MB, free: 15.48 MB / 302.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.0001243/0.006686, allocations: 100.1 kB / 323.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.717e-05/0.006784, allocations: 18.61 kB / 323.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.006785, allocations: 0 / 323.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.006786, allocations: 1.094 kB / 323.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.007073, allocations: 18.36 kB / 323.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.007415, allocations: 121.6 kB / 323.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.952e-05/0.007474, allocations: 63.97 kB / 323.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.133e-05/0.007486, allocations: 0 / 323.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.007512, allocations: 14.27 kB / 323.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.007513, allocations: 1.156 kB / 323.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of Templates: time 0.002842/0.01035, allocations: 286.3 kB / 324.1 MB, free: 15.12 MB / 302.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.259770818054676]