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.002117/0.002117, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.00255/0.00255, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 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 1.643/1.643, allocations: 230.3 MB / 258 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002061/0.002061, allocations: 63.91 kB / 378.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4348, allocations: 53.36 MB / 432.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.00461/0.4394, allocations: 1.519 MB / 433.6 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.4407, allocations: 482.7 kB / 434.1 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.4408, allocations: 7.938 kB / 434.1 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.359e-05/0.4409, allocations: 11.92 kB / 434.1 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.845e-05/0.441, allocations: 7.875 kB / 434.1 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.4413, allocations: 27.91 kB / 434.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.4415, allocations: 31.92 kB / 434.2 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.4416, allocations: 19.97 kB / 434.2 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.4418, allocations: 23.86 kB / 434.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.44e-05/0.4419, allocations: 15.94 kB / 434.3 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.4419, allocations: 0 / 434.3 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.92e-05/0.442, allocations: 8 kB / 434.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.442, allocations: 11.92 kB / 434.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.4421, allocations: 19.92 kB / 434.3 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.4423, allocations: 45.45 kB / 434.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/0.4423, allocations: 0 / 434.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4423, allocations: 0 / 434.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.4423, allocations: 0 / 434.3 MB, free: 4.867 MB / 334.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.0006883/0.443, allocations: 274.2 kB / 434.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.443, allocations: 8.031 kB / 434.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.4433, allocations: 12.92 kB / 434.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.4436, allocations: 138.3 kB / 434.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.4437, allocations: 4.375 kB / 434.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.4437, allocations: 4.375 kB / 434.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.4441, allocations: 107.6 kB / 434.9 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.4442, allocations: 0 / 434.9 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.4442, allocations: 8 kB / 434.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.4442, allocations: 3.984 kB / 434.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.4443, allocations: 23.92 kB / 434.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.4445, allocations: 124.8 kB / 435 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.4448, allocations: 58.55 kB / 435.1 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.966e-05/0.4449, allocations: 20.92 kB / 435.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.4449, allocations: 4 kB / 435.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.4449, allocations: 38.5 kB / 435.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 4.288e-06/0.4449, allocations: 3.984 kB / 435.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003368/0.4453, allocations: 85.55 kB / 435.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.4453, allocations: 51.41 kB / 435.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.4455, allocations: 113.8 kB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.4455, allocations: 25.7 kB / 435.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.4456, allocations: 88.14 kB / 435.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.4456, allocations: 0 / 435.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.4456, allocations: 17.72 kB / 435.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003315/0.446, allocations: 318.8 kB / 435.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.419e-05/0.446, allocations: 8 kB / 435.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.674e-05/0.446, allocations: 23.44 kB / 435.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.507e-05/0.4461, allocations: 47.36 kB / 435.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4461, allocations: 0 / 435.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001363/0.4463, allocations: 57.53 kB / 436 MB, free: 3.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.4463, allocations: 10.59 kB / 436 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.4463, allocations: 8.125 kB / 436 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/0.4463, allocations: 3.984 kB / 436 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.4464, allocations: 4.375 kB / 436 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.281e-05/0.4465, allocations: 7.984 kB / 436 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.4465, allocations: 0 / 436 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.4465, allocations: 4 kB / 436 MB, free: 2.984 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 0.000171/0.4467, allocations: 113.8 kB / 436.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.447, allocations: 69.55 kB / 436.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.854e-05/0.447, allocations: 16 kB / 436.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.447, allocations: 0 / 436.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.447, allocations: 0 / 436.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4471, allocations: 0 / 436.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.4473, allocations: 136.6 kB / 436.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.4473, allocations: 0 / 436.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.4475, allocations: 8 kB / 436.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.4475, allocations: 3.938 kB / 436.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.4475, allocations: 3.984 kB / 436.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4475, allocations: 0 / 436.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4475, allocations: 4 kB / 436.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.4478, allocations: 89.05 kB / 436.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.4478, allocations: 15.89 kB / 436.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.4479, allocations: 0 / 436.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.1e-05/0.4479, allocations: 0 / 436.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.4479, allocations: 4 kB / 436.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.4479, allocations: 7.922 kB / 436.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.448, allocations: 87.28 kB / 436.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.448, allocations: 4 kB / 436.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.4483, allocations: 4 kB / 436.6 MB, free: 2.344 MB / 334.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.0002229/0.4486, allocations: 91.25 kB / 436.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.4488, allocations: 31.91 kB / 436.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.4488, allocations: 0 / 436.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.22e-07/0.4488, allocations: 0 / 436.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.4492, allocations: 20.25 kB / 436.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.4498, allocations: 139.4 kB / 436.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005857/0.4504, allocations: 0.6884 MB / 437.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.744e-05/0.4504, allocations: 0 / 437.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.946e-05/0.4505, allocations: 7.438 kB / 437.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4505, allocations: 0 / 437.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of Templates: time 0.004766/0.4553, allocations: 395 kB / 437.9 MB, free: 0.9336 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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: 5.401082372292876]