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.001955/0.001955, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002317/0.002317, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.577/1.577, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.473e-06/1.473e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.806e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003492/0.00352, allocations: 1.64 MB / 274 MB, free: 180 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.004819, allocations: 0.5958 MB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.667e-05/0.004896, allocations: 3.938 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.00512, allocations: 15.86 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.211e-05/0.005182, allocations: 11.86 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.005523, allocations: 83.67 kB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.005667, allocations: 59.78 kB / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.685e-05/0.005754, allocations: 11.98 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.005908, allocations: 43.89 kB / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.567e-05/0.006004, allocations: 27.89 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.006027, allocations: 4 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.38e-05/0.00607, allocations: 8 kB / 274.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.766e-05/0.006138, allocations: 19.92 kB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.006177, allocations: 19.92 kB / 274.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.006352, allocations: 79.64 kB / 274.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.006357, allocations: 8 kB / 275 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006358, allocations: 0 / 275 MB, free: 15.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.006363, allocations: 0 / 275 MB, free: 15.18 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.0006128/0.006976, allocations: 415.8 kB / 275.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.007017, allocations: 8.031 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.007189, allocations: 20.88 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.007445, allocations: 156.9 kB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.007469, allocations: 8.375 kB / 275.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.007479, allocations: 4.312 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.007857, allocations: 160.5 kB / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.007869, allocations: 3.938 kB / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.007879, allocations: 0 / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.007888, allocations: 4 kB / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.00799, allocations: 23.92 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.008392, allocations: 287.2 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.008582, allocations: 97.17 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.008684, allocations: 59.11 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.008711, allocations: 4 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.00875, allocations: 37.39 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.008751, allocations: 0 / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003172/0.009068, allocations: 93.56 kB / 276.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.996e-05/0.009168, allocations: 114.7 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.009368, allocations: 212.9 kB / 276.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.009389, allocations: 25.95 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.009492, allocations: 150.8 kB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.009517, allocations: 11.89 kB / 276.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.009565, allocations: 27.38 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002614/0.009826, allocations: 0.4923 MB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.094e-05/0.009867, allocations: 4 kB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.397e-05/0.009931, allocations: 39.05 kB / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.01004, allocations: 58.92 kB / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01004, allocations: 4.375 kB / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001459/0.01019, allocations: 65.58 kB / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.0102, allocations: 4 kB / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.0102, allocations: 4 kB / 277.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.01022, allocations: 0 / 277.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/0.01029, allocations: 12 kB / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.0103, allocations: 4 kB / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.01034, allocations: 3.984 kB / 277.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.01036, allocations: 7.984 kB / 277.5 MB, free: 12.3 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 0.0001423/0.0105, allocations: 176.5 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.01062, allocations: 65.58 kB / 277.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.01066, allocations: 12.47 kB / 277.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.01066, allocations: 4 kB / 277.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.01067, allocations: 0 / 277.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01067, allocations: 0 / 277.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.01086, allocations: 144.5 kB / 277.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01086, allocations: 0 / 277.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.01093, allocations: 15.92 kB / 277.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.01093, allocations: 4 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.01094, allocations: 4.031 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01094, allocations: 0 / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.01095, allocations: 4 kB / 278 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.01123, allocations: 255.1 kB / 278.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.01129, allocations: 15.94 kB / 278.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.01132, allocations: 8 kB / 278.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.01138, allocations: 0 / 278.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.01142, allocations: 0 / 278.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.01143, allocations: 4 kB / 278.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.01155, allocations: 155.2 kB / 278.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01155, allocations: 4 kB / 278.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002278/0.01178, allocations: 12 kB / 278.4 MB, free: 11.36 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 0.0001231/0.0119, allocations: 95.25 kB / 278.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.01207, allocations: 47.59 kB / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01207, allocations: 0 / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.379e-05/0.01211, allocations: 15.67 kB / 278.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.01251, allocations: 50.39 kB / 278.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/0.01303, allocations: 219.6 kB / 278.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.01314, allocations: 89.11 kB / 278.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.212e-05/0.01317, allocations: 4 kB / 278.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.0132, allocations: 12.5 kB / 278.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.0132, allocations: 0 / 278.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of Templates: time 0.003944/0.01715, allocations: 0.8974 MB / 279.8 MB, free: 9.875 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.619644035003148]