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.001723/0.001723, allocations: 113 kB / 18.45 MB, free: 4.602 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.001589/0.001589, allocations: 190.9 kB / 21.4 MB, free: 1.664 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.431/1.431, allocations: 225.6 MB / 249.8 MB, free: 3.648 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 0.001532/0.001532, allocations: 51.91 kB / 366.8 MB, free: 412 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1044, allocations: 52.14 MB / 418.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.003988/0.1084, allocations: 2.332 MB / 421.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.1099, allocations: 0.7716 MB / 422 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.11, allocations: 7.938 kB / 422 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.1104, allocations: 55.58 kB / 422.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.1106, allocations: 59.55 kB / 422.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.1111, allocations: 167.6 kB / 422.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004354/0.1115, allocations: 375.5 kB / 422.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.1117, allocations: 67.39 kB / 422.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.1119, allocations: 167.5 kB / 422.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.1122, allocations: 175.2 kB / 423.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.892e-05/0.1122, allocations: 32 kB / 423.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.543e-05/0.1123, allocations: 36 kB / 423.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.1124, allocations: 87.73 kB / 423.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.1125, allocations: 151.2 kB / 423.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000411/0.113, allocations: 322.7 kB / 423.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.113, allocations: 0 / 423.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.113, allocations: 0 / 423.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.113, allocations: 3.938 kB / 423.7 MB, free: 7.359 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.001257/0.1142, allocations: 0.6236 MB / 424.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1143, allocations: 19.89 kB / 424.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.68e-05/0.1144, allocations: 36.75 kB / 424.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.1148, allocations: 268.5 kB / 424.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.115, allocations: 138.1 kB / 424.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.115, allocations: 32.38 kB / 424.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.1162, allocations: 0.5425 MB / 425.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1163, allocations: 4 kB / 425.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.1163, allocations: 12 kB / 425.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.1163, allocations: 7.984 kB / 425.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.1178, allocations: 0.5074 MB / 425.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.1194, allocations: 1.014 MB / 426.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.1211, allocations: 496.6 kB / 427.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006415/0.1217, allocations: 227.4 kB / 427.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.662e-05/0.1218, allocations: 8 kB / 427.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.1218, allocations: 42.48 kB / 427.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.795e-06/0.1218, allocations: 4 kB / 427.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.03974/0.1616, allocations: 5.72 MB / 433.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/0.1617, allocations: 152.9 kB / 433.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.162, allocations: 187.2 kB / 433.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.1621, allocations: 37.7 kB / 433.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.1622, allocations: 149.7 kB / 433.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.1625, allocations: 202.3 kB / 434.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/0.1628, allocations: 114.6 kB / 434.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.163, allocations: 342.8 kB / 434.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/0.1648, allocations: 0.6188 MB / 435.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.1668, allocations: 0.7963 MB / 436 MB, free: 10.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/0.1701, allocations: 1.247 MB / 437.2 MB, free: 9.363 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1701, allocations: 0 / 437.2 MB, free: 9.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003856/0.174, allocations: 1.402 MB / 438.6 MB, free: 7.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.174, allocations: 8 kB / 438.6 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.174, allocations: 4 kB / 438.6 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/0.1741, allocations: 12.31 kB / 438.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.1754, allocations: 207.7 kB / 438.8 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/0.1754, allocations: 15.94 kB / 438.8 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009597/0.1764, allocations: 103.8 kB / 438.9 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-05/0.1765, allocations: 27.94 kB / 439 MB, free: 7.582 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.0003792/0.1768, allocations: 194.2 kB / 439.2 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003546/0.1772, allocations: 153.4 kB / 439.3 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.1774, allocations: 59.31 kB / 439.4 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.1774, allocations: 11.98 kB / 439.4 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.1774, allocations: 8 kB / 439.4 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1774, allocations: 0 / 439.4 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005075/0.1825, allocations: 2.16 MB / 441.6 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.37e-05/0.1825, allocations: 12 kB / 441.6 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007612/0.1833, allocations: 183.7 kB / 441.7 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.569e-05/0.1833, allocations: 12 kB / 441.8 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.1834, allocations: 24.44 kB / 441.8 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.636e-05/0.1834, allocations: 23.94 kB / 441.8 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/0.1834, allocations: 11.94 kB / 441.8 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003431/0.1868, allocations: 1.561 MB / 443.4 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/0.1871, allocations: 173 kB / 443.5 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.276e-05/0.1871, allocations: 28 kB / 443.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/0.1877, allocations: 75.91 kB / 443.6 MB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.1879, allocations: 99.59 kB / 443.7 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/0.188, allocations: 28 kB / 443.8 MB, free: 2.414 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.1881, allocations: 144.2 kB / 443.9 MB, free: 2.273 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1881, allocations: 0 / 443.9 MB, free: 2.273 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006915/0.1888, allocations: 128 kB / 444 MB, free: 2.148 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.0002039/0.189, allocations: 138.9 kB / 444.2 MB, free: 2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003032/0.1921, allocations: 1.03 MB / 445.2 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.1921, allocations: 4 kB / 445.2 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.1931, allocations: 330.4 kB / 445.5 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009086/0.194, allocations: 133.8 kB / 445.7 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1983/0.3923, allocations: 1.195 MB / 446.9 MB, free: 30.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.3926, allocations: 0.817 MB / 447.7 MB, free: 30.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/0.393, allocations: 45.25 kB / 447.7 MB, free: 30.19 MB / 366.1 MB Notification: Performance of SimCode: time 1.192e-06/0.393, allocations: 0 / 447.7 MB, free: 30.19 MB / 366.1 MB Notification: Performance of Templates: time 0.01237/0.4054, allocations: 7.186 MB / 454.9 MB, free: 29.69 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/CascadeControlledDrive/SuperSampled/SuperSampled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.543099391972646]