Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.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.006432/0.006432, allocations: 105.4 kB / 21.98 MB, free: 5.223 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.001537/0.001537, allocations: 214.3 kB / 25.29 MB, free: 3.203 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.592/1.592, allocations: 230.6 MB / 259 MB, free: 8.008 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.AbsoluteClocks,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.AbsoluteClocks") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks,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.AbsoluteClocks") [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.002029/0.002029, allocations: 67.89 kB / 379.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3854, allocations: 53.36 MB / 433.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.004545/0.39, allocations: 2.427 MB / 435.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.3919, allocations: 0.8844 MB / 436.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.3921, allocations: 7.938 kB / 436.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.3925, allocations: 55.52 kB / 436.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.3928, allocations: 67.48 kB / 436.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006946/0.3934, allocations: 207.4 kB / 436.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005541/0.394, allocations: 391.5 kB / 437.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.3942, allocations: 75.84 kB / 437.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003913/0.3946, allocations: 179.4 kB / 437.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.3949, allocations: 187.2 kB / 437.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.362e-05/0.395, allocations: 36 kB / 437.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.208e-05/0.3951, allocations: 32 kB / 437.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.3952, allocations: 107.7 kB / 437.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.3954, allocations: 167 kB / 437.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005509/0.396, allocations: 367.7 kB / 438.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.396, allocations: 4 kB / 438.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.396, allocations: 0 / 438.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.396, allocations: 0 / 438.3 MB, free: 1.797 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00145/0.3974, allocations: 0.6064 MB / 438.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3975, allocations: 8.031 kB / 438.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.3976, allocations: 48.7 kB / 439 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005907/0.3982, allocations: 253.3 kB / 439.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.3984, allocations: 138.3 kB / 439.4 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-05/0.3985, allocations: 28.38 kB / 439.4 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.3997, allocations: 0.5778 MB / 440 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.3997, allocations: 4 kB / 440 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.3998, allocations: 12 kB / 440 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.3998, allocations: 8 kB / 440 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.4011, allocations: 0.5159 MB / 440.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.4028, allocations: 0.9531 MB / 441.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.4043, allocations: 488.2 kB / 441.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005912/0.4049, allocations: 235.3 kB / 442.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.888e-05/0.405, allocations: 16.06 kB / 442.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.405, allocations: 38.56 kB / 442.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.954e-06/0.405, allocations: 0 / 442.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.03803/0.443, allocations: 5.774 MB / 448 MB, free: 7.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.4432, allocations: 149 kB / 448.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.4435, allocations: 269.8 kB / 448.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-05/0.4436, allocations: 37.7 kB / 448.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4437, allocations: 145.8 kB / 448.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.4439, allocations: 202.3 kB / 448.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002985/0.4442, allocations: 114.6 kB / 448.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.4444, allocations: 350.8 kB / 449.2 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.4459, allocations: 0.6149 MB / 449.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/0.4476, allocations: 0.7925 MB / 450.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002964/0.4506, allocations: 1.251 MB / 451.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4506, allocations: 0 / 451.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003425/0.454, allocations: 1.402 MB / 453.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/0.454, allocations: 8 kB / 453.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.4541, allocations: 8 kB / 453.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.4541, allocations: 8 kB / 453.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.4554, allocations: 215.8 kB / 453.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.4554, allocations: 8 kB / 453.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009388/0.4564, allocations: 99.78 kB / 453.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-05/0.4565, allocations: 31.98 kB / 453.7 MB, free: 1.988 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.000345/0.4568, allocations: 193.6 kB / 453.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003246/0.4571, allocations: 161.3 kB / 454 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.4573, allocations: 71.61 kB / 454.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.4573, allocations: 8 kB / 454.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.4573, allocations: 0 / 454.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.4573, allocations: 3.984 kB / 454.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004859/0.4622, allocations: 2.163 MB / 456.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.4622, allocations: 8.188 kB / 456.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007604/0.4629, allocations: 183.7 kB / 456.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.961e-05/0.463, allocations: 16 kB / 456.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.848e-05/0.463, allocations: 31.98 kB / 456.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-05/0.463, allocations: 15.94 kB / 456.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/0.4631, allocations: 16.12 kB / 456.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/0.4662, allocations: 1.569 MB / 458.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/0.4665, allocations: 107.6 kB / 458.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.238e-05/0.4666, allocations: 27.98 kB / 458.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005686/0.4672, allocations: 75.98 kB / 458.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.4674, allocations: 99.88 kB / 458.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.083e-05/0.4674, allocations: 28 kB / 458.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002088/0.4676, allocations: 185.2 kB / 458.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4676, allocations: 0 / 458.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006876/0.4683, allocations: 124 kB / 458.7 MB, free: 12.58 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.0002014/0.4685, allocations: 149.7 kB / 458.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00267/0.4712, allocations: 1.026 MB / 459.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.4712, allocations: 4.312 kB / 459.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009632/0.4721, allocations: 333.9 kB / 460.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009706/0.4731, allocations: 145 kB / 460.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.4758, allocations: 1.273 MB / 461.6 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.4763, allocations: 0.8245 MB / 462.5 MB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/0.4767, allocations: 47.89 kB / 462.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4767, allocations: 0 / 462.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of Templates: time 0.01385/0.4905, allocations: 7.432 MB / 469.9 MB, free: 1.168 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/AbsoluteClocks/AbsoluteClocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.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.109650731785223]