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.001831/0.001831, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.002154/0.002154, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.419/1.419, allocations: 225.6 MB / 250.8 MB, free: 13.38 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.001507/0.001507, allocations: 47.92 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2926, allocations: 52.14 MB / 420.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.003804/0.2964, allocations: 2.423 MB / 423.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.2981, allocations: 0.8416 MB / 424.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.2982, allocations: 7.938 kB / 424.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.2985, allocations: 55.58 kB / 424.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.2987, allocations: 67.48 kB / 424.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.2992, allocations: 199.5 kB / 424.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004542/0.2997, allocations: 403.4 kB / 424.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.2999, allocations: 71.52 kB / 424.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.3001, allocations: 167.4 kB / 425.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.3004, allocations: 187.2 kB / 425.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.462e-05/0.3004, allocations: 32 kB / 425.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.952e-05/0.3005, allocations: 36 kB / 425.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.3006, allocations: 111.6 kB / 425.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.3008, allocations: 159.1 kB / 425.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.3012, allocations: 367.7 kB / 425.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3012, allocations: 3.938 kB / 425.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3012, allocations: 8 kB / 425.9 MB, free: 10 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.3012, allocations: 0 / 425.9 MB, free: 10 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.001314/0.3025, allocations: 0.6856 MB / 426.6 MB, free: 9.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3026, allocations: 11.89 kB / 426.6 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.348e-05/0.3027, allocations: 44.7 kB / 426.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.3031, allocations: 307.3 kB / 427 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.3034, allocations: 142.3 kB / 427.1 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.446e-05/0.3034, allocations: 32.38 kB / 427.2 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.3046, allocations: 0.566 MB / 427.7 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.3046, allocations: 3.953 kB / 427.7 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.3047, allocations: 16 kB / 427.7 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.3047, allocations: 8 kB / 427.7 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.306, allocations: 0.5152 MB / 428.3 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.3076, allocations: 1.018 MB / 429.3 MB, free: 6.457 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.3091, allocations: 485.4 kB / 429.8 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006048/0.3097, allocations: 239.4 kB / 430 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.586e-05/0.3098, allocations: 12.14 kB / 430 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.3098, allocations: 42.5 kB / 430 MB, free: 5.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.943e-06/0.3098, allocations: 0 / 430 MB, free: 5.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.03651/0.3463, allocations: 5.763 MB / 435.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.3465, allocations: 152.9 kB / 436 MB, free: 15.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.3468, allocations: 258.6 kB / 436.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.713e-05/0.3468, allocations: 41.7 kB / 436.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.347, allocations: 157.7 kB / 436.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.3472, allocations: 202.3 kB / 436.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003113/0.3475, allocations: 114.6 kB / 436.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3476, allocations: 338.8 kB / 437 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.3492, allocations: 0.6191 MB / 437.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.3509, allocations: 0.8002 MB / 438.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/0.3538, allocations: 1.251 MB / 439.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.3538, allocations: 0 / 439.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003371/0.3572, allocations: 1.406 MB / 441.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3572, allocations: 8 kB / 441.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.3572, allocations: 4 kB / 441.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/0.3573, allocations: 8 kB / 441.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.3586, allocations: 211.7 kB / 441.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.3586, allocations: 11.94 kB / 441.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008917/0.3595, allocations: 103.8 kB / 441.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.292e-05/0.3596, allocations: 24 kB / 441.5 MB, free: 9.953 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.0003114/0.3599, allocations: 197.6 kB / 441.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/0.3602, allocations: 165.2 kB / 441.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.3603, allocations: 67.61 kB / 441.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.3603, allocations: 8 kB / 441.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/0.3604, allocations: 4 kB / 441.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.3604, allocations: 3.984 kB / 441.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004615/0.365, allocations: 2.184 MB / 444.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.365, allocations: 12 kB / 444.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007224/0.3657, allocations: 183.8 kB / 444.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.999e-05/0.3657, allocations: 12 kB / 444.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/0.3658, allocations: 24 kB / 444.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.882e-05/0.3658, allocations: 24.31 kB / 444.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/0.3658, allocations: 19.81 kB / 444.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003019/0.3688, allocations: 1.565 MB / 445.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.369, allocations: 180.7 kB / 446.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.222e-05/0.3691, allocations: 27.98 kB / 446.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005565/0.3697, allocations: 79.98 kB / 446.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.3699, allocations: 95.67 kB / 446.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/0.3699, allocations: 32.17 kB / 446.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001825/0.3701, allocations: 186 kB / 446.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3701, allocations: 3.938 kB / 446.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000616/0.3707, allocations: 124 kB / 446.6 MB, free: 4.41 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.0001557/0.3709, allocations: 135.2 kB / 446.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002602/0.3735, allocations: 1.042 MB / 447.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.3735, allocations: 4 kB / 447.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000925/0.3744, allocations: 334 kB / 448.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008639/0.3753, allocations: 136.5 kB / 448.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.3776, allocations: 1.24 MB / 449.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.3781, allocations: 0.8285 MB / 450.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004524/0.3785, allocations: 100.1 kB / 450.5 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/0.3788, allocations: 43.42 kB / 450.5 MB, free: 380 kB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3788, allocations: 0 / 450.5 MB, free: 380 kB / 350.1 MB Notification: Performance of Templates: time 0.01473/0.3935, allocations: 8.912 MB / 459.4 MB, free: 7.488 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/CascadeControlledDrive/AbsoluteClocks/AbsoluteClocks.csv","/var/lib/jenkins/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: 4.9456086764112115]