Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.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.001789/0.001789, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001798/0.001798, allocations: 185 kB / 24.46 MB, free: 3.863 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.483/1.483, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.SuperSampled,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.SuperSampled") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,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.SuperSampled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 47.92 kB / 371.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2862, allocations: 52.16 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.004028/0.2902, allocations: 2.244 MB / 426 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.2917, allocations: 0.7405 MB / 426.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.2918, allocations: 7.938 kB / 426.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.2921, allocations: 51.58 kB / 426.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.2923, allocations: 59.55 kB / 426.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004961/0.2928, allocations: 167.7 kB / 427.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.2933, allocations: 375.6 kB / 427.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.2935, allocations: 63.61 kB / 427.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.2938, allocations: 159.5 kB / 427.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.2941, allocations: 163.3 kB / 427.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.897e-05/0.2942, allocations: 32 kB / 427.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.616e-05/0.2942, allocations: 39.94 kB / 427.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.2944, allocations: 99.7 kB / 428 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.2945, allocations: 115.4 kB / 428.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005002/0.295, allocations: 341.5 kB / 428.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.295, allocations: 0 / 428.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.295, allocations: 4 kB / 428.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.2951, allocations: 0 / 428.4 MB, free: 9.859 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001447/0.2965, allocations: 0.556 MB / 429 MB, free: 9.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.2965, allocations: 8.031 kB / 429 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.505e-05/0.2966, allocations: 36.75 kB / 429 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.2972, allocations: 214 kB / 429.2 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/0.2975, allocations: 351.9 kB / 429.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.2976, allocations: 32.38 kB / 429.6 MB, free: 8.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.2988, allocations: 0.5504 MB / 430.2 MB, free: 7.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.2988, allocations: 4 kB / 430.2 MB, free: 7.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.2989, allocations: 12 kB / 430.2 MB, free: 7.965 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.2989, allocations: 8 kB / 430.2 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.3005, allocations: 0.5074 MB / 430.7 MB, free: 7.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.3021, allocations: 0.8599 MB / 431.5 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.3037, allocations: 466.5 kB / 432 MB, free: 6.043 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00068/0.3043, allocations: 235.4 kB / 432.2 MB, free: 5.801 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.759e-05/0.3044, allocations: 8 kB / 432.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.3044, allocations: 46.5 kB / 432.3 MB, free: 5.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 2.575e-06/0.3044, allocations: 0 / 432.3 MB, free: 5.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.03939/0.3438, allocations: 5.733 MB / 438 MB, free: 15.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.344, allocations: 152.8 kB / 438.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.3442, allocations: 210.6 kB / 438.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.009e-05/0.3443, allocations: 37.7 kB / 438.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.3444, allocations: 141.7 kB / 438.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.3447, allocations: 202.3 kB / 438.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002972/0.345, allocations: 114.6 kB / 438.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3451, allocations: 346.8 kB / 439.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/0.3468, allocations: 0.6188 MB / 439.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/0.3487, allocations: 0.8081 MB / 440.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/0.352, allocations: 1.252 MB / 441.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.352, allocations: 4 kB / 441.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003828/0.3558, allocations: 1.403 MB / 443.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.3558, allocations: 9.875 kB / 443.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.3559, allocations: 4 kB / 443.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-05/0.3559, allocations: 16.19 kB / 443.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.3573, allocations: 211.7 kB / 443.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.637e-05/0.3573, allocations: 15.88 kB / 443.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.3583, allocations: 111.7 kB / 443.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.773e-05/0.3584, allocations: 28 kB / 443.7 MB, free: 10.11 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.0003467/0.3588, allocations: 181.7 kB / 443.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003294/0.3591, allocations: 161.3 kB / 444 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.3593, allocations: 55.78 kB / 444.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.3593, allocations: 8 kB / 444.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.3593, allocations: 3.938 kB / 444.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.3593, allocations: 7.984 kB / 444.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005066/0.3643, allocations: 1.922 MB / 446 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.3644, allocations: 8.188 kB / 446 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008017/0.3652, allocations: 179.8 kB / 446.2 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.045e-05/0.3652, allocations: 16 kB / 446.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/0.3652, allocations: 31.92 kB / 446.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.899e-05/0.3653, allocations: 19.88 kB / 446.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.216e-05/0.3653, allocations: 15.94 kB / 446.3 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003591/0.3689, allocations: 1.569 MB / 447.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/0.3691, allocations: 91.69 kB / 447.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.509e-05/0.3692, allocations: 27.94 kB / 447.9 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006116/0.3698, allocations: 75.91 kB / 448 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/0.37, allocations: 103.6 kB / 448.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/0.3701, allocations: 32.06 kB / 448.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.3702, allocations: 152.8 kB / 448.3 MB, free: 5.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3702, allocations: 3.938 kB / 448.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007194/0.3709, allocations: 124 kB / 448.4 MB, free: 5.02 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: 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.0001985/0.3711, allocations: 131 kB / 448.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002983/0.3741, allocations: 1.041 MB / 449.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.3741, allocations: 0 / 449.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.3752, allocations: 339.2 kB / 449.9 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009099/0.3761, allocations: 129 kB / 450.1 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.3787, allocations: 1.227 MB / 451.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.379, allocations: 203.3 kB / 451.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/0.3793, allocations: 43.42 kB / 451.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3793, allocations: 0 / 451.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of Templates: time 0.01241/0.3917, allocations: 7.333 MB / 458.9 MB, free: 10.41 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/CascadeControlledDrive/SuperSampled/SuperSampled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.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.691002952866256]