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.0007814/0.0007814, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003354/0.003354, allocations: 157.7 kB / 24.7 MB, free: 8.891 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.8458/0.8458, allocations: 177 MB / 204.9 MB, free: 5.73 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.513e-06/1.513e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.564e-05, allocations: 3.125 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.001727/0.001743, allocations: 1.636 MB / 327.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006873/0.00243, allocations: 0.5764 MB / 328 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.0025, allocations: 3.938 kB / 328 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.002689, allocations: 15.86 kB / 328 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.77e-05/0.002737, allocations: 11.88 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.002986, allocations: 75.66 kB / 328.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.003086, allocations: 63.78 kB / 328.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.5e-05/0.003171, allocations: 15.92 kB / 328.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.003286, allocations: 47.89 kB / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.295e-05/0.003359, allocations: 23.91 kB / 328.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.003375, allocations: 4 kB / 328.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.404e-05/0.003409, allocations: 8 kB / 328.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.522e-05/0.003464, allocations: 23.91 kB / 328.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.003488, allocations: 19.92 kB / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.003611, allocations: 79.66 kB / 328.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003613, allocations: 0 / 328.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003614, allocations: 0 / 328.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.003617, allocations: 0 / 328.4 MB, free: 12.76 MB / 298.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.0003393/0.003957, allocations: 317.9 kB / 328.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.003988, allocations: 11.98 kB / 328.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.004088, allocations: 16.89 kB / 328.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.004256, allocations: 146.1 kB / 328.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.004273, allocations: 8.375 kB / 328.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.004283, allocations: 4.375 kB / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.004514, allocations: 154.4 kB / 329 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.004522, allocations: 7.875 kB / 329 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.00453, allocations: 0 / 329 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.004534, allocations: 4 kB / 329 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.598e-05/0.0046, allocations: 39.91 kB / 329.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.004816, allocations: 218.3 kB / 329.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.041e-05/0.004896, allocations: 79.89 kB / 329.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.004945, allocations: 50.48 kB / 329.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.004964, allocations: 8 kB / 329.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.004983, allocations: 34.56 kB / 329.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.004984, allocations: 0 / 329.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001991/0.005183, allocations: 109.5 kB / 329.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.005235, allocations: 110.8 kB / 329.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.527e-05/0.00532, allocations: 149.4 kB / 329.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.00533, allocations: 25.7 kB / 329.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.005367, allocations: 100 kB / 329.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.00538, allocations: 8.188 kB / 330 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.005407, allocations: 21.72 kB / 330 MB, free: 10.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.005477, allocations: 318.8 kB / 330.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.005501, allocations: 11.98 kB / 330.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.005531, allocations: 30.56 kB / 330.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.486e-05/0.005586, allocations: 50.44 kB / 330.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.005588, allocations: 4 kB / 330.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.145e-05/0.005669, allocations: 81.56 kB / 330.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.005679, allocations: 4 kB / 330.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005683, allocations: 0 / 330.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.005693, allocations: 0 / 330.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.94e-05/0.005742, allocations: 15.92 kB / 330.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.005746, allocations: 0 / 330.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.005767, allocations: 8 kB / 330.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.005772, allocations: 0 / 330.5 MB, free: 10.41 MB / 298.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.411e-05/0.005836, allocations: 125.9 kB / 330.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.005894, allocations: 73.58 kB / 330.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.005918, allocations: 16.47 kB / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.00592, allocations: 0 / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.005924, allocations: 4 kB / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.005928, allocations: 3.984 kB / 330.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.718e-05/0.006015, allocations: 125.7 kB / 330.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.006016, allocations: 0 / 330.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.056e-05/0.006046, allocations: 19.92 kB / 330.8 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.006048, allocations: 4 kB / 330.9 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.006055, allocations: 0 / 330.9 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.006055, allocations: 4.031 kB / 330.9 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.006058, allocations: 7.938 kB / 330.9 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.00617, allocations: 197.1 kB / 331.1 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.006198, allocations: 15.95 kB / 331.1 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.006211, allocations: 3.984 kB / 331.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.508e-05/0.006246, allocations: 8 kB / 331.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.006268, allocations: 0 / 331.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.006272, allocations: 7.938 kB / 331.1 MB, free: 9.734 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.627e-05/0.006318, allocations: 111.2 kB / 331.2 MB, free: 9.625 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006318, allocations: 4 kB / 331.2 MB, free: 9.621 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001461/0.006464, allocations: 12 kB / 331.2 MB, free: 9.609 MB / 298.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.336e-05/0.006527, allocations: 103.2 kB / 331.3 MB, free: 9.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.614e-05/0.006623, allocations: 43.91 kB / 331.4 MB, free: 9.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006625, allocations: 0 / 331.4 MB, free: 9.457 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.736e-05/0.006642, allocations: 7.984 kB / 331.4 MB, free: 9.449 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.006882, allocations: 43.94 kB / 331.4 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.007216, allocations: 248.8 kB / 331.7 MB, free: 9.125 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.529e-05/0.007271, allocations: 89.11 kB / 331.7 MB, free: 9.016 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.007297, allocations: 12.5 kB / 331.8 MB, free: 9.004 MB / 298.7 MB Notification: Performance of SimCode: time 4.3e-07/0.007298, allocations: 0 / 331.8 MB, free: 9.004 MB / 298.7 MB Notification: Performance of Templates: time 0.001882/0.00918, allocations: 1.09 MB / 332.8 MB, free: 7.926 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.022673346102238]