Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.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.001193/0.001193, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001324/0.001324, allocations: 154.4 kB / 25.61 MB, free: 8.578 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.9909/0.9909, allocations: 177 MB / 205.9 MB, free: 4.461 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.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.234e-05, allocations: 5 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002483/0.002505, allocations: 1.655 MB / 275.8 MB, free: 2.625 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008568/0.003362, allocations: 0.5919 MB / 276.4 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-05/0.003443, allocations: 4 kB / 276.4 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.003648, allocations: 20.78 kB / 276.4 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.2e-05/0.0037, allocations: 7.875 kB / 276.4 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.003988, allocations: 84.25 kB / 276.5 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.835e-05/0.004087, allocations: 69.38 kB / 276.6 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.168e-05/0.004169, allocations: 4 kB / 276.6 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.004281, allocations: 39.95 kB / 276.6 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.152e-05/0.004363, allocations: 31.89 kB / 276.6 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.004379, allocations: 4.719 kB / 276.6 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.866e-05/0.004418, allocations: 4 kB / 276.6 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.781e-05/0.004476, allocations: 21.45 kB / 276.7 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.004502, allocations: 23.92 kB / 276.7 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.004642, allocations: 63.62 kB / 276.8 MB, free: 1.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004644, allocations: 0 / 276.8 MB, free: 1.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004645, allocations: 0.9375 kB / 276.8 MB, free: 1.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.00465, allocations: 0 / 276.8 MB, free: 1.66 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.0003759/0.005026, allocations: 416.2 kB / 277.2 MB, free: 1.219 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.005061, allocations: 12.03 kB / 277.2 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.005166, allocations: 20.88 kB / 277.2 MB, free: 1.188 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.005312, allocations: 149 kB / 277.3 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.005329, allocations: 12.31 kB / 277.3 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.005337, allocations: 4.375 kB / 277.4 MB, free: 1 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.005535, allocations: 168 kB / 277.5 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.005543, allocations: 3.938 kB / 277.5 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.00555, allocations: 0 / 277.5 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.005555, allocations: 4 kB / 277.5 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.443e-05/0.00558, allocations: 7.938 kB / 277.5 MB, free: 0.793 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.005785, allocations: 259.8 kB / 277.8 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.75e-05/0.005862, allocations: 93.16 kB / 277.9 MB, free: 384 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.005899, allocations: 39.23 kB / 277.9 MB, free: 332 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.005913, allocations: 0 / 277.9 MB, free: 332 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.005935, allocations: 49.27 kB / 278 MB, free: 272 kB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.005936, allocations: 0 / 278 MB, free: 272 kB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001426/0.006078, allocations: 73.58 kB / 278 MB, free: 192 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.006131, allocations: 114.7 kB / 278.1 MB, free: 52 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.727e-05/0.006229, allocations: 196.9 kB / 278.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.006238, allocations: 25.7 kB / 278.4 MB, free: 15.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.006285, allocations: 146.7 kB / 278.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.006302, allocations: 15.89 kB / 278.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.006328, allocations: 23.36 kB / 278.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.006437, allocations: 0.4886 MB / 279 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-06/0.006446, allocations: 4.25 kB / 279 MB, free: 15.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.006476, allocations: 39.05 kB / 279.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/0.006515, allocations: 38.98 kB / 279.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.006517, allocations: 0 / 279.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.663e-05/0.006584, allocations: 65.52 kB / 279.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.006596, allocations: 8 kB / 279.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.0066, allocations: 3.938 kB / 279.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.006608, allocations: 4.094 kB / 279.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.765e-05/0.006656, allocations: 4 kB / 279.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.00666, allocations: 4 kB / 279.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.006678, allocations: 0 / 279.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.006684, allocations: 4 kB / 279.2 MB, free: 14.91 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 7.52e-05/0.006759, allocations: 160.6 kB / 279.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.00682, allocations: 61.53 kB / 279.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.006848, allocations: 16.45 kB / 279.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.00685, allocations: 4 kB / 279.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.006853, allocations: 4.031 kB / 279.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.006856, allocations: 0 / 279.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.988e-05/0.006956, allocations: 109.2 kB / 279.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006957, allocations: 4 kB / 279.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.898e-05/0.006986, allocations: 15.92 kB / 279.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.006989, allocations: 3.938 kB / 279.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.006995, allocations: 4 kB / 279.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.006996, allocations: 0 / 279.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006997, allocations: 0 / 279.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.307e-05/0.00709, allocations: 207.3 kB / 279.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.007117, allocations: 23.92 kB / 279.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.007134, allocations: 7.938 kB / 279.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.277e-05/0.007167, allocations: 4.188 kB / 279.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.007188, allocations: 0 / 279.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.007195, allocations: 11.98 kB / 279.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.238e-05/0.007247, allocations: 150.1 kB / 280 MB, free: 14.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007248, allocations: 3.938 kB / 280 MB, free: 14.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001492/0.007397, allocations: 8 kB / 280 MB, free: 14.06 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 6.985e-05/0.007467, allocations: 95.25 kB / 280.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.642e-05/0.007553, allocations: 43.59 kB / 280.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.007554, allocations: 0 / 280.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.276e-05/0.007567, allocations: 7.688 kB / 280.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.007805, allocations: 38.14 kB / 280.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.008223, allocations: 215.4 kB / 280.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.638e-05/0.008269, allocations: 71.2 kB / 280.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.367e-05/0.008293, allocations: 4.344 kB / 280.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.008358, allocations: 90.12 kB / 280.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008359, allocations: 0 / 280.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Templates: time 0.00263/0.01099, allocations: 0.9592 MB / 281.5 MB, free: 12.49 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.823521009180695]