Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.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.001841/0.001841, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.00202/0.00202, 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.494/1.494, allocations: 173.4 MB / 200.8 MB, free: 9.301 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.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.62e-05, allocations: 2.312 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003168/0.003194, allocations: 1.608 MB / 268.9 MB, free: 5.086 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.004351, allocations: 0.5178 MB / 269.5 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.00443, allocations: 7.938 kB / 269.5 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.004638, allocations: 19.75 kB / 269.5 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.292e-05/0.004701, allocations: 7.922 kB / 269.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.005009, allocations: 67.73 kB / 269.6 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.005153, allocations: 63.72 kB / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.005249, allocations: 8 kB / 269.6 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.005367, allocations: 43.89 kB / 269.7 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.225e-05/0.00546, allocations: 19.97 kB / 269.7 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.005482, allocations: 7.938 kB / 269.7 MB, free: 4.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.604e-05/0.005498, allocations: 4 kB / 269.7 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.00557, allocations: 23.91 kB / 269.7 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.317e-05/0.005613, allocations: 12 kB / 269.7 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.005775, allocations: 79.64 kB / 269.8 MB, free: 4.203 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.005777, allocations: 0 / 269.8 MB, free: 4.203 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005777, allocations: 0 / 269.8 MB, free: 4.203 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.005781, allocations: 0 / 269.8 MB, free: 4.203 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005604/0.006342, allocations: 313.9 kB / 270.1 MB, free: 3.867 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.006379, allocations: 19.97 kB / 270.1 MB, free: 3.848 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.566e-05/0.006435, allocations: 8.891 kB / 270.2 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.006707, allocations: 149 kB / 270.3 MB, free: 3.672 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.006726, allocations: 384 / 270.3 MB, free: 3.672 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.006743, allocations: 8.375 kB / 270.3 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.007127, allocations: 146.4 kB / 270.5 MB, free: 3.5 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.007141, allocations: 11.94 kB / 270.5 MB, free: 3.488 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.007154, allocations: 4 kB / 270.5 MB, free: 3.484 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.007158, allocations: 0 / 270.5 MB, free: 3.484 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.007283, allocations: 31.91 kB / 270.5 MB, free: 3.453 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.007632, allocations: 226.2 kB / 270.7 MB, free: 3.195 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.007801, allocations: 79.72 kB / 270.8 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.007907, allocations: 46.69 kB / 270.8 MB, free: 3.035 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.007927, allocations: 0 / 270.8 MB, free: 3.035 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.007967, allocations: 42.48 kB / 270.9 MB, free: 2.984 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.007968, allocations: 4 kB / 270.9 MB, free: 2.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.000371/0.008339, allocations: 109.5 kB / 271 MB, free: 2.867 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.008441, allocations: 110.8 kB / 271.1 MB, free: 2.734 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.008602, allocations: 141.8 kB / 271.2 MB, free: 2.586 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.008629, allocations: 33.69 kB / 271.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.008699, allocations: 88.14 kB / 271.4 MB, free: 2.457 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.008719, allocations: 7.953 kB / 271.4 MB, free: 2.449 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.008759, allocations: 13.97 kB / 271.4 MB, free: 2.43 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.008944, allocations: 326.8 kB / 271.7 MB, free: 2.102 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.092e-05/0.009015, allocations: 19.92 kB / 271.7 MB, free: 2.082 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.837e-05/0.009084, allocations: 34.56 kB / 271.8 MB, free: 2.039 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.009198, allocations: 50.44 kB / 271.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.0092, allocations: 0 / 271.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000185/0.009385, allocations: 81.59 kB / 271.9 MB, free: 1.895 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.009398, allocations: 7.938 kB / 271.9 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.009402, allocations: 4 kB / 271.9 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.009415, allocations: 0 / 271.9 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/0.009497, allocations: 8 kB / 271.9 MB, free: 1.875 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.009502, allocations: 0 / 271.9 MB, free: 1.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.009548, allocations: 3.984 kB / 271.9 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.009558, allocations: 4.375 kB / 271.9 MB, free: 1.867 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.fractionalDelay.first,fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.first,fractionalDelay.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.0001318/0.00969, allocations: 125.8 kB / 272 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.00983, allocations: 73.64 kB / 272.1 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.00987, allocations: 20.48 kB / 272.1 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.009881, allocations: 0 / 272.1 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.009885, allocations: 0 / 272.1 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.009887, allocations: 4 kB / 272.1 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.01008, allocations: 125.2 kB / 272.3 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01008, allocations: 4 kB / 272.3 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.392e-05/0.01016, allocations: 8 kB / 272.3 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01016, allocations: 0 / 272.3 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.01017, allocations: 11.98 kB / 272.3 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01018, allocations: 0 / 272.3 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.01018, allocations: 7.938 kB / 272.3 MB, free: 1.445 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.01046, allocations: 197.1 kB / 272.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.01051, allocations: 23.88 kB / 272.5 MB, free: 1.207 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.01053, allocations: 0 / 272.5 MB, free: 1.207 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.152e-05/0.01061, allocations: 4 kB / 272.5 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.01065, allocations: 7.984 kB / 272.5 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.01066, allocations: 4 kB / 272.5 MB, free: 1.191 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001288/0.01078, allocations: 110.5 kB / 272.6 MB, free: 1.086 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01078, allocations: 0 / 272.6 MB, free: 1.086 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.01103, allocations: 11.98 kB / 272.6 MB, free: 1.074 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.u_buffer[1],fractionalDelay.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001218/0.01115, allocations: 107.2 kB / 272.7 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.01134, allocations: 39.97 kB / 272.8 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01134, allocations: 0 / 272.8 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.246e-05/0.01138, allocations: 11.94 kB / 272.8 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.0118, allocations: 60.33 kB / 272.8 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.01235, allocations: 216.9 kB / 273.1 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.01245, allocations: 91.3 kB / 273.1 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.317e-05/0.01248, allocations: 4 kB / 273.2 MB, free: 500 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.01252, allocations: 12.5 kB / 273.2 MB, free: 488 kB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01252, allocations: 0 / 273.2 MB, free: 488 kB / 250.7 MB Notification: Performance of Templates: time 0.003801/0.01632, allocations: 0.8801 MB / 274 MB, free: 15.6 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.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.2314733390230685]