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.001423/0.001423, allocations: 79.39 kB / 20.68 MB, free: 1.027 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.001335/0.001335, allocations: 147.6 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.435/1.435, allocations: 173.3 MB / 200.4 MB, free: 12.89 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.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 1.483e-06/1.483e-06, allocations: 0 / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.393e-05, allocations: 3.438 kB / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.004252/0.004276, allocations: 2.228 MB / 321.1 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.006021, allocations: 0.7367 MB / 321.9 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002949/0.006316, allocations: 8.281 kB / 321.9 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003602/0.006677, allocations: 52.17 kB / 321.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.007021, allocations: 64.28 kB / 322 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006786/0.007699, allocations: 168.2 kB / 322.2 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006275/0.008327, allocations: 379.1 kB / 322.5 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.008551, allocations: 72.12 kB / 322.6 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005562/0.009108, allocations: 224.3 kB / 322.8 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003791/0.009487, allocations: 145.6 kB / 323 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.009611, allocations: 36.06 kB / 323 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.833e-05/0.00971, allocations: 33.16 kB / 323 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.009856, allocations: 98.3 kB / 323.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.01004, allocations: 102.9 kB / 323.2 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005785/0.01062, allocations: 349.2 kB / 323.6 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01062, allocations: 3.938 kB / 323.6 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01062, allocations: 0 / 323.6 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.01064, allocations: 5.719 kB / 323.6 MB, free: 0.8047 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001579/0.01221, allocations: 0.543 MB / 324.1 MB, free: 420 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.01225, allocations: 10.33 kB / 324.1 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.01238, allocations: 37.38 kB / 324.2 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.01284, allocations: 218.4 kB / 324.4 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/0.0132, allocations: 347.9 kB / 324.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.008e-05/0.01329, allocations: 32.03 kB / 324.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.01511, allocations: 0.554 MB / 325.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.01515, allocations: 5.188 kB / 325.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.525e-05/0.0152, allocations: 10.38 kB / 325.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.01522, allocations: 7.859 kB / 325.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/0.01742, allocations: 0.5203 MB / 325.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.01963, allocations: 0.8376 MB / 326.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/0.02188, allocations: 463.3 kB / 327.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.0229, allocations: 253 kB / 327.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.591e-05/0.02296, allocations: 10.62 kB / 327.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/0.02302, allocations: 39.56 kB / 327.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=45): time 3.647e-06/0.02302, allocations: 0 / 327.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.05267/0.07569, allocations: 5.735 MB / 333.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.07584, allocations: 148.4 kB / 333.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.07609, allocations: 202.5 kB / 333.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.0762, allocations: 40.45 kB / 333.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.07631, allocations: 142 kB / 333.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.07653, allocations: 193.7 kB / 333.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.0768, allocations: 94.05 kB / 334 MB, free: 11.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.07697, allocations: 345.6 kB / 334.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.07869, allocations: 0.6102 MB / 334.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.08047, allocations: 0.6895 MB / 335.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003271/0.08374, allocations: 1.119 MB / 336.7 MB, free: 9.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.08375, allocations: 3.938 kB / 336.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003825/0.08757, allocations: 1.302 MB / 338 MB, free: 8.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.08759, allocations: 7.938 kB / 338 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.0876, allocations: 4 kB / 338 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.08763, allocations: 4 kB / 338 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.08893, allocations: 175.7 kB / 338.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.08895, allocations: 8.031 kB / 338.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009809/0.08993, allocations: 87.88 kB / 338.3 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-05/0.09001, allocations: 20 kB / 338.3 MB, free: 7.906 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.0003483/0.09036, allocations: 173.6 kB / 338.5 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/0.09071, allocations: 149.4 kB / 338.6 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.09087, allocations: 63.3 kB / 338.7 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.09088, allocations: 8 kB / 338.7 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.09089, allocations: 8 kB / 338.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.0909, allocations: 3.984 kB / 338.7 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005261/0.09616, allocations: 1.918 MB / 340.6 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-05/0.09618, allocations: 8 kB / 340.7 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008176/0.097, allocations: 187.7 kB / 340.8 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.795e-05/0.09701, allocations: 12.53 kB / 340.9 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.246e-05/0.09708, allocations: 28 kB / 340.9 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-05/0.0971, allocations: 19.92 kB / 340.9 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.594e-05/0.09711, allocations: 19.94 kB / 340.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/0.1009, allocations: 1.566 MB / 342.5 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.1012, allocations: 87.69 kB / 342.6 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.1013, allocations: 28.17 kB / 342.6 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006821/0.102, allocations: 75.98 kB / 342.7 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/0.1022, allocations: 107.5 kB / 342.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.843e-05/0.1023, allocations: 31.98 kB / 342.8 MB, free: 3.094 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.1024, allocations: 148.8 kB / 343 MB, free: 2.949 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1024, allocations: 0 / 343 MB, free: 2.949 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006668/0.1031, allocations: 116 kB / 343.1 MB, free: 2.832 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.0002001/0.1033, allocations: 147.2 kB / 343.2 MB, free: 2.676 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003126/0.1064, allocations: 0.9947 MB / 344.2 MB, free: 1.684 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.1064, allocations: 0 / 344.2 MB, free: 1.684 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.1076, allocations: 342.3 kB / 344.5 MB, free: 1.352 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000901/0.1085, allocations: 123.9 kB / 344.7 MB, free: 1.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.1111, allocations: 1.111 MB / 345.8 MB, free: 15.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.1113, allocations: 211.3 kB / 346 MB, free: 15.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004589/0.1118, allocations: 87.19 kB / 346.1 MB, free: 15.64 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.1121, allocations: 40.48 kB / 346.1 MB, free: 15.61 MB / 318.1 MB Notification: Performance of SimCode: time 1.824e-06/0.1121, allocations: 3.938 kB / 346.1 MB, free: 15.6 MB / 318.1 MB Notification: Performance of Templates: time 0.01583/0.1279, allocations: 8.633 MB / 354.7 MB, free: 7.027 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/CascadeControlledDrive/SuperSampled/SuperSampled.csv","/var/lib/jenkins/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: 4.599572259932756]