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.001527/0.001527, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001539/0.001539, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 18.57 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.399/1.399, allocations: 173.4 MB / 200.8 MB, free: 9.328 MB / 186.7 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 2.174e-06/2.174e-06, allocations: 0 / 267.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.346e-05, allocations: 2.312 kB / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.004067/0.0041, allocations: 2.232 MB / 269.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.005748, allocations: 0.7519 MB / 270.3 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.005886, allocations: 7.938 kB / 270.3 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.006209, allocations: 51.62 kB / 270.3 MB, free: 3.695 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.006435, allocations: 67.44 kB / 270.4 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.006967, allocations: 167.6 kB / 270.6 MB, free: 3.465 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004834/0.007451, allocations: 383.5 kB / 270.9 MB, free: 3.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.007645, allocations: 67.8 kB / 271 MB, free: 3.023 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.007975, allocations: 223.5 kB / 271.2 MB, free: 2.805 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.008215, allocations: 143.6 kB / 271.4 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.03e-05/0.008275, allocations: 36 kB / 271.4 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.736e-05/0.008332, allocations: 32 kB / 271.4 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.008459, allocations: 99.69 kB / 271.5 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.00859, allocations: 103.7 kB / 271.6 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004702/0.00906, allocations: 346.9 kB / 272 MB, free: 2.059 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.009064, allocations: 4 kB / 272 MB, free: 2.055 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.009065, allocations: 0 / 272 MB, free: 2.055 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.009071, allocations: 0 / 272 MB, free: 2.055 MB / 250.7 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.001454/0.01052, allocations: 0.5444 MB / 272.5 MB, free: 1.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.01056, allocations: 8.031 kB / 272.5 MB, free: 1.473 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.01071, allocations: 68.75 kB / 272.6 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.01116, allocations: 217.7 kB / 272.8 MB, free: 1.168 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004/0.01156, allocations: 351.9 kB / 273.1 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.055e-05/0.01163, allocations: 24.38 kB / 273.2 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.01299, allocations: 0.5545 MB / 273.7 MB, free: 156 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.01301, allocations: 3.938 kB / 273.7 MB, free: 152 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.01305, allocations: 12 kB / 273.7 MB, free: 140 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.01306, allocations: 8 kB / 273.7 MB, free: 132 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.01458, allocations: 0.5113 MB / 274.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.01616, allocations: 0.8445 MB / 275.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.01776, allocations: 474.5 kB / 275.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009219/0.01869, allocations: 247.2 kB / 275.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.7e-05/0.01873, allocations: 8 kB / 275.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.01877, allocations: 38.56 kB / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.893e-06/0.01877, allocations: 0 / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.04135/0.06013, allocations: 5.761 MB / 281.6 MB, free: 8.137 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.06027, allocations: 153 kB / 281.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.06055, allocations: 198.7 kB / 282 MB, free: 7.754 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.035e-05/0.06064, allocations: 41.7 kB / 282 MB, free: 7.707 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.06077, allocations: 137.8 kB / 282.1 MB, free: 7.566 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.06103, allocations: 194.3 kB / 282.3 MB, free: 7.375 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003306/0.06136, allocations: 98.28 kB / 282.4 MB, free: 7.273 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.06157, allocations: 342.8 kB / 282.8 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/0.06368, allocations: 0.6064 MB / 283.4 MB, free: 6.324 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.06556, allocations: 0.6898 MB / 284.1 MB, free: 5.605 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003324/0.06889, allocations: 1.118 MB / 285.2 MB, free: 4.457 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.06889, allocations: 0 / 285.2 MB, free: 4.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003981/0.07287, allocations: 1.321 MB / 286.5 MB, free: 3.129 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.0729, allocations: 8 kB / 286.5 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.07291, allocations: 0 / 286.5 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.07294, allocations: 4 kB / 286.5 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.07426, allocations: 179.7 kB / 286.7 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.07427, allocations: 8.031 kB / 286.7 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009221/0.07519, allocations: 95.81 kB / 286.8 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.29e-05/0.07528, allocations: 16 kB / 286.8 MB, free: 2.824 MB / 266.7 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.0003642/0.07564, allocations: 174 kB / 287 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004264/0.07607, allocations: 177.4 kB / 287.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.07625, allocations: 63.3 kB / 287.2 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.07626, allocations: 12 kB / 287.2 MB, free: 2.391 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.07627, allocations: 7.938 kB / 287.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.07628, allocations: 3.984 kB / 287.2 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005473/0.08175, allocations: 1.918 MB / 289.1 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/0.08177, allocations: 16 kB / 289.2 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008117/0.08259, allocations: 184.3 kB / 289.3 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.912e-05/0.08261, allocations: 16 kB / 289.4 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.965e-05/0.08268, allocations: 28 kB / 289.4 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-05/0.0827, allocations: 23.92 kB / 289.4 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.589e-05/0.08271, allocations: 15.94 kB / 289.4 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1373/0.22, allocations: 1.578 MB / 291 MB, free: 32.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004429/0.2204, allocations: 84.03 kB / 291.1 MB, free: 32.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.2206, allocations: 29.83 kB / 291.1 MB, free: 32.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.2218, allocations: 78.06 kB / 291.2 MB, free: 32.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003799/0.2222, allocations: 101.3 kB / 291.3 MB, free: 32.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.2223, allocations: 30.23 kB / 291.3 MB, free: 32.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002279/0.2225, allocations: 149.7 kB / 291.5 MB, free: 32.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2225, allocations: 1.094 kB / 291.5 MB, free: 32.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001154/0.2237, allocations: 114.7 kB / 291.6 MB, free: 32.43 MB / 266.7 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.0002496/0.2239, allocations: 141.3 kB / 291.7 MB, free: 32.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.004988/0.2289, allocations: 0.9942 MB / 292.7 MB, free: 32.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-05/0.2289, allocations: 4.125 kB / 292.7 MB, free: 32.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001956/0.2309, allocations: 338.6 kB / 293 MB, free: 31.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.2326, allocations: 152.7 kB / 293.2 MB, free: 31.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.2367, allocations: 1.128 MB / 294.3 MB, free: 31.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.2371, allocations: 204.7 kB / 294.5 MB, free: 31.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.001005/0.2382, allocations: 90.33 kB / 294.6 MB, free: 30.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005656/0.2387, allocations: 41.41 kB / 294.6 MB, free: 30.98 MB / 266.7 MB Notification: Performance of SimCode: time 1.403e-06/0.2387, allocations: 0 / 294.6 MB, free: 30.98 MB / 266.7 MB Notification: Performance of Templates: time 0.02578/0.2645, allocations: 8.68 MB / 303.3 MB, free: 27.61 MB / 266.7 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.621649433975108]