Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8007,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8007,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 51.92 kB / 378.2 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2786, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.004202/0.2828, allocations: 2.307 MB / 433.9 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.2845, allocations: 0.8261 MB / 434.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.2847, allocations: 15.88 kB / 434.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.285, allocations: 47.56 kB / 434.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.2852, allocations: 79.47 kB / 434.8 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006058/0.2859, allocations: 195.6 kB / 435 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004968/0.2864, allocations: 387.5 kB / 435.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.2866, allocations: 75.8 kB / 435.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003532/0.2869, allocations: 171.4 kB / 435.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.2872, allocations: 171.2 kB / 435.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.697e-05/0.2873, allocations: 36 kB / 435.8 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.791e-05/0.2873, allocations: 36 kB / 435.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.2875, allocations: 115.6 kB / 436 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.2877, allocations: 135.3 kB / 436.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005202/0.2882, allocations: 376.7 kB / 436.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2882, allocations: 0 / 436.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2882, allocations: 0 / 436.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.2882, allocations: 3.984 kB / 436.5 MB, free: 1.777 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001341/0.2895, allocations: 0.6142 MB / 437.1 MB, free: 1.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2896, allocations: 8.031 kB / 437.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.948e-05/0.2897, allocations: 44.7 kB / 437.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.2901, allocations: 245.5 kB / 437.4 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003508/0.2905, allocations: 347.9 kB / 437.7 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.177e-05/0.2906, allocations: 32.38 kB / 437.8 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.2919, allocations: 0.5739 MB / 438.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.2919, allocations: 3.938 kB / 438.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/0.292, allocations: 15.98 kB / 438.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.292, allocations: 4 kB / 438.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.2935, allocations: 0.5198 MB / 438.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.295, allocations: 0.8523 MB / 439.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.2966, allocations: 478.6 kB / 440.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006864/0.2972, allocations: 243.6 kB / 440.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.502e-05/0.2973, allocations: 8 kB / 440.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.2973, allocations: 42.42 kB / 440.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.054e-06/0.2973, allocations: 0 / 440.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.03887/0.3362, allocations: 5.789 MB / 446.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.3363, allocations: 153 kB / 446.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.3367, allocations: 277.7 kB / 446.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.161e-05/0.3368, allocations: 37.7 kB / 446.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.3369, allocations: 149.7 kB / 446.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.3371, allocations: 198.3 kB / 447.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.3374, allocations: 118.6 kB / 447.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3375, allocations: 350.7 kB / 447.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.3392, allocations: 0.6188 MB / 448.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.341, allocations: 0.7964 MB / 449 MB, free: 4.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003235/0.3443, allocations: 1.268 MB / 450.2 MB, free: 3.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3443, allocations: 4 kB / 450.2 MB, free: 3.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00382/0.3481, allocations: 1.407 MB / 451.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.3481, allocations: 8 kB / 451.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.3481, allocations: 4 kB / 451.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/0.3482, allocations: 12 kB / 451.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.3495, allocations: 215.6 kB / 451.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/0.3495, allocations: 12.03 kB / 451.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009664/0.3505, allocations: 107.7 kB / 452 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.198e-05/0.3505, allocations: 28 kB / 452 MB, free: 1.754 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.noWphase,kinematicPTP.motion_ref,kinematicPTP.moving[1]) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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.0003586/0.3509, allocations: 189.6 kB / 452.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/0.3512, allocations: 161.3 kB / 452.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.3514, allocations: 67.61 kB / 452.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.3514, allocations: 12 kB / 452.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.3514, allocations: 240 / 452.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.3514, allocations: 12.39 kB / 452.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004953/0.3564, allocations: 1.933 MB / 454.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.3564, allocations: 12 kB / 454.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007662/0.3572, allocations: 184.3 kB / 454.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.826e-05/0.3572, allocations: 20 kB / 454.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.195e-05/0.3572, allocations: 20 kB / 454.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/0.3572, allocations: 31.8 kB / 454.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.651e-05/0.3573, allocations: 15.94 kB / 454.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003493/0.3608, allocations: 1.573 MB / 456.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.361, allocations: 107.6 kB / 456.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.708e-05/0.3611, allocations: 28.06 kB / 456.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/0.3617, allocations: 83.84 kB / 456.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/0.362, allocations: 95.64 kB / 456.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.457e-05/0.362, allocations: 32 kB / 456.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002748/0.3623, allocations: 193.2 kB / 456.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3623, allocations: 0 / 456.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007717/0.3631, allocations: 124 kB / 456.9 MB, free: 12.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (load.w,speed.flange.phi) * Number of discrete variables: 3 (kinematicPTP.moving[1],kinematicPTP.motion_ref,kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 73 * 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.0002017/0.3633, allocations: 142.9 kB / 457 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002857/0.3661, allocations: 1.042 MB / 458.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.3661, allocations: 4 kB / 458.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.3672, allocations: 334.3 kB / 458.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009481/0.3681, allocations: 155.3 kB / 458.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.3708, allocations: 1.248 MB / 459.8 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.3711, allocations: 228.7 kB / 460 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004971/0.3716, allocations: 100.1 kB / 460.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/0.3718, allocations: 39.44 kB / 460.2 MB, free: 9.09 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3718, allocations: 4 kB / 460.2 MB, free: 9.086 MB / 366.1 MB Notification: Performance of Templates: time 0.01555/0.3874, allocations: 9.457 MB / 469.6 MB, free: 15.72 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/AbsoluteClocks/AbsoluteClocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.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: 5.162757568061352]