Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 107.6 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 206.1 kB / 24.48 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 51.91 kB / 379 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2645, allocations: 53.36 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.00282/0.2673, allocations: 1.516 MB / 433.9 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008694/0.2682, allocations: 442.9 kB / 434.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.2682, allocations: 0 / 434.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.2683, allocations: 7.938 kB / 434.3 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.497e-05/0.2683, allocations: 7.922 kB / 434.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.2686, allocations: 31.91 kB / 434.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.2687, allocations: 39.8 kB / 434.4 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.945e-05/0.2688, allocations: 8 kB / 434.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.2689, allocations: 31.91 kB / 434.4 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.96e-05/0.269, allocations: 15.86 kB / 434.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.269, allocations: 4 kB / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.568e-05/0.269, allocations: 8 kB / 434.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.269, allocations: 11.92 kB / 434.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.2691, allocations: 15.94 kB / 434.5 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.2692, allocations: 45.44 kB / 434.5 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2692, allocations: 0 / 434.5 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2692, allocations: 4 kB / 434.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.2692, allocations: 0 / 434.5 MB, free: 4.566 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.0004267/0.2696, allocations: 270.2 kB / 434.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2697, allocations: 8.031 kB / 434.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.2698, allocations: 12.92 kB / 434.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.27, allocations: 122.4 kB / 434.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.27, allocations: 8.375 kB / 434.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.27, allocations: 8.312 kB / 434.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.2704, allocations: 111.6 kB / 435 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2704, allocations: 0 / 435 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.2704, allocations: 0 / 435 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2704, allocations: 4 kB / 435.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.129e-05/0.2705, allocations: 23.98 kB / 435.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.2706, allocations: 105.3 kB / 435.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.2707, allocations: 62.5 kB / 435.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.862e-05/0.2708, allocations: 20.89 kB / 435.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.2708, allocations: 0 / 435.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.2709, allocations: 38.56 kB / 435.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2709, allocations: 3.938 kB / 435.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000229/0.2711, allocations: 77.56 kB / 435.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.2711, allocations: 63.33 kB / 435.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.7e-05/0.2712, allocations: 113.8 kB / 435.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2712, allocations: 25.7 kB / 435.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.2713, allocations: 84.14 kB / 435.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.895e-06/0.2713, allocations: 4.375 kB / 435.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.2713, allocations: 9.719 kB / 435.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2715, allocations: 322.8 kB / 436 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.2715, allocations: 0 / 436 MB, free: 2.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.2715, allocations: 35.38 kB / 436 MB, free: 2.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.759e-05/0.2716, allocations: 39.38 kB / 436.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2716, allocations: 4 kB / 436.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.336e-05/0.2716, allocations: 57.58 kB / 436.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2717, allocations: 4 kB / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2717, allocations: 3.938 kB / 436.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2717, allocations: 4 kB / 436.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.447e-05/0.2718, allocations: 12.05 kB / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2718, allocations: 4 kB / 436.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.2718, allocations: 4 kB / 436.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-06/0.2718, allocations: 0 / 436.1 MB, free: 2.734 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 8.636e-05/0.2719, allocations: 113.8 kB / 436.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.272, allocations: 57.67 kB / 436.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.272, allocations: 11.94 kB / 436.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.272, allocations: 4 kB / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.272, allocations: 0 / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.272, allocations: 0 / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.067e-05/0.2721, allocations: 117.2 kB / 436.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2721, allocations: 7.938 kB / 436.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.2722, allocations: 8 kB / 436.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2722, allocations: 0 / 436.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2722, allocations: 3.984 kB / 436.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2722, allocations: 3.938 kB / 436.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2722, allocations: 0 / 436.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.2724, allocations: 85.44 kB / 436.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.626e-05/0.2724, allocations: 15.89 kB / 436.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.2724, allocations: 0 / 436.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.45e-05/0.2724, allocations: 7.984 kB / 436.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-06/0.2724, allocations: 3.984 kB / 436.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.2724, allocations: 7.984 kB / 436.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.204e-05/0.2725, allocations: 87.28 kB / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2725, allocations: 0 / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000191/0.2727, allocations: 7.938 kB / 436.7 MB, free: 2.129 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 9.84e-05/0.2728, allocations: 91.53 kB / 436.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.2729, allocations: 31.97 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2729, allocations: 4.25 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.2729, allocations: 3.938 kB / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.2731, allocations: 19.94 kB / 436.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.2734, allocations: 168.6 kB / 437 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.975e-05/0.2735, allocations: 63.34 kB / 437.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.2735, allocations: 11.44 kB / 437.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2735, allocations: 0 / 437.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of Templates: time 0.002104/0.2756, allocations: 0.5977 MB / 437.7 MB, free: 1.086 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.662605191988405]