Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001769/0.001769, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002128/0.002128, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.442/1.442, allocations: 230.4 MB / 255.4 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 71.83 kB / 374.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1223, allocations: 53.32 MB / 428 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.004271/0.1266, allocations: 2.341 MB / 430.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.1283, allocations: 0.8105 MB / 431.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.1284, allocations: 4 kB / 431.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.1288, allocations: 55.56 kB / 431.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.129, allocations: 59.56 kB / 431.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.1295, allocations: 163.6 kB / 431.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004551/0.13, allocations: 371.6 kB / 431.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.1302, allocations: 71.39 kB / 431.9 MB, free: 492 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.1305, allocations: 175.4 kB / 432.1 MB, free: 316 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.1308, allocations: 175.3 kB / 432.2 MB, free: 140 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.729e-05/0.1308, allocations: 36 kB / 432.3 MB, free: 104 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.446e-05/0.1309, allocations: 32 kB / 432.3 MB, free: 72 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2478/0.3787, allocations: 101.7 kB / 432.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002486/0.3789, allocations: 135.6 kB / 432.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005516/0.3795, allocations: 328.5 kB / 432.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3795, allocations: 0 / 432.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3795, allocations: 0 / 432.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3795, allocations: 0 / 432.9 MB, free: 8.465 MB / 350.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.001211/0.3807, allocations: 0.6139 MB / 433.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3807, allocations: 9.562 kB / 433.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.3808, allocations: 41.62 kB / 433.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.3812, allocations: 277.9 kB / 433.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.3814, allocations: 138.1 kB / 433.9 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.476e-05/0.3815, allocations: 32.86 kB / 434 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.3827, allocations: 0.5437 MB / 434.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.3827, allocations: 1.156 kB / 434.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.3828, allocations: 9.844 kB / 434.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.3828, allocations: 8.156 kB / 434.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.3841, allocations: 0.5153 MB / 435 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.3856, allocations: 1.005 MB / 436 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.3872, allocations: 478.7 kB / 436.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006293/0.3879, allocations: 231.9 kB / 436.7 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.605e-05/0.3879, allocations: 11.48 kB / 436.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.388, allocations: 43.52 kB / 436.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.934e-06/0.388, allocations: 3.906 kB / 436.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.03947/0.4274, allocations: 5.723 MB / 442.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.4275, allocations: 147.7 kB / 442.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.4278, allocations: 201.3 kB / 442.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.694e-05/0.4278, allocations: 36.08 kB / 442.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.985e-05/0.4279, allocations: 148.8 kB / 443 MB, free: 5.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.4281, allocations: 203.9 kB / 443.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/0.4284, allocations: 112 kB / 443.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.4285, allocations: 340.3 kB / 443.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/0.4302, allocations: 0.6169 MB / 444.3 MB, free: 5.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.4319, allocations: 0.7963 MB / 445.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003095/0.435, allocations: 1.249 MB / 446.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.435, allocations: 5.344 kB / 446.4 MB, free: 4.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00369/0.4387, allocations: 1.398 MB / 447.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.4387, allocations: 10.41 kB / 447.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.4387, allocations: 6 kB / 447.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.378e-05/0.4388, allocations: 9.125 kB / 447.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.4401, allocations: 209.3 kB / 448 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/0.4401, allocations: 14.81 kB / 448 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009755/0.4411, allocations: 101.2 kB / 448.1 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.859e-05/0.4412, allocations: 26.97 kB / 448.1 MB, free: 3.461 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.0003267/0.4415, allocations: 181.4 kB / 448.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003081/0.4418, allocations: 165 kB / 448.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.442, allocations: 58.28 kB / 448.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.442, allocations: 8.969 kB / 448.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/0.4421, allocations: 2.594 kB / 448.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.4421, allocations: 3.422 kB / 448.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004638/0.4467, allocations: 2.169 MB / 450.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.4467, allocations: 10.34 kB / 450.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007191/0.4474, allocations: 198.5 kB / 450.9 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-05/0.4475, allocations: 15.12 kB / 450.9 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.865e-05/0.4475, allocations: 23.12 kB / 450.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.597e-05/0.4475, allocations: 21.39 kB / 451 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/0.4475, allocations: 14.5 kB / 451 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/0.4504, allocations: 1.55 MB / 452.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.4506, allocations: 171.8 kB / 452.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.687e-05/0.4507, allocations: 25.69 kB / 452.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005596/0.4512, allocations: 80.19 kB / 452.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.4514, allocations: 91.05 kB / 452.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.056e-05/0.4515, allocations: 38 kB / 452.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.4516, allocations: 136.8 kB / 453.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4516, allocations: 0 / 453.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007451/0.4523, allocations: 126.3 kB / 453.2 MB, free: 496 kB / 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.0001376/0.4525, allocations: 133.4 kB / 453.3 MB, free: 380 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002698/0.4552, allocations: 1.033 MB / 454.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.4552, allocations: 5.219 kB / 454.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.4562, allocations: 335.7 kB / 454.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008358/0.457, allocations: 121.7 kB / 454.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.4594, allocations: 1.209 MB / 456 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.4599, allocations: 0.8132 MB / 456.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/0.4602, allocations: 48.17 kB / 456.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of SimCode: time 5.52e-07/0.4602, allocations: 0 / 456.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Templates: time 0.01122/0.4714, allocations: 7.186 MB / 464 MB, free: 10.12 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/SuperSampled/SuperSampled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.672769037075341]