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.001748/0.001748, allocations: 81.58 kB / 20.68 MB, free: 1.023 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.001866/0.001866, allocations: 151.1 kB / 23.94 MB, free: 4.164 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.419/1.419, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.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 2.314e-06/2.314e-06, allocations: 0 / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.772e-05, allocations: 6.219 kB / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.003688/0.003716, allocations: 2.282 MB / 321.2 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.005317, allocations: 0.7966 MB / 322 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004085/0.005726, allocations: 8.969 kB / 322 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004368/0.006162, allocations: 60.31 kB / 322 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000466/0.006629, allocations: 75.8 kB / 322.1 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007839/0.007412, allocations: 190.7 kB / 322.3 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006007/0.008013, allocations: 406.7 kB / 322.7 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.008219, allocations: 74.06 kB / 322.8 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004805/0.008699, allocations: 233.4 kB / 323 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.009028, allocations: 147.4 kB / 323.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.00913, allocations: 39.28 kB / 323.2 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-05/0.009215, allocations: 34.34 kB / 323.2 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.009353, allocations: 114 kB / 323.3 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.009517, allocations: 111.2 kB / 323.4 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006012/0.01012, allocations: 394.5 kB / 323.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.01012, allocations: 0.625 kB / 323.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01012, allocations: 0.6875 kB / 323.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.01014, allocations: 3.938 kB / 323.8 MB, free: 0.6562 MB / 286.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.001462/0.0116, allocations: 0.5993 MB / 324.4 MB, free: 232 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.01164, allocations: 13.09 kB / 324.4 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.01175, allocations: 46.33 kB / 324.5 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.01221, allocations: 253.4 kB / 324.7 MB, free: 0 / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004144/0.01262, allocations: 353.2 kB / 325.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.045e-05/0.01269, allocations: 28.19 kB / 325.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.01419, allocations: 0.5727 MB / 325.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.01422, allocations: 6.359 kB / 325.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.165e-05/0.01426, allocations: 14.88 kB / 325.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.01427, allocations: 10.88 kB / 325.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.01592, allocations: 0.5124 MB / 326.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.01762, allocations: 0.8526 MB / 327.1 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.01929, allocations: 482.2 kB / 327.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007189/0.02001, allocations: 245.8 kB / 327.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.758e-05/0.02005, allocations: 7.031 kB / 327.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.02009, allocations: 47.62 kB / 327.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=45): time 2.495e-06/0.0201, allocations: 4 kB / 327.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.04078/0.06088, allocations: 5.781 MB / 333.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.06104, allocations: 156.3 kB / 333.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/0.06143, allocations: 269.4 kB / 334 MB, free: 11.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.06155, allocations: 36.14 kB / 334.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.06167, allocations: 148.5 kB / 334.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/0.0619, allocations: 192.9 kB / 334.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003415/0.06224, allocations: 99.47 kB / 334.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.06241, allocations: 342.3 kB / 334.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.06424, allocations: 0.61 MB / 335.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.06618, allocations: 0.6925 MB / 336.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00342/0.0696, allocations: 1.12 MB / 337.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.0696, allocations: 4 kB / 337.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003998/0.0736, allocations: 1.294 MB / 338.6 MB, free: 7.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.07363, allocations: 7.938 kB / 338.6 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.07364, allocations: 4 kB / 338.6 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.07366, allocations: 8.188 kB / 338.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.07506, allocations: 179.7 kB / 338.8 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.07507, allocations: 4 kB / 338.8 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.07613, allocations: 91.83 kB / 338.9 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.425e-05/0.07623, allocations: 23.92 kB / 338.9 MB, free: 7.359 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (67): * Single equations (assignments): 67 * 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.0004309/0.07666, allocations: 181.7 kB / 339.1 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004048/0.07706, allocations: 161.3 kB / 339.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.07728, allocations: 71.55 kB / 339.3 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.07729, allocations: 8 kB / 339.3 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/0.0773, allocations: 4 kB / 339.3 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.07731, allocations: 7.922 kB / 339.3 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005545/0.08286, allocations: 1.926 MB / 341.2 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.35e-05/0.08288, allocations: 8 kB / 341.2 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000822/0.0837, allocations: 187.8 kB / 341.4 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.842e-05/0.08372, allocations: 16.23 kB / 341.4 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.971e-05/0.0838, allocations: 28 kB / 341.5 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.996e-05/0.08382, allocations: 19.92 kB / 341.5 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.666e-05/0.08384, allocations: 19.88 kB / 341.5 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003834/0.08767, allocations: 1.566 MB / 343.1 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.08795, allocations: 111.6 kB / 343.2 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.324e-05/0.08804, allocations: 32.17 kB / 343.2 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006629/0.0887, allocations: 71.92 kB / 343.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/0.08894, allocations: 103.6 kB / 343.4 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/0.089, allocations: 44 kB / 343.4 MB, free: 2.473 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002221/0.08922, allocations: 185.2 kB / 343.6 MB, free: 2.289 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.08922, allocations: 0 / 343.6 MB, free: 2.289 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006882/0.08991, allocations: 120 kB / 343.7 MB, free: 2.172 MB / 302.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.0002021/0.09011, allocations: 131 kB / 343.8 MB, free: 2.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003099/0.09321, allocations: 1.002 MB / 344.8 MB, free: 1.035 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/0.09322, allocations: 4 kB / 344.9 MB, free: 1.031 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.09441, allocations: 333.8 kB / 345.2 MB, free: 0.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009674/0.09537, allocations: 147.1 kB / 345.3 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.09814, allocations: 1.175 MB / 346.5 MB, free: 15.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.09842, allocations: 232.6 kB / 346.7 MB, free: 14.98 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005037/0.09893, allocations: 91.22 kB / 346.8 MB, free: 14.89 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/0.09925, allocations: 44.5 kB / 346.9 MB, free: 14.85 MB / 318.1 MB Notification: Performance of SimCode: time 7.62e-07/0.09926, allocations: 480 / 346.9 MB, free: 14.85 MB / 318.1 MB Notification: Performance of Templates: time 0.01616/0.1154, allocations: 8.943 MB / 355.8 MB, free: 5.98 MB / 318.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.610303718596697]