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.001832/0.001832, allocations: 80.95 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001807/0.001807, allocations: 150.4 kB / 23.94 MB, free: 4.164 MB / 14.72 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.439/1.439, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 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.913e-06/1.913e-06, allocations: 0 / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.074e-05/3.265e-05, allocations: 2.281 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002634/0.002667, allocations: 1.595 MB / 320.5 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009766/0.003643, allocations: 0.5201 MB / 321.1 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.225e-05/0.003736, allocations: 6.344 kB / 321.1 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.003981, allocations: 13.3 kB / 321.1 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.808e-05/0.00405, allocations: 16.56 kB / 321.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.004368, allocations: 57.42 kB / 321.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.004497, allocations: 65.83 kB / 321.2 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.004599, allocations: 16.95 kB / 321.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.004715, allocations: 43.75 kB / 321.3 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.004819, allocations: 24.66 kB / 321.3 MB, free: 2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.004842, allocations: 3.719 kB / 321.3 MB, free: 2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.693e-05/0.004859, allocations: 8.281 kB / 321.3 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.186e-05/0.004931, allocations: 17.84 kB / 321.3 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.004973, allocations: 21.64 kB / 321.3 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.005126, allocations: 71.97 kB / 321.4 MB, free: 1.945 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.00513, allocations: 0 / 321.4 MB, free: 1.945 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.005131, allocations: 1.344 kB / 321.4 MB, free: 1.945 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.005136, allocations: 0 / 321.4 MB, free: 1.945 MB / 286.1 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.0004692/0.005605, allocations: 321.9 kB / 321.7 MB, free: 1.637 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.005644, allocations: 9.062 kB / 321.7 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.005686, allocations: 9.234 kB / 321.7 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.00591, allocations: 147.3 kB / 321.9 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.005934, allocations: 2.844 kB / 321.9 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.00595, allocations: 4.531 kB / 321.9 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.006283, allocations: 149.8 kB / 322 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.006298, allocations: 8.859 kB / 322.1 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.006311, allocations: 1.188 kB / 322.1 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.006316, allocations: 1.281 kB / 322.1 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.006438, allocations: 36.12 kB / 322.1 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.006709, allocations: 218.3 kB / 322.3 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.006834, allocations: 79.52 kB / 322.4 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.032e-05/0.006914, allocations: 45.42 kB / 322.4 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.006948, allocations: 11.86 kB / 322.4 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.006972, allocations: 33.31 kB / 322.5 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.006974, allocations: 0 / 322.5 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003204/0.007294, allocations: 109.1 kB / 322.6 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.00736, allocations: 115.7 kB / 322.7 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.007461, allocations: 139.9 kB / 322.8 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.007472, allocations: 26.8 kB / 322.9 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.00751, allocations: 91.36 kB / 322.9 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.007528, allocations: 11.83 kB / 323 MB, free: 0.543 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.007566, allocations: 20.12 kB / 323 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.608e-05/0.007622, allocations: 319.4 kB / 323.3 MB, free: 212 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.164e-05/0.007674, allocations: 10.83 kB / 323.3 MB, free: 212 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.376e-05/0.007728, allocations: 42.8 kB / 323.3 MB, free: 172 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.007829, allocations: 48.62 kB / 323.4 MB, free: 136 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.00783, allocations: 0 / 323.4 MB, free: 136 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000148/0.007978, allocations: 81.06 kB / 323.5 MB, free: 84 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.007998, allocations: 6.422 kB / 323.5 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.008004, allocations: 1.25 kB / 323.5 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.008023, allocations: 1.156 kB / 323.5 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.65e-05/0.008109, allocations: 8.234 kB / 323.5 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.008117, allocations: 1.156 kB / 323.5 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.008162, allocations: 7.516 kB / 323.5 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.008171, allocations: 2.219 kB / 323.5 MB, free: 80 kB / 286.1 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.0001365/0.008307, allocations: 135.2 kB / 323.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.008434, allocations: 65.02 kB / 323.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/0.008483, allocations: 18.31 kB / 323.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.008487, allocations: 2.375 kB / 323.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.008492, allocations: 1.156 kB / 323.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.008496, allocations: 0.75 kB / 323.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.008671, allocations: 127.6 kB / 323.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.008674, allocations: 0.9688 kB / 323.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.362e-05/0.008748, allocations: 19.16 kB / 323.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.008757, allocations: 5.156 kB / 323.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.008768, allocations: 7.25 kB / 323.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.008771, allocations: 2 kB / 323.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.008772, allocations: 3.938 kB / 323.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.009008, allocations: 195.8 kB / 324.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.00906, allocations: 18.56 kB / 324.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.009099, allocations: 3.344 kB / 324.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/0.009179, allocations: 11.03 kB / 324.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.009212, allocations: 2.688 kB / 324.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.009221, allocations: 3.156 kB / 324.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.009326, allocations: 112.3 kB / 324.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.009327, allocations: 4 kB / 324.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.009563, allocations: 7.781 kB / 324.2 MB, free: 15.46 MB / 302.1 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.0001277/0.009691, allocations: 105.2 kB / 324.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.009874, allocations: 43.36 kB / 324.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.009875, allocations: 1.25 kB / 324.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.869e-05/0.009914, allocations: 7.188 kB / 324.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.01033, allocations: 46.91 kB / 324.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.01087, allocations: 212 kB / 324.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.01097, allocations: 87.02 kB / 324.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.509e-05/0.01101, allocations: 4.672 kB / 324.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.01105, allocations: 12.89 kB / 324.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.01105, allocations: 0 / 324.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of Templates: time 0.004101/0.01515, allocations: 0.89 MB / 325.6 MB, free: 14.94 MB / 302.1 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.247236616909504]