Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.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.001111/0.001111, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001672/0.002784, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001041/0.001041, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00139/0.002431, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9469/0.9469, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08609/1.033, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5008,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5008,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.685e-05, allocations: 2.312 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.Continuous): time 0.002255/0.002272, allocations: 2.216 MB / 247.2 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007914/0.003063, allocations: 0.6856 MB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.053e-05/0.003154, allocations: 8 kB / 247.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.003313, allocations: 47.58 kB / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.003417, allocations: 59.61 kB / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.003646, allocations: 127.7 kB / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.003909, allocations: 335.1 kB / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.004024, allocations: 58.5 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.004274, allocations: 223.5 kB / 248.7 MB, free: 9.906 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.004418, allocations: 127.7 kB / 248.9 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.004452, allocations: 32 kB / 248.9 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.939e-05/0.004482, allocations: 28 kB / 248.9 MB, free: 9.723 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.004549, allocations: 67.78 kB / 249 MB, free: 9.656 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.775e-05/0.004616, allocations: 63.88 kB / 249 MB, free: 9.594 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.004814, allocations: 187.4 kB / 249.2 MB, free: 9.41 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.004824, allocations: 0 / 249.2 MB, free: 9.41 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004824, allocations: 0 / 249.2 MB, free: 9.41 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.004836, allocations: 4 kB / 249.2 MB, free: 9.406 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006524/0.005488, allocations: 0.5188 MB / 249.7 MB, free: 8.863 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.005517, allocations: 8.031 kB / 249.8 MB, free: 8.855 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/0.005583, allocations: 56.91 kB / 249.8 MB, free: 8.801 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.005759, allocations: 161.9 kB / 250 MB, free: 8.617 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003949/0.006154, allocations: 343.8 kB / 250.3 MB, free: 8.215 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.00619, allocations: 28.36 kB / 250.3 MB, free: 8.188 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/0.006739, allocations: 254.5 kB / 250.6 MB, free: 7.922 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.00675, allocations: 0 / 250.6 MB, free: 7.922 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.006768, allocations: 12 kB / 250.6 MB, free: 7.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.006774, allocations: 4 kB / 250.6 MB, free: 7.906 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.006999, allocations: 168.1 kB / 250.8 MB, free: 7.742 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007223/0.007721, allocations: 0.6084 MB / 251.4 MB, free: 7.105 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.007975, allocations: 200 kB / 251.6 MB, free: 6.898 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.128e-05/0.008046, allocations: 56.83 kB / 251.6 MB, free: 6.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.008071, allocations: 8 kB / 251.6 MB, free: 6.832 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.008089, allocations: 42.5 kB / 251.7 MB, free: 6.781 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.212e-06/0.00809, allocations: 0 / 251.7 MB, free: 6.781 MB / 250.7 MB Notification: Performance of matching and sorting (n=53): time 0.006364/0.01445, allocations: 3.331 MB / 255 MB, free: 3.395 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.01448, allocations: 63.84 kB / 255.1 MB, free: 3.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.01459, allocations: 178.5 kB / 255.2 MB, free: 3.133 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.01463, allocations: 33.7 kB / 255.3 MB, free: 3.094 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.01468, allocations: 148.9 kB / 255.4 MB, free: 2.945 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.781e-05/0.01478, allocations: 190.3 kB / 255.6 MB, free: 2.758 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.0149, allocations: 90.3 kB / 255.7 MB, free: 2.664 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.01497, allocations: 346.7 kB / 256 MB, free: 2.316 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.01513, allocations: 132.1 kB / 256.2 MB, free: 2.184 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.01531, allocations: 199.2 kB / 256.4 MB, free: 1.977 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.01563, allocations: 327.6 kB / 256.7 MB, free: 1.633 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01563, allocations: 4 kB / 256.7 MB, free: 1.629 MB / 250.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004097/0.01604, allocations: 393.2 kB / 257.1 MB, free: 1.242 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.01606, allocations: 4 kB / 257.1 MB, free: 1.238 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.01606, allocations: 4 kB / 257.1 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/0.01621, allocations: 7.984 kB / 257.1 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/0.01666, allocations: 167.8 kB / 257.2 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.01667, allocations: 7.984 kB / 257.2 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.01689, allocations: 72.03 kB / 257.3 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.01692, allocations: 12 kB / 257.3 MB, free: 0.9727 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0001174/0.01704, allocations: 144.5 kB / 257.5 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.0171, allocations: 31.97 kB / 257.5 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.309e-05/0.01715, allocations: 51.31 kB / 257.6 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01716, allocations: 4 kB / 257.6 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.01716, allocations: 0 / 257.6 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01716, allocations: 3.984 kB / 257.6 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.01833, allocations: 1.031 MB / 258.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.01834, allocations: 12.06 kB / 258.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.01864, allocations: 143 kB / 258.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.01871, allocations: 47.78 kB / 258.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.01872, allocations: 12 kB / 258.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.01874, allocations: 19.98 kB / 258.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.01875, allocations: 15.94 kB / 258.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.01875, allocations: 11.94 kB / 258.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005077/0.01926, allocations: 0.6854 MB / 259.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.0193, allocations: 20 kB / 259.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.0195, allocations: 55.94 kB / 259.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.811e-05/0.01959, allocations: 87.58 kB / 259.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.01961, allocations: 24 kB / 259.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.844e-05/0.01965, allocations: 45.86 kB / 259.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01965, allocations: 0 / 259.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.01989, allocations: 100 kB / 259.9 MB, free: 14.17 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 3 (load.w,speed.flange.phi,PI.x) * Number of discrete variables: 3 (kinematicPTP.moving[1],kinematicPTP.motion_ref,kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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 9.171e-05/0.01998, allocations: 104.1 kB / 260 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003657/0.02035, allocations: 344.4 kB / 260.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.02036, allocations: 8.062 kB / 260.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.02052, allocations: 154.7 kB / 260.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.02084, allocations: 108.5 kB / 260.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.02291, allocations: 0.9621 MB / 261.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.022e-05/0.02298, allocations: 109.7 kB / 261.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000206/0.02319, allocations: 67.2 kB / 261.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.0234, allocations: 107.4 kB / 261.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0234, allocations: 0 / 261.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of Templates: time 0.007252/0.03065, allocations: 6.67 MB / 268.5 MB, free: 5.449 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.sim & ./Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/Continuous/Continuous.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.49509793240577]