Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0009918/0.0009918, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 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.0009374/0.0009374, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9239/0.9239, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.779e-05, allocations: 5.125 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002092/0.00212, allocations: 1.529 MB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002326/0.002352, allocations: 99.61 kB / 274.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.002403, allocations: 0 / 274.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.00243, allocations: 11.92 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.363e-05/0.002474, allocations: 7.875 kB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.002737, allocations: 19.97 kB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.501e-05/0.002812, allocations: 23.94 kB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.325e-05/0.002895, allocations: 7.984 kB / 274.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.613e-05/0.002941, allocations: 15.92 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.448e-05/0.002976, allocations: 8 kB / 274.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.002996, allocations: 0 / 274.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.607e-06/0.003004, allocations: 7.938 kB / 274.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.00302, allocations: 3.984 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.00305, allocations: 19.92 kB / 274.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.386e-05/0.003124, allocations: 15.92 kB / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.003126, allocations: 4 kB / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.003127, allocations: 0 / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.003131, allocations: 0 / 274.7 MB, free: 15.67 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.0003592/0.003491, allocations: 364.6 kB / 275 MB, free: 15.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.003538, allocations: 11.98 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.003579, allocations: 8.891 kB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.003731, allocations: 120.6 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.00374, allocations: 4.375 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-06/0.003749, allocations: 8.375 kB / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.003958, allocations: 106.2 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.003965, allocations: 4.125 kB / 275.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.003975, allocations: 8.359 kB / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.003982, allocations: 384 / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.447e-05/0.004006, allocations: 7.938 kB / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.331e-05/0.004099, allocations: 120.6 kB / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.849e-05/0.004178, allocations: 39.09 kB / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.004206, allocations: 19.72 kB / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.004221, allocations: 4 kB / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.004243, allocations: 37.39 kB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.004243, allocations: 3.938 kB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001201/0.004363, allocations: 49.69 kB / 275.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.0044, allocations: 55.41 kB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.729e-05/0.004487, allocations: 169.9 kB / 275.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.004497, allocations: 25.7 kB / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.004543, allocations: 126.9 kB / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-06/0.004547, allocations: 4 kB / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.004569, allocations: 19.38 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.004706, allocations: 0.4884 MB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.41e-06/0.004711, allocations: 0 / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-06/0.004715, allocations: 0 / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.256e-05/0.004758, allocations: 127.1 kB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.505e-05/0.004793, allocations: 119.2 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.71e-05/0.00485, allocations: 25.7 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/0.004891, allocations: 127.2 kB / 276.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.98e-05/0.00492, allocations: 119.2 kB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.914e-05/0.00498, allocations: 242.3 kB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.654e-05/0.005006, allocations: 127.2 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.582e-05/0.005062, allocations: 250.3 kB / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.005117, allocations: 123.1 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.005143, allocations: 123.2 kB / 277.8 MB, free: 12.31 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 9.874e-05/0.005242, allocations: 271.8 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.005311, allocations: 53.58 kB / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.005343, allocations: 8 kB / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.005346, allocations: 4 kB / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.00535, allocations: 256 / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.005354, allocations: 7.875 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.155e-05/0.005415, allocations: 124.6 kB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.005419, allocations: 0 / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.953e-05/0.005489, allocations: 4 kB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.005492, allocations: 0 / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.005498, allocations: 8 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.005501, allocations: 0 / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005502, allocations: 0 / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.389e-05/0.005576, allocations: 92.53 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-06/0.005585, allocations: 7.938 kB / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.005594, allocations: 0 / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.031e-05/0.005605, allocations: 4 kB / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-06/0.005607, allocations: 4 kB / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.005612, allocations: 0 / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.931e-05/0.005651, allocations: 127.2 kB / 278.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005651, allocations: 0 / 278.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001308/0.005782, allocations: 4 kB / 278.5 MB, free: 11.53 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.264e-05/0.005874, allocations: 99.17 kB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.668e-05/0.005931, allocations: 8 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.005933, allocations: 0 / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.005933, allocations: 0 / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.006121, allocations: 21.06 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/0.006397, allocations: 121.2 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.676e-05/0.006434, allocations: 55.36 kB / 278.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.576e-06/0.006443, allocations: 4 kB / 278.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.006471, allocations: 8.5 kB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of SimCode: time 1.273e-06/0.006473, allocations: 0 / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of Templates: time 0.001841/0.008314, allocations: 310.5 kB / 279.1 MB, free: 10.85 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.8946420759893954]