Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 67.77 kB / 21.69 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009694/0.0009694, allocations: 169.6 kB / 24.99 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9845/0.9845, allocations: 177.1 MB / 205.3 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 273.1 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.696e-05, allocations: 2.312 kB / 273.1 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002634/0.002661, allocations: 1.664 MB / 274.7 MB, free: 120 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.003761, allocations: 0.5958 MB / 275.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.003884, allocations: 7.938 kB / 275.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.004178, allocations: 19.86 kB / 275.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.463e-05/0.004242, allocations: 11.86 kB / 275.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.00465, allocations: 75.61 kB / 275.4 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.004792, allocations: 67.77 kB / 275.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.004916, allocations: 8 kB / 275.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.005092, allocations: 47.88 kB / 275.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.005193, allocations: 15.98 kB / 275.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.005214, allocations: 11.94 kB / 275.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.26e-05/0.005267, allocations: 11.94 kB / 275.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.851e-05/0.005345, allocations: 23.91 kB / 275.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.00538, allocations: 15.98 kB / 275.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.005557, allocations: 63.69 kB / 275.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.005562, allocations: 0 / 275.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.005564, allocations: 0 / 275.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.005569, allocations: 0 / 275.7 MB, free: 15.14 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004918/0.00606, allocations: 412.2 kB / 276.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.006104, allocations: 12.03 kB / 276.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.00626, allocations: 28.83 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.006471, allocations: 148.9 kB / 276.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.006496, allocations: 8.375 kB / 276.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.006508, allocations: 8.312 kB / 276.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.006825, allocations: 149.3 kB / 276.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.006836, allocations: 3.938 kB / 276.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.006847, allocations: 3.984 kB / 276.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.006858, allocations: 8 kB / 276.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.687e-05/0.006905, allocations: 15.92 kB / 276.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.007229, allocations: 279.2 kB / 276.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.007336, allocations: 93.17 kB / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.007387, allocations: 43.12 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.007408, allocations: 4 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.007433, allocations: 37.38 kB / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.007434, allocations: 0 / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.00021/0.007644, allocations: 89.77 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.007713, allocations: 114.7 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.007838, allocations: 201.1 kB / 277.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.007852, allocations: 29.7 kB / 277.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.007906, allocations: 142.8 kB / 277.5 MB, free: 13.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.007928, allocations: 15.88 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.007959, allocations: 19.38 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.008068, allocations: 0.4923 MB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.008086, allocations: 4 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.559e-05/0.008112, allocations: 31.06 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.812e-05/0.00816, allocations: 51.17 kB / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008162, allocations: 0 / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.28e-05/0.008255, allocations: 57.59 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.00827, allocations: 4 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.008278, allocations: 7.984 kB / 278.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.008293, allocations: 0 / 278.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.444e-05/0.008377, allocations: 4 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.008384, allocations: 4.094 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.008405, allocations: 4 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.00841, allocations: 0 / 278.2 MB, free: 12.36 MB / 266.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 9.621e-05/0.008506, allocations: 172.4 kB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.623e-05/0.008583, allocations: 65.64 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.659e-05/0.008619, allocations: 12.45 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.008622, allocations: 4 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.008626, allocations: 0 / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.00863, allocations: 0 / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.008752, allocations: 140.5 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.008754, allocations: 4.031 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.415e-05/0.008798, allocations: 15.94 kB / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.008801, allocations: 0 / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.008808, allocations: 0 / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.008811, allocations: 4 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.008814, allocations: 3.984 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.008956, allocations: 231.5 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.008995, allocations: 23.88 kB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.009021, allocations: 4 kB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.00906, allocations: 8 kB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.009091, allocations: 4 kB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.009096, allocations: 4 kB / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.266e-05/0.009158, allocations: 143.2 kB / 279 MB, free: 11.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009158, allocations: 4 kB / 279 MB, free: 11.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001563/0.009315, allocations: 15.94 kB / 279 MB, free: 11.43 MB / 266.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 9.772e-05/0.009412, allocations: 99.19 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.632e-05/0.009509, allocations: 31.61 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.00951, allocations: 4 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.249e-05/0.009523, allocations: 7.875 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.009823, allocations: 56.67 kB / 279.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005916/0.01042, allocations: 207.4 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.121e-05/0.01046, allocations: 67.34 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.729e-05/0.01048, allocations: 7.984 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.01051, allocations: 8.5 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01051, allocations: 4 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of Templates: time 0.002681/0.0132, allocations: 0.9008 MB / 280.4 MB, free: 9.996 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.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.880518058082089]