Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 115.1 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.59/1.59, allocations: 230.6 MB / 254.8 MB, free: 15.22 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 47.92 kB / 374.1 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1549, allocations: 53.32 MB / 427.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.006082/0.1609, allocations: 2.36 MB / 429.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.1634, allocations: 0.8027 MB / 430.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003007/0.1637, allocations: 7.938 kB / 430.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003932/0.1641, allocations: 43.58 kB / 430.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.1643, allocations: 67.55 kB / 430.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007177/0.1651, allocations: 171.5 kB / 430.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005765/0.1656, allocations: 367.6 kB / 431.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.1659, allocations: 67.39 kB / 431.3 MB, free: 440 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000417/0.1663, allocations: 179.4 kB / 431.5 MB, free: 260 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.1666, allocations: 175.3 kB / 431.7 MB, free: 84 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.078e-05/0.1667, allocations: 36 kB / 431.7 MB, free: 48 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.437e-05/0.1668, allocations: 32 kB / 431.7 MB, free: 16 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.167, allocations: 99.73 kB / 431.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.1671, allocations: 147.2 kB / 432 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005528/0.1677, allocations: 330.6 kB / 432.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1677, allocations: 0 / 432.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1677, allocations: 0 / 432.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.1677, allocations: 3.938 kB / 432.3 MB, free: 15.45 MB / 366.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.001633/0.1693, allocations: 0.6119 MB / 432.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.1694, allocations: 16.02 kB / 432.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.1695, allocations: 36.75 kB / 433 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000562/0.1701, allocations: 268.5 kB / 433.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/0.1704, allocations: 134.2 kB / 433.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.753e-05/0.1704, allocations: 40.25 kB / 433.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.1721, allocations: 0.5407 MB / 434 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.1721, allocations: 3.938 kB / 434 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.217e-05/0.1722, allocations: 12 kB / 434 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.1722, allocations: 4 kB / 434 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.1742, allocations: 0.5151 MB / 434.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.1763, allocations: 1.014 MB / 435.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.1787, allocations: 478.5 kB / 436 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009382/0.1796, allocations: 239.4 kB / 436.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.725e-05/0.1797, allocations: 12.14 kB / 436.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/0.1797, allocations: 42.48 kB / 436.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 2.835e-06/0.1797, allocations: 0 / 436.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.04285/0.2226, allocations: 5.708 MB / 442 MB, free: 5.527 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.2227, allocations: 152.9 kB / 442.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.223, allocations: 195.1 kB / 442.3 MB, free: 5.148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.384e-05/0.223, allocations: 41.7 kB / 442.3 MB, free: 5.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.2232, allocations: 145.7 kB / 442.5 MB, free: 4.953 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.2234, allocations: 206.3 kB / 442.7 MB, free: 4.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003047/0.2237, allocations: 106.7 kB / 442.8 MB, free: 4.641 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.2239, allocations: 346.8 kB / 443.1 MB, free: 4.293 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.2256, allocations: 0.6188 MB / 443.7 MB, free: 3.676 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/0.2274, allocations: 0.8002 MB / 444.5 MB, free: 2.801 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003262/0.2307, allocations: 1.248 MB / 445.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.2307, allocations: 0 / 445.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003793/0.2345, allocations: 1.398 MB / 447.2 MB, free: 72 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.2345, allocations: 14.02 kB / 447.2 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.2345, allocations: 11.94 kB / 447.2 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.2346, allocations: 8 kB / 447.2 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2482/0.4828, allocations: 206.6 kB / 447.4 MB, free: 25.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.496e-05/0.4828, allocations: 13.8 kB / 447.4 MB, free: 25.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.4838, allocations: 97.69 kB / 447.5 MB, free: 25.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.718e-05/0.4839, allocations: 27.38 kB / 447.6 MB, free: 25.37 MB / 366.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.0003226/0.4842, allocations: 188 kB / 447.7 MB, free: 25.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/0.4846, allocations: 153.3 kB / 447.9 MB, free: 25.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.4848, allocations: 66.27 kB / 448 MB, free: 25.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.4848, allocations: 7.875 kB / 448 MB, free: 25.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.4848, allocations: 0.9375 kB / 448 MB, free: 25.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.4848, allocations: 5.281 kB / 448 MB, free: 25.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004489/0.4893, allocations: 2.165 MB / 450.1 MB, free: 24.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.4893, allocations: 10.22 kB / 450.2 MB, free: 24.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007986/0.4901, allocations: 189.9 kB / 450.3 MB, free: 24.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.919e-05/0.4901, allocations: 14.19 kB / 450.3 MB, free: 24.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.284e-05/0.4902, allocations: 23.75 kB / 450.4 MB, free: 24.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.919e-05/0.4902, allocations: 20.28 kB / 450.4 MB, free: 24.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/0.4902, allocations: 15.91 kB / 450.4 MB, free: 24.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003208/0.4934, allocations: 1.552 MB / 452 MB, free: 23.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.4936, allocations: 158.7 kB / 452.1 MB, free: 23.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.603e-05/0.4937, allocations: 33.38 kB / 452.1 MB, free: 23.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000619/0.4943, allocations: 74.47 kB / 452.2 MB, free: 23.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/0.4945, allocations: 96.97 kB / 452.3 MB, free: 23.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.4946, allocations: 30.84 kB / 452.3 MB, free: 23.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.4947, allocations: 147.5 kB / 452.5 MB, free: 23.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4947, allocations: 4.906 kB / 452.5 MB, free: 23.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007344/0.4954, allocations: 121.4 kB / 452.6 MB, free: 23.59 MB / 366.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.0001798/0.4956, allocations: 141.3 kB / 452.8 MB, free: 23.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003407/0.499, allocations: 1.028 MB / 453.8 MB, free: 23.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.499, allocations: 1.125 kB / 453.8 MB, free: 23.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.5001, allocations: 334 kB / 454.1 MB, free: 23.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009114/0.501, allocations: 132.9 kB / 454.2 MB, free: 23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.5034, allocations: 1.201 MB / 455.4 MB, free: 22.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.5037, allocations: 0.8074 MB / 456.2 MB, free: 21.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003695/0.5041, allocations: 44.78 kB / 456.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5041, allocations: 0.9375 kB / 456.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of Templates: time 0.01548/0.5196, allocations: 7.185 MB / 463.5 MB, free: 20.03 MB / 366.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/SuperSampled/SuperSampled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.425245304999407]