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.0008243/0.0008243, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.00413/0.00413, allocations: 160.8 kB / 24.7 MB, free: 9.441 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.8948/0.8948, allocations: 177 MB / 204.9 MB, free: 5.723 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.563e-06/1.563e-06, allocations: 0 / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.892e-05, allocations: 6.281 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002218/0.002247, allocations: 1.498 MB / 327.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007005/0.002948, allocations: 458.7 kB / 327.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.003018, allocations: 0 / 327.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.102e-05/0.003049, allocations: 7.922 kB / 327.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.108e-05/0.00312, allocations: 7.938 kB / 327.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.003427, allocations: 27.91 kB / 327.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.003528, allocations: 39.86 kB / 327.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.57e-05/0.003624, allocations: 19.92 kB / 327.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.003768, allocations: 31.84 kB / 327.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.845e-05/0.003817, allocations: 11.98 kB / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.003833, allocations: 4 kB / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.881e-05/0.003872, allocations: 4 kB / 327.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.003888, allocations: 7.938 kB / 327.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.003919, allocations: 11.97 kB / 327.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.004045, allocations: 43.83 kB / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.004048, allocations: 0 / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.00405, allocations: 0 / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.004054, allocations: 8 kB / 328 MB, free: 13.15 MB / 298.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.0003895/0.004444, allocations: 282.2 kB / 328.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.004488, allocations: 11.98 kB / 328.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.004613, allocations: 8.938 kB / 328.3 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.004849, allocations: 125.7 kB / 328.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.004858, allocations: 384 / 328.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.004869, allocations: 8.359 kB / 328.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.005151, allocations: 111.9 kB / 328.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.005158, allocations: 192 / 328.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.005169, allocations: 4.375 kB / 328.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.005175, allocations: 3.938 kB / 328.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.756e-05/0.005233, allocations: 23.97 kB / 328.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001038/0.005337, allocations: 105.3 kB / 328.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.005445, allocations: 58.48 kB / 328.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.005487, allocations: 28.92 kB / 328.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.005505, allocations: 0 / 328.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.005525, allocations: 34.56 kB / 328.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.005526, allocations: 0 / 328.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001871/0.005713, allocations: 81.55 kB / 328.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.005755, allocations: 63.28 kB / 328.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/0.005823, allocations: 109.8 kB / 329 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.005833, allocations: 25.7 kB / 329 MB, free: 11.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.005865, allocations: 84.14 kB / 329.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.005868, allocations: 4 kB / 329.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.005889, allocations: 13.72 kB / 329.1 MB, free: 11.83 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.27e-05/0.005971, allocations: 314.8 kB / 329.4 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-06/0.005976, allocations: 3.938 kB / 329.4 MB, free: 11.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.75e-06/0.005982, allocations: 3.984 kB / 329.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.058e-05/0.006002, allocations: 75.28 kB / 329.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/0.006018, allocations: 79.28 kB / 329.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.927e-05/0.006058, allocations: 29.64 kB / 329.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.006092, allocations: 83.28 kB / 329.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.006115, allocations: 75.28 kB / 329.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.642e-05/0.006162, allocations: 154.6 kB / 329.9 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.997e-05/0.006182, allocations: 87.22 kB / 330 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.789e-05/0.006219, allocations: 158.5 kB / 330.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.006266, allocations: 87.2 kB / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.006285, allocations: 79.28 kB / 330.3 MB, free: 10.6 MB / 298.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 7.944e-05/0.006364, allocations: 181.1 kB / 330.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/0.006456, allocations: 61.64 kB / 330.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.006486, allocations: 19.92 kB / 330.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.006489, allocations: 0 / 330.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.006495, allocations: 3.938 kB / 330.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.006498, allocations: 4 kB / 330.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.649e-05/0.006555, allocations: 101.3 kB / 330.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.006558, allocations: 0 / 330.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.775e-05/0.006636, allocations: 12.23 kB / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.006639, allocations: 0 / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.006646, allocations: 0 / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.00665, allocations: 3.984 kB / 330.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006651, allocations: 0 / 330.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.799e-05/0.006749, allocations: 97.36 kB / 330.8 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.588e-05/0.006775, allocations: 7.938 kB / 330.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.006786, allocations: 4 kB / 330.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.245e-05/0.006799, allocations: 0 / 330.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-06/0.006801, allocations: 7.938 kB / 330.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.006809, allocations: 4 kB / 330.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.771e-05/0.006847, allocations: 99.14 kB / 330.9 MB, free: 9.938 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006847, allocations: 0 / 330.9 MB, free: 9.938 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001375/0.006984, allocations: 4 kB / 330.9 MB, free: 9.934 MB / 298.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.329e-05/0.007077, allocations: 95.25 kB / 331 MB, free: 9.832 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.405e-05/0.007142, allocations: 11.98 kB / 331 MB, free: 9.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.007143, allocations: 7.938 kB / 331 MB, free: 9.812 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.007144, allocations: 4 kB / 331 MB, free: 9.809 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.007357, allocations: 24.02 kB / 331.1 MB, free: 9.785 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002645/0.007621, allocations: 154.4 kB / 331.2 MB, free: 9.602 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.37e-05/0.007665, allocations: 67.33 kB / 331.3 MB, free: 9.516 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.007693, allocations: 12.5 kB / 331.3 MB, free: 9.504 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007693, allocations: 0 / 331.3 MB, free: 9.504 MB / 298.7 MB Notification: Performance of Templates: time 0.001868/0.009561, allocations: 0.5509 MB / 331.8 MB, free: 8.953 MB / 298.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=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: 3.9506298387423158]