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.001121/0.001121, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009505/0.0009505, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9269/0.9269, allocations: 177 MB / 204.8 MB, free: 5.574 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.683e-06/1.683e-06, allocations: 0 / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.677e-05, allocations: 5.266 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002574/0.002601, allocations: 1.669 MB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008379/0.003439, allocations: 0.5998 MB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.823e-05/0.003527, allocations: 3.938 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.003789, allocations: 15.86 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.003856, allocations: 15.86 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.004195, allocations: 79.61 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.004304, allocations: 63.77 kB / 275.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.33e-05/0.004387, allocations: 8 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.004508, allocations: 51.83 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.92e-05/0.004587, allocations: 23.91 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.004602, allocations: 4 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.926e-05/0.004642, allocations: 11.94 kB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.004701, allocations: 27.91 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.803e-05/0.004729, allocations: 15.94 kB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.00485, allocations: 51.8 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.004852, allocations: 0 / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004853, allocations: 0 / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.004857, allocations: 4 kB / 275.6 MB, free: 14.77 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.0003622/0.00522, allocations: 420.2 kB / 276 MB, free: 14.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.005263, allocations: 11.98 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.005382, allocations: 28.78 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.005539, allocations: 149 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.005554, allocations: 384 / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.005566, allocations: 12.36 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.005804, allocations: 169.1 kB / 276.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.005811, allocations: 3.938 kB / 276.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.005819, allocations: 0 / 276.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.005825, allocations: 0 / 276.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.373e-05/0.005858, allocations: 11.94 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.00609, allocations: 283.2 kB / 276.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.77e-05/0.006167, allocations: 93.3 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.835e-05/0.006216, allocations: 39.06 kB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.006234, allocations: 4 kB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.006257, allocations: 41.33 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.006258, allocations: 4 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002933/0.006551, allocations: 77.56 kB / 276.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.006599, allocations: 118.7 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.229e-05/0.006691, allocations: 201.3 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.006701, allocations: 29.7 kB / 277.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.006744, allocations: 138.8 kB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.006761, allocations: 11.94 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.00679, allocations: 27.36 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.487e-05/0.006885, allocations: 496.1 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.006901, allocations: 16.17 kB / 277.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.258e-05/0.006923, allocations: 31.06 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.758e-05/0.006961, allocations: 39 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006963, allocations: 0 / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.3e-05/0.007026, allocations: 65.58 kB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.007036, allocations: 6.812 kB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.00704, allocations: 3.938 kB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.00705, allocations: 4.094 kB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.925e-05/0.007109, allocations: 12.36 kB / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.007113, allocations: 0 / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.007133, allocations: 4 kB / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.007138, allocations: 4 kB / 278.1 MB, free: 11.97 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 6.903e-05/0.007207, allocations: 160.5 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.007266, allocations: 65.58 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.007293, allocations: 16.45 kB / 278.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007295, allocations: 0 / 278.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.007299, allocations: 4 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.007301, allocations: 4.031 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.752e-05/0.007399, allocations: 136.5 kB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.007399, allocations: 0 / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.142e-05/0.007431, allocations: 15.98 kB / 278.5 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.007433, allocations: 4 kB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.007439, allocations: 0 / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.00744, allocations: 0 / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.007442, allocations: 3.938 kB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.007553, allocations: 235.2 kB / 278.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.007578, allocations: 19.94 kB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.007599, allocations: 11.98 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.226e-05/0.007631, allocations: 0 / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.007657, allocations: 7.938 kB / 278.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.00766, allocations: 0 / 278.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.243e-05/0.007712, allocations: 151.2 kB / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007712, allocations: 0 / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001441/0.007856, allocations: 8 kB / 278.9 MB, free: 11.07 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 7.354e-05/0.00793, allocations: 107.1 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.008013, allocations: 31.67 kB / 279 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.008014, allocations: 4.188 kB / 279 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.358e-05/0.008027, allocations: 11.62 kB / 279 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.008272, allocations: 34.72 kB / 279.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006002/0.008872, allocations: 223.3 kB / 279.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.781e-05/0.00891, allocations: 63.34 kB / 279.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.129e-05/0.008931, allocations: 4.25 kB / 279.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.008959, allocations: 20.64 kB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.008959, allocations: 0 / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of Templates: time 0.002514/0.01147, allocations: 0.934 MB / 280.3 MB, free: 9.586 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.6395854870788753]