Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.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.001321/0.001321, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.002033/0.002033, allocations: 219 kB / 24.49 MB, free: 3.93 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.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5008,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 51.92 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2203, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.Continuous): time 0.003528/0.2238, allocations: 2.071 MB / 434.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.225, allocations: 0.651 MB / 435 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.2251, allocations: 4 kB / 435.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.2254, allocations: 51.62 kB / 435.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.2255, allocations: 47.64 kB / 435.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.2259, allocations: 131.8 kB / 435.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.2262, allocations: 339.2 kB / 435.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.2264, allocations: 56.17 kB / 435.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.2266, allocations: 151.5 kB / 435.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.2269, allocations: 163.4 kB / 436 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.2269, allocations: 31.94 kB / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.403e-05/0.227, allocations: 32 kB / 436 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.2271, allocations: 83.73 kB / 436.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.2272, allocations: 111.5 kB / 436.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.2275, allocations: 293.9 kB / 436.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2275, allocations: 0 / 436.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2275, allocations: 0 / 436.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.2275, allocations: 0 / 436.5 MB, free: 2.527 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001199/0.2287, allocations: 0.5204 MB / 437 MB, free: 1.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2288, allocations: 8.031 kB / 437 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.975e-05/0.2289, allocations: 32.8 kB / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.2292, allocations: 194.1 kB / 437.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003155/0.2295, allocations: 343.8 kB / 437.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.37e-05/0.2296, allocations: 27.94 kB / 437.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009156/0.2305, allocations: 378.5 kB / 438 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.2305, allocations: 3.953 kB / 438 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.2305, allocations: 12 kB / 438 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2305, allocations: 4 kB / 438 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.2319, allocations: 497.6 kB / 438.5 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.2336, allocations: 0.8528 MB / 439.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.2347, allocations: 307.1 kB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/0.2352, allocations: 165.2 kB / 439.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.2352, allocations: 11.94 kB / 439.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.2353, allocations: 42.5 kB / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.893e-06/0.2353, allocations: 0 / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.02907/0.2643, allocations: 5.67 MB / 445.5 MB, free: 9.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.2644, allocations: 63.77 kB / 445.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.2647, allocations: 210.9 kB / 445.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.257e-05/0.2647, allocations: 41.7 kB / 445.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.2648, allocations: 145 kB / 446 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.265, allocations: 186.4 kB / 446.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.2652, allocations: 90.34 kB / 446.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2654, allocations: 338.8 kB / 446.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.2667, allocations: 477 kB / 447.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.2681, allocations: 0.5147 MB / 447.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/0.2704, allocations: 0.8179 MB / 448.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2704, allocations: 0 / 448.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002802/0.2732, allocations: 0.9969 MB / 449.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2732, allocations: 4.125 kB / 449.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-06/0.2732, allocations: 8 kB / 449.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2732, allocations: 4 kB / 449.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.2743, allocations: 167.7 kB / 449.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.2743, allocations: 7.875 kB / 449.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007262/0.275, allocations: 91.88 kB / 449.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/0.2751, allocations: 16 kB / 449.7 MB, free: 5.027 MB / 350.1 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.0002449/0.2753, allocations: 165.7 kB / 449.8 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-05/0.2754, allocations: 27.81 kB / 449.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.2755, allocations: 47.31 kB / 449.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2755, allocations: 3.984 kB / 449.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.2755, allocations: 3.938 kB / 449.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/0.2758, allocations: 83.78 kB / 450 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/0.2758, allocations: 11.92 kB / 450 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006927/0.2765, allocations: 83.89 kB / 450.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.2768, allocations: 76.31 kB / 450.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003313/0.2801, allocations: 1.011 MB / 451.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004023/0.2841, allocations: 1.556 MB / 452.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001211/0.2853, allocations: 423.2 kB / 453.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001789/0.2855, allocations: 152.3 kB / 453.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of Backend: time 5.41e-07/0.2855, allocations: 0 / 453.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.2874, allocations: 0.6219 MB / 453.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of SimCode: time 0.001385/0.2888, allocations: 1.061 MB / 455 MB, free: 15.63 MB / 366.1 MB Notification: Performance of Templates: time 0.01622/0.305, allocations: 10.42 MB / 465.4 MB, free: 5.336 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.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: 4.4911638009944]