Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 51.86 kB / 371.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.266, allocations: 52.19 MB / 423.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.004036/0.27, allocations: 2.424 MB / 426.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.2716, allocations: 0.8339 MB / 427.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.2718, allocations: 15.88 kB / 427.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.2721, allocations: 55.52 kB / 427.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.2723, allocations: 67.47 kB / 427.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000568/0.2728, allocations: 207.5 kB / 427.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004536/0.2733, allocations: 391.5 kB / 427.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.2735, allocations: 75.86 kB / 427.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.2737, allocations: 167.4 kB / 428.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.274, allocations: 187.2 kB / 428.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.986e-05/0.2741, allocations: 40 kB / 428.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.337e-05/0.2741, allocations: 35.94 kB / 428.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.2743, allocations: 111.7 kB / 428.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.2744, allocations: 159.1 kB / 428.6 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.2749, allocations: 371.7 kB / 429 MB, free: 9.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2749, allocations: 0 / 429 MB, free: 9.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2749, allocations: 0 / 429 MB, free: 9.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.2749, allocations: 0 / 429 MB, free: 9.59 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.001292/0.2762, allocations: 0.6063 MB / 429.6 MB, free: 8.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.2762, allocations: 8.031 kB / 429.6 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.85e-05/0.2763, allocations: 48.7 kB / 429.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.2768, allocations: 253.4 kB / 429.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003299/0.2771, allocations: 351.8 kB / 430.2 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.679e-05/0.2772, allocations: 28.38 kB / 430.2 MB, free: 8.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.2784, allocations: 0.5661 MB / 430.8 MB, free: 7.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.2784, allocations: 8 kB / 430.8 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.2784, allocations: 11.94 kB / 430.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.2784, allocations: 8 kB / 430.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.2798, allocations: 0.5151 MB / 431.4 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.2813, allocations: 0.953 MB / 432.3 MB, free: 6.035 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.2829, allocations: 494.4 kB / 432.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006154/0.2835, allocations: 231.4 kB / 433 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.112e-05/0.2836, allocations: 8.141 kB / 433 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.2836, allocations: 38.56 kB / 433.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.944e-06/0.2836, allocations: 4 kB / 433.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.03926/0.3229, allocations: 5.773 MB / 438.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.323, allocations: 148.9 kB / 439 MB, free: 15.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.3234, allocations: 265.8 kB / 439.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.858e-05/0.3234, allocations: 37.64 kB / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3235, allocations: 149.8 kB / 439.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.3238, allocations: 202.3 kB / 439.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.324, allocations: 110.6 kB / 439.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3242, allocations: 350.8 kB / 440.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.3258, allocations: 0.6149 MB / 440.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.3275, allocations: 0.7964 MB / 441.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003016/0.3305, allocations: 1.251 MB / 442.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3305, allocations: 4 kB / 442.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003516/0.334, allocations: 1.406 MB / 444.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.3341, allocations: 10.5 kB / 444.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.3341, allocations: 4 kB / 444.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.3341, allocations: 8.375 kB / 444.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.3355, allocations: 211.6 kB / 444.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/0.3355, allocations: 11.94 kB / 444.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009479/0.3364, allocations: 107.8 kB / 444.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.014e-05/0.3365, allocations: 27.94 kB / 444.5 MB, free: 9.516 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: 2 (kinematicPTP.noWphase,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 (83): * Single equations (assignments): 83 * 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.0003603/0.3369, allocations: 185.6 kB / 444.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003142/0.3372, allocations: 161.3 kB / 444.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.3374, allocations: 67.61 kB / 444.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.3374, allocations: 8 kB / 444.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.3374, allocations: 7.984 kB / 444.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.3374, allocations: 4 kB / 444.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004914/0.3423, allocations: 2.159 MB / 447.1 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/0.3423, allocations: 12 kB / 447.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007724/0.3431, allocations: 183.7 kB / 447.3 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/0.3431, allocations: 12 kB / 447.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/0.3432, allocations: 24.44 kB / 447.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.925e-05/0.3432, allocations: 27.92 kB / 447.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-05/0.3432, allocations: 15.94 kB / 447.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003284/0.3465, allocations: 1.557 MB / 448.9 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.3467, allocations: 103.7 kB / 449 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.978e-05/0.3468, allocations: 27.98 kB / 449.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005946/0.3474, allocations: 75.91 kB / 449.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.3476, allocations: 99.64 kB / 449.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.3477, allocations: 35.98 kB / 449.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002076/0.3479, allocations: 189.1 kB / 449.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3479, allocations: 0 / 449.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006899/0.3486, allocations: 128 kB / 449.6 MB, free: 4.113 MB / 350.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: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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.0001892/0.3488, allocations: 138.9 kB / 449.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002826/0.3516, allocations: 1.026 MB / 450.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.3516, allocations: 0 / 450.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.3526, allocations: 334.4 kB / 451.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009843/0.3536, allocations: 153.5 kB / 451.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.3564, allocations: 1.273 MB / 452.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/0.357, allocations: 0.8323 MB / 453.3 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.3573, allocations: 39.44 kB / 453.4 MB, free: 140 kB / 350.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3573, allocations: 0 / 453.4 MB, free: 140 kB / 350.1 MB Notification: Performance of Templates: time 0.01242/0.3697, allocations: 7.441 MB / 460.8 MB, free: 8.723 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/CascadeControlledDrive/AbsoluteClocks/AbsoluteClocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.671376495854929]