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.001028/0.001028, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.0009829/0.0009829, allocations: 159.4 kB / 25.61 MB, free: 8.582 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.9817/0.9817, allocations: 177 MB / 205.9 MB, free: 4.414 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 2.234e-06/2.234e-06, allocations: 0 / 274.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.822e-05, allocations: 2.312 kB / 274.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002791/0.002819, allocations: 1.546 MB / 275.7 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008942/0.003714, allocations: 465 kB / 276.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.498e-05/0.003799, allocations: 7.875 kB / 276.1 MB, free: 2.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.545e-05/0.003834, allocations: 7.938 kB / 276.1 MB, free: 2.242 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.548e-05/0.00393, allocations: 0 / 276.1 MB, free: 2.242 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.004266, allocations: 32.83 kB / 276.2 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.004372, allocations: 43.8 kB / 276.2 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.365e-05/0.004466, allocations: 8.562 kB / 276.2 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.004638, allocations: 35.89 kB / 276.3 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.004706, allocations: 10.12 kB / 276.3 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.004728, allocations: 4 kB / 276.3 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.758e-05/0.004786, allocations: 11.98 kB / 276.3 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.004808, allocations: 0 / 276.3 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.004844, allocations: 11.94 kB / 276.3 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.004983, allocations: 35.89 kB / 276.3 MB, free: 2.055 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.004985, allocations: 1.219 kB / 276.3 MB, free: 2.055 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004986, allocations: 0 / 276.3 MB, free: 2.055 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.004992, allocations: 0 / 276.3 MB, free: 2.055 MB / 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.0004662/0.005458, allocations: 381.5 kB / 276.7 MB, free: 1.648 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/0.005518, allocations: 12.02 kB / 276.7 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.005658, allocations: 13.59 kB / 276.7 MB, free: 1.625 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.005839, allocations: 132.4 kB / 276.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.005852, allocations: 4.375 kB / 276.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.005861, allocations: 4.375 kB / 276.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.006065, allocations: 102.2 kB / 277 MB, free: 1.344 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.006074, allocations: 192 / 277 MB, free: 1.344 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.006082, allocations: 384 / 277 MB, free: 1.344 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.00609, allocations: 3.938 kB / 277 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.788e-05/0.006128, allocations: 7.984 kB / 277 MB, free: 1.332 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.006239, allocations: 97.27 kB / 277.1 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.087e-05/0.00631, allocations: 50.97 kB / 277.1 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/0.006334, allocations: 11.72 kB / 277.1 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.006351, allocations: 12.02 kB / 277.1 MB, free: 1.121 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.006375, allocations: 33.39 kB / 277.2 MB, free: 1.078 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.006376, allocations: 0 / 277.2 MB, free: 1.078 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001276/0.006503, allocations: 57.58 kB / 277.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.006545, allocations: 51.41 kB / 277.3 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.39e-05/0.006629, allocations: 173.8 kB / 277.5 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.006642, allocations: 29.7 kB / 277.5 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.00669, allocations: 130.9 kB / 277.6 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-06/0.006692, allocations: 0 / 277.6 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.006715, allocations: 23.36 kB / 277.6 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.006857, allocations: 496.1 kB / 278.1 MB, free: 72 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-06/0.006861, allocations: 0 / 278.1 MB, free: 72 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-06/0.006865, allocations: 0 / 278.1 MB, free: 72 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.597e-05/0.006911, allocations: 119.2 kB / 278.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.252e-05/0.006944, allocations: 119.2 kB / 278.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.407e-05/0.006988, allocations: 33.64 kB / 278.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.007031, allocations: 127.2 kB / 278.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.873e-05/0.00708, allocations: 123.2 kB / 278.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.192e-05/0.007172, allocations: 246.4 kB / 278.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.482e-05/0.007217, allocations: 131.1 kB / 279 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.993e-05/0.007297, allocations: 238.4 kB / 279.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.519e-05/0.007372, allocations: 135 kB / 279.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/0.007414, allocations: 123.3 kB / 279.5 MB, free: 14.69 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.0001282/0.007542, allocations: 275.8 kB / 279.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/0.007621, allocations: 53.58 kB / 279.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.007655, allocations: 8 kB / 279.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.007659, allocations: 0 / 279.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.007663, allocations: 4 kB / 279.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.00767, allocations: 7.938 kB / 279.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.71e-05/0.007757, allocations: 101.2 kB / 279.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.007761, allocations: 0 / 279.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.084e-05/0.007842, allocations: 4 kB / 279.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.007846, allocations: 4 kB / 279.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.007855, allocations: 3.984 kB / 279.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.007857, allocations: 0 / 279.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.007859, allocations: 0 / 279.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.08e-05/0.007919, allocations: 64.39 kB / 280 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.007945, allocations: 15.89 kB / 280 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.007958, allocations: 3.984 kB / 280 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.115e-05/0.007969, allocations: 4 kB / 280 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-06/0.007973, allocations: 0 / 280 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.007988, allocations: 4 kB / 280 MB, free: 14.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.761e-05/0.008045, allocations: 127.1 kB / 280.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008045, allocations: 0 / 280.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.008188, allocations: 7.984 kB / 280.2 MB, free: 13.95 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.803e-05/0.008286, allocations: 95.25 kB / 280.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.747e-05/0.008353, allocations: 4 kB / 280.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.008356, allocations: 0 / 280.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.008356, allocations: 4 kB / 280.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.008561, allocations: 21.05 kB / 280.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.008985, allocations: 137.2 kB / 280.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.223e-05/0.009027, allocations: 67.2 kB / 280.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.135e-05/0.009038, allocations: 0 / 280.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.009086, allocations: 66.2 kB / 280.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.009087, allocations: 3.938 kB / 280.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of Templates: time 0.002009/0.0111, allocations: 355 kB / 280.9 MB, free: 13.16 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.8431246308609843]