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.00152/0.00152, allocations: 111 kB / 21.18 MB, free: 0.6719 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.001835/0.001835, allocations: 209 kB / 24.48 MB, free: 3.969 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 2.063/2.063, allocations: 230.6 MB / 258.2 MB, free: 7.98 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.002115/0.002115, allocations: 47.92 kB / 378.9 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3759, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.004645/0.3806, allocations: 2.242 MB / 434.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.3827, allocations: 0.7716 MB / 435.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.3828, allocations: 4 kB / 435.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.3832, allocations: 55.55 kB / 435.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.3835, allocations: 63.56 kB / 435.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006501/0.3841, allocations: 174.8 kB / 435.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003383/0.3875, allocations: 375.6 kB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.3878, allocations: 75.59 kB / 436.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004321/0.3882, allocations: 167.5 kB / 436.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.3885, allocations: 183.3 kB / 436.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.068e-05/0.3886, allocations: 32 kB / 436.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.886e-05/0.3887, allocations: 32 kB / 436.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.3888, allocations: 103.7 kB / 436.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.389, allocations: 119.4 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006028/0.3896, allocations: 337.4 kB / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3896, allocations: 0 / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3896, allocations: 0 / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3896, allocations: 0 / 437 MB, free: 2.02 MB / 334.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.00176/0.3914, allocations: 0.5405 MB / 437.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.3914, allocations: 12.02 kB / 437.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.3916, allocations: 40.75 kB / 437.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.3922, allocations: 212.2 kB / 437.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005447/0.3927, allocations: 347.9 kB / 438.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-05/0.3928, allocations: 36.33 kB / 438.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.3946, allocations: 0.5502 MB / 438.7 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.3946, allocations: 0 / 438.7 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.3947, allocations: 15.94 kB / 438.7 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.3947, allocations: 8 kB / 438.8 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.3969, allocations: 0.5113 MB / 439.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.3991, allocations: 0.8443 MB / 440.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/0.4011, allocations: 466.6 kB / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000934/0.4021, allocations: 251.3 kB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.929e-05/0.4021, allocations: 7.984 kB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/0.4022, allocations: 38.56 kB / 440.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.344e-06/0.4022, allocations: 0 / 440.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.05895/0.4611, allocations: 5.748 MB / 446.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/0.4613, allocations: 149 kB / 446.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.4617, allocations: 207.1 kB / 447 MB, free: 7.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.4618, allocations: 41.7 kB / 447 MB, free: 7.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.4619, allocations: 141.8 kB / 447.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.4622, allocations: 206.3 kB / 447.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004802/0.4627, allocations: 114.7 kB / 447.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.4629, allocations: 338.8 kB / 447.8 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002657/0.4656, allocations: 0.6265 MB / 448.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002796/0.4684, allocations: 0.7964 MB / 449.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00483/0.4732, allocations: 1.264 MB / 450.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.453e-06/0.4732, allocations: 0 / 450.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.005811/0.479, allocations: 1.411 MB / 451.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.4791, allocations: 8 kB / 451.9 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.4791, allocations: 8 kB / 451.9 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/0.4791, allocations: 8 kB / 451.9 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.4811, allocations: 215.6 kB / 452.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-05/0.4811, allocations: 19.92 kB / 452.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.4826, allocations: 99.81 kB / 452.2 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.4828, allocations: 35.92 kB / 452.3 MB, free: 2.266 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: 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 (84): * Single equations (assignments): 84 * 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.0005231/0.4833, allocations: 169.7 kB / 452.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000575/0.4839, allocations: 153.4 kB / 452.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.4841, allocations: 67.3 kB / 452.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.4841, allocations: 8 kB / 452.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.096e-05/0.4841, allocations: 8.406 kB / 452.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.4841, allocations: 3.984 kB / 452.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007654/0.4918, allocations: 1.91 MB / 454.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.616e-05/0.4918, allocations: 8 kB / 454.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.4931, allocations: 187.7 kB / 454.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-05/0.4931, allocations: 12 kB / 454.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.23e-05/0.4932, allocations: 32.38 kB / 454.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-05/0.4933, allocations: 23.92 kB / 454.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.36e-05/0.4933, allocations: 15.94 kB / 454.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005353/0.4986, allocations: 1.573 MB / 456.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/0.499, allocations: 83.75 kB / 456.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.4991, allocations: 31.92 kB / 456.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.5001, allocations: 83.97 kB / 456.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/0.5005, allocations: 95.64 kB / 456.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.31e-05/0.5005, allocations: 28 kB / 456.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.5008, allocations: 152.3 kB / 456.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5008, allocations: 0 / 456.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001205/0.502, allocations: 124 kB / 457 MB, free: 13.19 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: 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.0002405/0.5022, allocations: 138.9 kB / 457.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004494/0.5067, allocations: 1.043 MB / 458.2 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.617e-06/0.5067, allocations: 12 kB / 458.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001656/0.5084, allocations: 337.8 kB / 458.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.5099, allocations: 128.7 kB / 458.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.5136, allocations: 1.177 MB / 459.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.514, allocations: 207.3 kB / 460 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007829/0.5148, allocations: 99.3 kB / 460.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.5152, allocations: 39.42 kB / 460.2 MB, free: 9.836 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5152, allocations: 0 / 460.2 MB, free: 9.836 MB / 366.1 MB Notification: Performance of Templates: time 0.02318/0.5384, allocations: 9.34 MB / 469.5 MB, free: 0.5742 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 -s cvode -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: 6.713314973007073]