Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001885/0.001885, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00157/0.00157, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.611/1.611, allocations: 230.4 MB / 251.1 MB, free: 8.516 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 71.83 kB / 369 MB, free: 6.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3588, allocations: 53.31 MB / 422.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.00339/0.3622, allocations: 1.625 MB / 423.9 MB, free: 6.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3635, allocations: 0.6115 MB / 424.5 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.3636, allocations: 11.88 kB / 424.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.3639, allocations: 19.86 kB / 424.5 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.344e-05/0.364, allocations: 7.922 kB / 424.5 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.3643, allocations: 71.75 kB / 424.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3645, allocations: 75.77 kB / 424.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3646, allocations: 11.98 kB / 424.7 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.3648, allocations: 39.84 kB / 424.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.3649, allocations: 31.84 kB / 424.8 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.3649, allocations: 4 kB / 424.8 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.246e-05/0.365, allocations: 11.98 kB / 424.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/0.365, allocations: 19.92 kB / 424.8 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.3651, allocations: 31.75 kB / 424.8 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.3653, allocations: 71.23 kB / 424.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3653, allocations: 0 / 424.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3653, allocations: 4 kB / 424.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.3653, allocations: 0 / 424.9 MB, free: 5.195 MB / 334.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.0005857/0.3659, allocations: 402.9 kB / 425.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3659, allocations: 8.031 kB / 425.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.3661, allocations: 20.88 kB / 425.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.3664, allocations: 205.8 kB / 425.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.3664, allocations: 384 / 425.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.3664, allocations: 16.12 kB / 425.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.3668, allocations: 145.8 kB / 425.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3668, allocations: 3.938 kB / 425.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3668, allocations: 4 kB / 425.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3668, allocations: 4 kB / 425.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.3669, allocations: 35.91 kB / 425.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.3673, allocations: 286.5 kB / 426 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.3675, allocations: 87.75 kB / 426.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.363e-05/0.3676, allocations: 46.69 kB / 426.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.3676, allocations: 0 / 426.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.3677, allocations: 34.56 kB / 426.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3677, allocations: 0 / 426.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003367/0.368, allocations: 117.4 kB / 426.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.498e-05/0.3681, allocations: 110.8 kB / 426.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.3682, allocations: 149.6 kB / 426.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.3683, allocations: 25.7 kB / 426.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/0.3683, allocations: 96.08 kB / 426.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.3684, allocations: 7.953 kB / 426.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/0.3684, allocations: 25.97 kB / 426.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3686, allocations: 322.8 kB / 427 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.435e-05/0.3686, allocations: 19.98 kB / 427 MB, free: 2.789 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.811e-05/0.3687, allocations: 65.92 kB / 427.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.3689, allocations: 81.92 kB / 427.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3689, allocations: 0 / 427.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001918/0.3691, allocations: 109.5 kB / 427.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3691, allocations: 4 kB / 427.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3691, allocations: 4 kB / 427.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.3691, allocations: 0 / 427.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3692, allocations: 19.92 kB / 427.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.3692, allocations: 4 kB / 427.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.357e-05/0.3693, allocations: 8.156 kB / 427.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.3693, allocations: 8 kB / 427.3 MB, free: 2.441 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (9): * Single equations (assignments): 9 * 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.0001275/0.3694, allocations: 133.7 kB / 427.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.3695, allocations: 65.59 kB / 427.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/0.3696, allocations: 16.3 kB / 427.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3696, allocations: 4 kB / 427.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3696, allocations: 0 / 427.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3696, allocations: 3.938 kB / 427.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.3698, allocations: 177.6 kB / 427.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3698, allocations: 4 kB / 427.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.574e-05/0.3699, allocations: 15.97 kB / 427.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3699, allocations: 3.938 kB / 427.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.3699, allocations: 8.297 kB / 427.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3699, allocations: 0 / 427.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3699, allocations: 4 kB / 427.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.3701, allocations: 197.1 kB / 428 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.025e-05/0.3702, allocations: 93.05 kB / 428.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.3703, allocations: 4 kB / 428.1 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.3703, allocations: 8.172 kB / 428.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.3704, allocations: 3.938 kB / 428.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.3704, allocations: 11.88 kB / 428.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.319e-05/0.3705, allocations: 111.2 kB / 428.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3705, allocations: 0 / 428.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.3707, allocations: 12 kB / 428.2 MB, free: 1.469 MB / 334.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.0001414/0.3709, allocations: 103.2 kB / 428.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.371, allocations: 51.91 kB / 428.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.371, allocations: 0 / 428.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.322e-05/0.3711, allocations: 15.92 kB / 428.4 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.3715, allocations: 40.59 kB / 428.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.372, allocations: 212.8 kB / 428.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.3724, allocations: 0.7041 MB / 429.3 MB, free: 292 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.974e-05/0.3724, allocations: 8.422 kB / 429.3 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.3725, allocations: 15.42 kB / 429.3 MB, free: 268 kB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3725, allocations: 4 kB / 429.3 MB, free: 264 kB / 334.1 MB Notification: Performance of Templates: time 0.003963/0.3764, allocations: 0.855 MB / 430.2 MB, free: 15.41 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches