Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002322/0.002322, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 43.92 kB / 371.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2601, allocations: 52.18 MB / 423.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002841/0.2629, allocations: 1.526 MB / 425.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007826/0.2637, allocations: 435 kB / 425.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.2638, allocations: 4 kB / 425.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.48e-05/0.2638, allocations: 3.938 kB / 425.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.292e-05/0.2639, allocations: 11.86 kB / 425.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.2641, allocations: 27.97 kB / 425.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.2642, allocations: 39.8 kB / 425.9 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.2644, allocations: 11.98 kB / 425.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.42e-05/0.2645, allocations: 23.86 kB / 426 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.634e-05/0.2645, allocations: 15.92 kB / 426 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.2645, allocations: 4 kB / 426 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-06/0.2645, allocations: 0 / 426 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.2646, allocations: 8 kB / 426 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.2646, allocations: 23.86 kB / 426 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.2647, allocations: 33.38 kB / 426 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2647, allocations: 0 / 426 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2647, allocations: 0 / 426 MB, free: 12.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2647, allocations: 0 / 426 MB, free: 12.55 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.0004578/0.2652, allocations: 277.9 kB / 426.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2652, allocations: 12.03 kB / 426.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.2653, allocations: 4.891 kB / 426.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.2655, allocations: 130.4 kB / 426.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.2655, allocations: 384 / 426.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.2656, allocations: 4.375 kB / 426.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.2659, allocations: 119.5 kB / 426.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2659, allocations: 0 / 426.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.2659, allocations: 4 kB / 426.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.2659, allocations: 4 kB / 426.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.954e-05/0.266, allocations: 15.98 kB / 426.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.2661, allocations: 136.7 kB / 426.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.2663, allocations: 54.48 kB / 426.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.844e-05/0.2664, allocations: 24.92 kB / 426.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.2664, allocations: 4 kB / 426.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.2664, allocations: 38.5 kB / 426.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2664, allocations: 0 / 426.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000226/0.2667, allocations: 73.62 kB / 426.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.2667, allocations: 55.41 kB / 427 MB, free: 11.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.2668, allocations: 113.7 kB / 427.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.2668, allocations: 37.7 kB / 427.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.2669, allocations: 84.12 kB / 427.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.2669, allocations: 4 kB / 427.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.2669, allocations: 13.72 kB / 427.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2671, allocations: 314.8 kB / 427.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.545e-05/0.2671, allocations: 7.984 kB / 427.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.757e-05/0.2671, allocations: 23.62 kB / 427.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.767e-05/0.2672, allocations: 39.38 kB / 427.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2672, allocations: 0 / 427.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.424e-05/0.2672, allocations: 53.72 kB / 427.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2673, allocations: 8.062 kB / 427.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2673, allocations: 7.938 kB / 427.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2673, allocations: 7.984 kB / 427.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.12e-05/0.2673, allocations: 7.938 kB / 427.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2673, allocations: 4 kB / 427.7 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.061e-05/0.2674, allocations: 4 kB / 427.7 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.2674, allocations: 0 / 427.7 MB, free: 10.69 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.329e-05/0.2674, allocations: 113.8 kB / 427.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.2676, allocations: 65.58 kB / 427.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.2676, allocations: 12 kB / 427.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.2676, allocations: 7.984 kB / 427.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.2676, allocations: 0 / 427.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2676, allocations: 0 / 427.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.2677, allocations: 124.8 kB / 428 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2677, allocations: 4 kB / 428 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.431e-05/0.2678, allocations: 15.92 kB / 428 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2678, allocations: 3.938 kB / 428 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.2678, allocations: 0 / 428 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2678, allocations: 0 / 428 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2678, allocations: 4 kB / 428 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.2679, allocations: 89.06 kB / 428.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.771e-05/0.268, allocations: 16.3 kB / 428.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.268, allocations: 0 / 428.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.204e-05/0.268, allocations: 0 / 428.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-06/0.268, allocations: 0 / 428.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.268, allocations: 7.938 kB / 428.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.576e-05/0.2681, allocations: 91.27 kB / 428.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2681, allocations: 0 / 428.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001882/0.2683, allocations: 4 kB / 428.2 MB, free: 10.05 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.0001064/0.2684, allocations: 99.19 kB / 428.3 MB, free: 9.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.2685, allocations: 27.98 kB / 428.4 MB, free: 9.922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2685, allocations: 0 / 428.4 MB, free: 9.922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.2685, allocations: 0 / 428.4 MB, free: 9.922 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.2687, allocations: 35.44 kB / 428.4 MB, free: 9.891 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.269, allocations: 164.6 kB / 428.6 MB, free: 9.699 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.2694, allocations: 0.6883 MB / 429.2 MB, free: 8.984 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.2694, allocations: 11.38 kB / 429.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2694, allocations: 0 / 429.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of Templates: time 0.001949/0.2714, allocations: 0.5848 MB / 429.8 MB, free: 8.391 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.767979939002544]