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.001217/0.001217, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001337/0.001337, allocations: 161 kB / 24.56 MB, free: 12 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.038/1.038, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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 2.935e-06/2.935e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.865e-05/4.159e-05, allocations: 2.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002912/0.002953, allocations: 1.529 MB / 274.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003044/0.003258, allocations: 103.5 kB / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.253e-05/0.00333, allocations: 3.938 kB / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.003365, allocations: 0 / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.818e-05/0.003423, allocations: 7.875 kB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.003696, allocations: 19.97 kB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.951e-05/0.003796, allocations: 31.86 kB / 274.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.003902, allocations: 8 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.709e-05/0.003959, allocations: 23.91 kB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.652e-05/0.004006, allocations: 4 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.004031, allocations: 0 / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.004043, allocations: 4 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.004065, allocations: 7.984 kB / 274.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.0041, allocations: 7.938 kB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.542e-05/0.004195, allocations: 19.91 kB / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004197, allocations: 4 kB / 274.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004198, allocations: 0 / 274.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.004203, allocations: 0 / 274.8 MB, free: 15.75 MB / 266.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.0004205/0.004623, allocations: 364.6 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.004665, allocations: 12.03 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.004711, allocations: 8.891 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.004882, allocations: 120.6 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.004894, allocations: 384 / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.004906, allocations: 4.375 kB / 275.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.005181, allocations: 114.1 kB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.005191, allocations: 192 / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.005202, allocations: 8.375 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.005213, allocations: 384 / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.378e-05/0.005247, allocations: 7.938 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.005373, allocations: 120.6 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.005478, allocations: 43.08 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.005518, allocations: 15.69 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.005536, allocations: 4 kB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.005565, allocations: 41.33 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.005566, allocations: 0 / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001742/0.00574, allocations: 49.73 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.005785, allocations: 55.41 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.89e-05/0.005884, allocations: 173.9 kB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.005896, allocations: 25.7 kB / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.005948, allocations: 130.9 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-06/0.005953, allocations: 4 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.005979, allocations: 19.36 kB / 276 MB, free: 14.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.006142, allocations: 492.1 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-06/0.006147, allocations: 0 / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.539e-06/0.006152, allocations: 3.938 kB / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.237e-05/0.006194, allocations: 123.2 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.381e-05/0.006228, allocations: 119.2 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.473e-05/0.006283, allocations: 29.7 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.87e-05/0.006331, allocations: 131.2 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.733e-05/0.006369, allocations: 119.2 kB / 277 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.234e-05/0.006451, allocations: 246.3 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.48e-05/0.006486, allocations: 123.2 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.098e-05/0.006557, allocations: 242.3 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.692e-05/0.006644, allocations: 123.1 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.006681, allocations: 123.2 kB / 277.9 MB, free: 12.4 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.0001137/0.006794, allocations: 279.7 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.209e-05/0.006866, allocations: 49.64 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.006895, allocations: 8 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.006899, allocations: 4 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.006903, allocations: 0 / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.006907, allocations: 7.875 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.68e-05/0.006984, allocations: 120.6 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.006988, allocations: 240 / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.215e-05/0.00707, allocations: 4 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.007075, allocations: 0 / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.007084, allocations: 4 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.007089, allocations: 3.984 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.007091, allocations: 7.984 kB / 278.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.007204, allocations: 88.31 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-06/0.007214, allocations: 3.953 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.007227, allocations: 0 / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.794e-05/0.007245, allocations: 8 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-06/0.007248, allocations: 0 / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.007254, allocations: 0 / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.484e-05/0.007308, allocations: 131.4 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007308, allocations: 0 / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.007564, allocations: 4 kB / 278.6 MB, free: 11.61 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 9.747e-05/0.007661, allocations: 106.7 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.587e-05/0.007727, allocations: 8 kB / 278.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.007729, allocations: 0 / 278.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.62e-07/0.00773, allocations: 3.938 kB / 278.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.007998, allocations: 13.11 kB / 278.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.008294, allocations: 117.2 kB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.435e-05/0.008339, allocations: 59.36 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.102e-05/0.00835, allocations: 3.984 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.008383, allocations: 8.5 kB / 278.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.008384, allocations: 4 kB / 278.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of Templates: time 0.002155/0.01054, allocations: 301.9 kB / 279.2 MB, free: 10.94 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.789966810029]