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.001307/0.001307, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001493/0.001493, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9977/0.9977, allocations: 177 MB / 204.8 MB, free: 5.59 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.074e-06/2.074e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.405e-05/3.613e-05, allocations: 2.312 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002442/0.002478, allocations: 1.551 MB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007571/0.003235, allocations: 478.6 kB / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.003307, allocations: 8 kB / 274.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.747e-05/0.003344, allocations: 3.938 kB / 275 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.249e-05/0.003437, allocations: 11.88 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.003774, allocations: 23.91 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.003884, allocations: 43.84 kB / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.004011, allocations: 7.938 kB / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.004169, allocations: 35.89 kB / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.844e-05/0.004228, allocations: 8 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.004248, allocations: 4 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.426e-05/0.004292, allocations: 4 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.004314, allocations: 15.92 kB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.00435, allocations: 4 kB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.004494, allocations: 43.77 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004497, allocations: 0 / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.004498, allocations: 0 / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.004505, allocations: 0 / 275.2 MB, free: 15.2 MB / 266.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.0004525/0.004957, allocations: 376.5 kB / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.005005, allocations: 11.98 kB / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.005139, allocations: 16.92 kB / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.005326, allocations: 124.6 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.005343, allocations: 8.359 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.00536, allocations: 4.375 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.005676, allocations: 106.2 kB / 275.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.005691, allocations: 192 / 275.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.005707, allocations: 384 / 275.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.005722, allocations: 7.938 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.659e-05/0.005759, allocations: 11.97 kB / 275.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001212/0.00588, allocations: 120.6 kB / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.352e-05/0.005964, allocations: 43.05 kB / 276 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.006004, allocations: 23.75 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.006026, allocations: 3.938 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.006049, allocations: 33.39 kB / 276 MB, free: 14.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.00605, allocations: 0 / 276 MB, free: 14.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001653/0.006216, allocations: 53.69 kB / 276.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.006257, allocations: 55.34 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/0.006347, allocations: 173.9 kB / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.00636, allocations: 29.7 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.006404, allocations: 134.8 kB / 276.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.006407, allocations: 3.984 kB / 276.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/0.006708, allocations: 19.38 kB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.006834, allocations: 496.1 kB / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-06/0.00684, allocations: 3.938 kB / 277 MB, free: 13.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-06/0.006845, allocations: 0 / 277 MB, free: 13.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.142e-05/0.006876, allocations: 119.2 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.238e-05/0.006909, allocations: 123.2 kB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.251e-05/0.006961, allocations: 29.66 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.007004, allocations: 127.2 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.501e-05/0.007039, allocations: 131.1 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.962e-05/0.007109, allocations: 238.4 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.548e-05/0.007144, allocations: 131.2 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.872e-05/0.007203, allocations: 246.2 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.007272, allocations: 119.2 kB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.007303, allocations: 127.1 kB / 278.3 MB, free: 11.8 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 9.767e-05/0.007401, allocations: 271.8 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.419e-05/0.007475, allocations: 45.69 kB / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/0.01053, allocations: 12 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01053, allocations: 0 / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.01054, allocations: 11.92 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01054, allocations: 0 / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.913e-05/0.01061, allocations: 112.6 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.01062, allocations: 3.984 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.384e-05/0.01071, allocations: 8 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.01072, allocations: 0 / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.01073, allocations: 4 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.01073, allocations: 0 / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01073, allocations: 3.938 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.01084, allocations: 88.33 kB / 278.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.01086, allocations: 16.2 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.01088, allocations: 4 kB / 278.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.778e-05/0.01089, allocations: 4 kB / 278.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-06/0.0109, allocations: 3.984 kB / 278.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.01091, allocations: 0 / 278.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.981e-05/0.01095, allocations: 135.1 kB / 279 MB, free: 11.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01096, allocations: 0 / 279 MB, free: 11.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000213/0.01117, allocations: 8 kB / 279 MB, free: 11 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.967e-05/0.01127, allocations: 91.25 kB / 279.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.261e-05/0.01133, allocations: 11.92 kB / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01133, allocations: 11.94 kB / 279.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.01133, allocations: 0 / 279.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.01156, allocations: 14.02 kB / 279.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004834/0.01205, allocations: 133.1 kB / 279.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.26e-05/0.01209, allocations: 55.36 kB / 279.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.043e-05/0.0121, allocations: 11.92 kB / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.01213, allocations: 8.5 kB / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01213, allocations: 0 / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of Templates: time 0.00537/0.0175, allocations: 339.3 kB / 279.7 MB, free: 10.28 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.9030951629392803]