Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.0009574/0.0009574, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.0009669/0.0009669, allocations: 161.3 kB / 24.91 MB, free: 9.199 MB / 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.9096/0.9096, allocations: 177 MB / 205.2 MB, free: 5.453 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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 273.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.457e-05, allocations: 10.25 kB / 273.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002015/0.00204, allocations: 1.549 MB / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006509/0.00269, allocations: 490.5 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.002749, allocations: 0 / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.002776, allocations: 3.938 kB / 275.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.974e-05/0.002845, allocations: 7.875 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.003084, allocations: 31.95 kB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.068e-05/0.003165, allocations: 35.86 kB / 275.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.066e-05/0.003236, allocations: 11.92 kB / 275.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.003351, allocations: 35.84 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.976e-05/0.00339, allocations: 4 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.003402, allocations: 8 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.003708, allocations: 11.98 kB / 275.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.003727, allocations: 11.92 kB / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.003747, allocations: 8 kB / 275.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.956e-05/0.003847, allocations: 35.83 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.00385, allocations: 0 / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.00385, allocations: 0 / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.003854, allocations: 4 kB / 275.6 MB, free: 14.97 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.0002739/0.004128, allocations: 252.8 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.004159, allocations: 11.98 kB / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.501e-05/0.004254, allocations: 12.94 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.004376, allocations: 125.7 kB / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.004384, allocations: 4.375 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.004391, allocations: 384 / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.004543, allocations: 104.5 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.004548, allocations: 192 / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.004554, allocations: 4.375 kB / 276.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.004558, allocations: 7.938 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.686e-05/0.004575, allocations: 7.938 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.287e-05/0.004628, allocations: 53.05 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.143e-05/0.004679, allocations: 30.56 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.004697, allocations: 12.86 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.00471, allocations: 0 / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.004727, allocations: 38.55 kB / 276.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.004728, allocations: 0 / 276.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 9.179e-05/0.00482, allocations: 49.62 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.004853, allocations: 51.41 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.375e-05/0.004907, allocations: 126.6 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.004916, allocations: 25.7 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.004945, allocations: 88.12 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.313e-06/0.004946, allocations: 0 / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/0.004963, allocations: 13.72 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.00503, allocations: 318.8 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-06/0.005032, allocations: 0 / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-06/0.005036, allocations: 0 / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.751e-05/0.005053, allocations: 79.28 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/0.005069, allocations: 75.28 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.194e-05/0.005101, allocations: 29.64 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.005125, allocations: 87.28 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.005142, allocations: 75.28 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.74e-05/0.00518, allocations: 154.5 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.874e-05/0.005198, allocations: 83.27 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.921e-05/0.005228, allocations: 150.6 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.005268, allocations: 83.16 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.005286, allocations: 87.27 kB / 277.8 MB, free: 12.61 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 6.491e-05/0.005351, allocations: 185.1 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.005405, allocations: 49.8 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.005425, allocations: 8 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005427, allocations: 4 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.005429, allocations: 0 / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.005432, allocations: 3.984 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.558e-05/0.005478, allocations: 65.84 kB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.005481, allocations: 4 kB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/0.005543, allocations: 7.984 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.005548, allocations: 0 / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-06/0.005551, allocations: 0 / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.005553, allocations: 0 / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.005554, allocations: 4 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.53e-05/0.005589, allocations: 57.02 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.005611, allocations: 15.88 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-06/0.005618, allocations: 4 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.008e-05/0.005628, allocations: 0 / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-06/0.005631, allocations: 3.938 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.005634, allocations: 0 / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.534e-05/0.00565, allocations: 24.83 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00565, allocations: 0 / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001045/0.005754, allocations: 4 kB / 278.3 MB, free: 12.12 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 7.769e-05/0.005832, allocations: 72.42 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.745e-05/0.005869, allocations: 12 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.005871, allocations: 0 / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.005872, allocations: 0 / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001051/0.005977, allocations: 24.98 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.006306, allocations: 131.1 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.268e-05/0.006339, allocations: 59.34 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.217e-06/0.006348, allocations: 0 / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.00638, allocations: 47.38 kB / 278.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of SimCode: time 6.12e-07/0.006381, allocations: 4 kB / 278.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of Templates: time 0.001737/0.008118, allocations: 360.8 kB / 279 MB, free: 11.38 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.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.6243003821000457]