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.001614/0.001614, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.00161/0.00161, allocations: 157 kB / 24.99 MB, free: 8.801 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 1.051/1.051, allocations: 177 MB / 205.2 MB, free: 5.605 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 4.008e-06/4.008e-06, allocations: 4 kB / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.264e-05/3.665e-05, allocations: 2.312 kB / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003353/0.003389, allocations: 1.653 MB / 274.7 MB, free: 92 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.004656, allocations: 0.6075 MB / 275.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.004782, allocations: 4 kB / 275.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.005108, allocations: 11.86 kB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.578e-05/0.005194, allocations: 15.86 kB / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.005667, allocations: 79.66 kB / 275.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.005843, allocations: 63.72 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.006008, allocations: 11.94 kB / 275.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.006206, allocations: 43.95 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.006327, allocations: 31.89 kB / 275.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.006351, allocations: 4 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.017e-05/0.006401, allocations: 4 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.006489, allocations: 19.92 kB / 275.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.006528, allocations: 15.94 kB / 275.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.006707, allocations: 67.67 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.006709, allocations: 0 / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.006711, allocations: 3.938 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.006718, allocations: 0 / 275.6 MB, free: 15.11 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.0005145/0.007232, allocations: 416.2 kB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.007279, allocations: 11.98 kB / 276.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.007431, allocations: 28.84 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.00765, allocations: 149 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.007675, allocations: 4.375 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.007686, allocations: 384 / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.008025, allocations: 173.1 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.008036, allocations: 3.938 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.008047, allocations: 4 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.008055, allocations: 0 / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.291e-05/0.008098, allocations: 11.94 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.00844, allocations: 279.2 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.008551, allocations: 97.17 kB / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.008604, allocations: 39.19 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.008625, allocations: 0 / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.008655, allocations: 45.33 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.008656, allocations: 4 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002114/0.008868, allocations: 77.56 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.008943, allocations: 114.8 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.009062, allocations: 209.2 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.009075, allocations: 25.7 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.009131, allocations: 134.9 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.009152, allocations: 11.89 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.00919, allocations: 27.36 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.009333, allocations: 0.4886 MB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/0.009352, allocations: 7.984 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.117e-05/0.009383, allocations: 31.06 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.009437, allocations: 42.94 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.00944, allocations: 0 / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.069e-05/0.009531, allocations: 61.58 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.009546, allocations: 7.125 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.009552, allocations: 0 / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.009568, allocations: 8.094 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-05/0.009653, allocations: 11.92 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.00966, allocations: 0 / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/0.009685, allocations: 8 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.00969, allocations: 0 / 278.1 MB, free: 12.32 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.0001066/0.009797, allocations: 160.5 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-05/0.009885, allocations: 65.58 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/0.009926, allocations: 16.45 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.009932, allocations: 8.422 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.009939, allocations: 0 / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.009944, allocations: 4.031 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.01009, allocations: 140.5 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01009, allocations: 0 / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.01013, allocations: 11.98 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01013, allocations: 7.938 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.01014, allocations: 4 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01014, allocations: 0 / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.01015, allocations: 4 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.01031, allocations: 235.2 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.01035, allocations: 11.95 kB / 278.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.01037, allocations: 11.98 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.385e-05/0.0104, allocations: 0 / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.01044, allocations: 4 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.01044, allocations: 0 / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.002e-05/0.01051, allocations: 151.2 kB / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01051, allocations: 3.938 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001578/0.01067, allocations: 8 kB / 279 MB, free: 11.41 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.0001216/0.01079, allocations: 99.25 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.01092, allocations: 31.73 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01092, allocations: 4.062 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.532e-05/0.01093, allocations: 15.69 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.01125, allocations: 39 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006965/0.01195, allocations: 219.3 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.149e-05/0.012, allocations: 67.34 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.555e-05/0.01202, allocations: 4.156 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.01206, allocations: 20.48 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01206, allocations: 0 / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of Templates: time 0.002872/0.01494, allocations: 0.9041 MB / 280.4 MB, free: 9.957 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.7794116500299424]