Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.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.001464/0.001464, allocations: 88.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001515/0.001515, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 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.432/1.432, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 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.ClockSignals.RotationalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5095,variableFilter="time|sample_angle.y|rotationalClock.angle|rotationalClock.direction|rotationalClock.direction_changed",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5095,variableFilter="time|sample_angle.y|rotationalClock.angle|rotationalClock.direction|rotationalClock.direction_changed",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.715e-05, allocations: 2.312 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample): time 0.003594/0.003621, allocations: 1.941 MB / 269.2 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.005339, allocations: 0.6152 MB / 269.9 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.005465, allocations: 4 kB / 269.9 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.324e-05/0.005528, allocations: 19.73 kB / 269.9 MB, free: 4.141 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.005666, allocations: 27.72 kB / 269.9 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.006133, allocations: 111.6 kB / 270 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.006466, allocations: 216 kB / 270.2 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.006675, allocations: 64.83 kB / 270.3 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.006932, allocations: 123.7 kB / 270.4 MB, free: 3.609 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.007072, allocations: 63.78 kB / 270.5 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.422e-05/0.007117, allocations: 20 kB / 270.5 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.235e-05/0.007159, allocations: 20 kB / 270.5 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.007218, allocations: 43.89 kB / 270.6 MB, free: 3.465 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.007318, allocations: 59.83 kB / 270.6 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.007655, allocations: 231.2 kB / 270.8 MB, free: 3.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.007659, allocations: 4 kB / 270.8 MB, free: 3.176 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.00766, allocations: 0 / 270.8 MB, free: 3.176 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.007666, allocations: 3.938 kB / 270.9 MB, free: 3.172 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001024/0.00869, allocations: 465.2 kB / 271.3 MB, free: 2.672 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.008732, allocations: 8.922 kB / 271.3 MB, free: 2.664 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.008836, allocations: 40.78 kB / 271.4 MB, free: 2.625 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.009216, allocations: 172.9 kB / 271.5 MB, free: 2.434 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.009341, allocations: 72.28 kB / 271.6 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.009385, allocations: 16.38 kB / 271.6 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008724/0.01026, allocations: 353 kB / 272 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.01027, allocations: 3.938 kB / 272 MB, free: 1.965 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.01029, allocations: 4 kB / 272 MB, free: 1.961 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.0103, allocations: 8 kB / 272 MB, free: 1.953 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000464/0.01077, allocations: 131.9 kB / 272.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000783/0.01155, allocations: 360.9 kB / 272.4 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005849/0.01213, allocations: 189.3 kB / 272.6 MB, free: 1.234 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.01242, allocations: 101.7 kB / 272.7 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.01245, allocations: 4 kB / 272.7 MB, free: 1.125 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003632/0.01281, allocations: 153 kB / 272.9 MB, free: 0.957 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.01281, allocations: 0 / 272.9 MB, free: 0.957 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.000954/0.01377, allocations: 285.3 kB / 273.2 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.01387, allocations: 101 kB / 273.3 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.01405, allocations: 142.4 kB / 273.4 MB, free: 412 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.01409, allocations: 33.7 kB / 273.4 MB, free: 372 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.01419, allocations: 116.5 kB / 273.6 MB, free: 252 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.01423, allocations: 31.83 kB / 273.6 MB, free: 220 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.854e-05/0.01432, allocations: 37.7 kB / 273.6 MB, free: 176 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.01455, allocations: 326.8 kB / 273.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.01477, allocations: 81.59 kB / 274 MB, free: 15.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.01501, allocations: 110.9 kB / 274.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.01539, allocations: 146.7 kB / 274.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.0154, allocations: 0 / 274.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005504/0.01595, allocations: 236.9 kB / 274.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/0.01599, allocations: 36.66 kB / 274.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.016, allocations: 4.062 kB / 274.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.01602, allocations: 4 kB / 274.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.01619, allocations: 19.98 kB / 274.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.01619, allocations: 0 / 274.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.01635, allocations: 27.92 kB / 274.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.01637, allocations: 4 kB / 274.6 MB, free: 15.14 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($CLKPRE.rotationalClock.changed.u,rotationalClock.changed.u,$whenCondition2,rotationalClock.less.y,trigger_interval_input.count,$PRE.trigger_interval_input.count,trigger_interval_input.T_start,$PRE.trigger_interval_input.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 1 (rotationalClock.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * 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.0001664/0.01654, allocations: 133.7 kB / 274.7 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.01676, allocations: 113.5 kB / 274.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.86e-05/0.01684, allocations: 28.77 kB / 274.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.01685, allocations: 4 kB / 274.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.01686, allocations: 4 kB / 274.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01686, allocations: 0 / 274.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007986/0.01766, allocations: 410.8 kB / 275.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.01767, allocations: 4 kB / 275.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.01788, allocations: 39.89 kB / 275.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.01788, allocations: 4 kB / 275.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.0179, allocations: 8 kB / 275.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.01791, allocations: 4 kB / 275.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.01791, allocations: 3.984 kB / 275.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000668/0.01858, allocations: 328 kB / 275.7 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.01861, allocations: 23.84 kB / 275.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.01864, allocations: 0 / 275.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.01885, allocations: 19.97 kB / 275.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/0.01893, allocations: 15.98 kB / 275.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.01895, allocations: 11.98 kB / 275.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.01906, allocations: 122.4 kB / 275.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01906, allocations: 0 / 275.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002859/0.01934, allocations: 28 kB / 275.9 MB, free: 13.79 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (rotationalClock.direction,rotationalClock.direction_changed,rotationalClock.cast.y,rotationalClock.changed.u,rotationalClock.changed.y,rotationalClock.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2) * Number of discrete states: 1 (trigger_interval_input.count) * Number of clocked states: 1 (rotationalClock.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000164/0.01951, allocations: 107.2 kB / 276 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006184/0.02012, allocations: 240.1 kB / 276.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.02013, allocations: 4.062 kB / 276.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.02033, allocations: 56.02 kB / 276.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.02082, allocations: 67.81 kB / 276.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009767/0.0218, allocations: 338 kB / 276.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.02194, allocations: 116.1 kB / 276.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.494e-05/0.022, allocations: 9.141 kB / 276.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.297e-05/0.02207, allocations: 20.5 kB / 276.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02207, allocations: 0 / 276.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of Templates: time 0.006022/0.0281, allocations: 1.903 MB / 278.7 MB, free: 10.9 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.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: 4.359390255995095]