Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.0008415/0.0008415, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003314/0.003314, allocations: 160.1 kB / 24.7 MB, free: 9.418 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.8799/0.8799, 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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.846e-05, allocations: 3.266 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.001717/0.001736, allocations: 1.533 MB / 327.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003162/0.002052, allocations: 147.5 kB / 327.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-05/0.002131, allocations: 0 / 327.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.499e-05/0.002176, allocations: 3.938 kB / 327.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.002304, allocations: 11.88 kB / 327.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.002491, allocations: 35.83 kB / 327.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.422e-05/0.002575, allocations: 35.91 kB / 327.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.456e-05/0.002659, allocations: 8 kB / 327.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.002698, allocations: 15.92 kB / 327.6 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.615e-05/0.002735, allocations: 11.98 kB / 327.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.002756, allocations: 4 kB / 327.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.305e-06/0.002765, allocations: 7.938 kB / 327.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.548e-05/0.00281, allocations: 19.97 kB / 327.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.002833, allocations: 7.938 kB / 327.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.758e-05/0.002931, allocations: 51.75 kB / 327.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.002932, allocations: 0 / 327.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002933, allocations: 0 / 327.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.002936, allocations: 0 / 327.7 MB, free: 13.48 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003456/0.003282, allocations: 290.1 kB / 327.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.003316, allocations: 11.98 kB / 328 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.003344, allocations: 8.891 kB / 328 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.003507, allocations: 138.2 kB / 328.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.003515, allocations: 384 / 328.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.003524, allocations: 4.375 kB / 328.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.003743, allocations: 117.5 kB / 328.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.00375, allocations: 192 / 328.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.003758, allocations: 4.312 kB / 328.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.003763, allocations: 384 / 328.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.1e-05/0.003804, allocations: 27.92 kB / 328.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002262/0.00403, allocations: 213.3 kB / 328.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.004169, allocations: 57.2 kB / 328.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.352e-05/0.004212, allocations: 29.75 kB / 328.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.004231, allocations: 7.938 kB / 328.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.004247, allocations: 30.56 kB / 328.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.004247, allocations: 3.938 kB / 328.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001598/0.004407, allocations: 85.5 kB / 328.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.00445, allocations: 81.11 kB / 328.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.00453, allocations: 141 kB / 328.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.004539, allocations: 25.7 kB / 328.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.004577, allocations: 88.14 kB / 329 MB, free: 11.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.224e-06/0.004584, allocations: 0 / 329 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.004608, allocations: 17.67 kB / 329 MB, free: 11.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.00468, allocations: 318.8 kB / 329.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.004697, allocations: 4 kB / 329.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.00471, allocations: 8.125 kB / 329.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.083e-05/0.004741, allocations: 16.84 kB / 329.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.004742, allocations: 0 / 329.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.22e-05/0.004795, allocations: 49.62 kB / 329.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.004805, allocations: 4 kB / 329.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.00481, allocations: 7.938 kB / 329.4 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.00482, allocations: 0 / 329.4 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.05e-05/0.00485, allocations: 3.984 kB / 329.4 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.004854, allocations: 4.094 kB / 329.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.166e-05/0.004866, allocations: 4 kB / 329.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.004871, allocations: 0 / 329.4 MB, free: 11.5 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: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.538e-05/0.004926, allocations: 117.8 kB / 329.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.004963, allocations: 45.66 kB / 329.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.004989, allocations: 24.2 kB / 329.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.004991, allocations: 0 / 329.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.004994, allocations: 0 / 329.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.004997, allocations: 7.938 kB / 329.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.277e-05/0.00508, allocations: 113.3 kB / 329.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.00508, allocations: 4 kB / 329.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.211e-05/0.005102, allocations: 8 kB / 329.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.005104, allocations: 0 / 329.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.005114, allocations: 3.984 kB / 329.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.005115, allocations: 3.938 kB / 329.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.005118, allocations: 4 kB / 329.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.016e-05/0.005208, allocations: 156.4 kB / 329.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.005231, allocations: 19.94 kB / 329.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.679e-06/0.005241, allocations: 3.938 kB / 329.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.088e-05/0.005272, allocations: 11.92 kB / 329.9 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.005294, allocations: 4 kB / 329.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.005298, allocations: 4 kB / 329.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.253e-05/0.005341, allocations: 103.3 kB / 330 MB, free: 10.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005341, allocations: 0 / 330 MB, free: 10.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001361/0.005477, allocations: 7.938 kB / 330.1 MB, free: 10.8 MB / 298.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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * 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 6.229e-05/0.005539, allocations: 99.23 kB / 330.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.973e-05/0.005619, allocations: 19.98 kB / 330.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.00562, allocations: 0 / 330.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.524e-05/0.005635, allocations: 12 kB / 330.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.00585, allocations: 32.36 kB / 330.2 MB, free: 10.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/0.006089, allocations: 183.2 kB / 330.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.164e-05/0.00614, allocations: 71.58 kB / 330.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.006163, allocations: 12.5 kB / 330.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.006164, allocations: 0 / 330.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of Templates: time 0.00136/0.007524, allocations: 0.6679 MB / 331.1 MB, free: 9.648 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.1564750308170915]