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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001487/0.001487, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001881/0.001881, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 71.86 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2936, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.Continuous): time 0.00363/0.2973, allocations: 2.151 MB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.2987, allocations: 0.6822 MB / 412.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.2989, allocations: 7.938 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.2992, allocations: 39.7 kB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.2994, allocations: 55.56 kB / 412.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.2998, allocations: 127.8 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.3002, allocations: 339.2 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.3004, allocations: 76.3 kB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.3007, allocations: 147.5 kB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.3009, allocations: 155.4 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.959e-05/0.301, allocations: 32 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.198e-05/0.3011, allocations: 31.94 kB / 413.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.3012, allocations: 87.78 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.3013, allocations: 115.4 kB / 413.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.3016, allocations: 288.1 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3017, allocations: 0 / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3017, allocations: 0 / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3017, allocations: 0 / 414.2 MB, free: 13.27 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.001148/0.3028, allocations: 0.5842 MB / 414.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3029, allocations: 8.031 kB / 414.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.598e-05/0.303, allocations: 36.59 kB / 414.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.3033, allocations: 248.1 kB / 415.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.3035, allocations: 130.2 kB / 415.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.3036, allocations: 35.84 kB / 415.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008807/0.3045, allocations: 367.5 kB / 415.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.3045, allocations: 7.938 kB / 415.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.3046, allocations: 12 kB / 415.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.3046, allocations: 4 kB / 415.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.3059, allocations: 0.4901 MB / 416.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.3077, allocations: 0.9916 MB / 417.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.3089, allocations: 339.1 kB / 417.4 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005523/0.3095, allocations: 173.2 kB / 417.6 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.3095, allocations: 12.17 kB / 417.6 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.3096, allocations: 30.8 kB / 417.7 MB, free: 9.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 2.745e-06/0.3096, allocations: 0 / 417.7 MB, free: 9.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.02844/0.338, allocations: 5.802 MB / 423.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.3381, allocations: 59.84 kB / 423.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.3384, allocations: 202.2 kB / 423.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.957e-05/0.3385, allocations: 37.7 kB / 423.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3386, allocations: 140.7 kB / 423.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.3387, allocations: 185.4 kB / 424.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.339, allocations: 90.16 kB / 424.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3391, allocations: 338.8 kB / 424.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.3404, allocations: 464.8 kB / 424.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/0.3419, allocations: 0.5138 MB / 425.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002406/0.3443, allocations: 0.8071 MB / 426.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3443, allocations: 0 / 426.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00318/0.3475, allocations: 0.9905 MB / 427.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.3476, allocations: 8 kB / 427.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.3476, allocations: 3.938 kB / 427.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.815e-05/0.3476, allocations: 4 kB / 427.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.3487, allocations: 167.7 kB / 427.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.321e-05/0.3487, allocations: 4 kB / 427.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007624/0.3495, allocations: 87.91 kB / 427.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.866e-05/0.3496, allocations: 16 kB / 427.5 MB, free: 15.56 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: 2 (kinematicPTP.noWphase,kinematicPTP.moving[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.0002696/0.3498, allocations: 161.8 kB / 427.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.413e-05/0.3499, allocations: 31.64 kB / 427.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.3501, allocations: 51.25 kB / 427.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3501, allocations: 7.984 kB / 427.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3501, allocations: 0 / 427.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.3503, allocations: 160.7 kB / 427.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-05/0.3504, allocations: 11.94 kB / 428 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006908/0.3511, allocations: 79.89 kB / 428 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/0.3514, allocations: 68.34 kB / 428.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003491/0.3549, allocations: 0.9953 MB / 429.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004265/0.3592, allocations: 1.544 MB / 430.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001313/0.3605, allocations: 463.2 kB / 431.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.3608, allocations: 152.3 kB / 431.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Backend: time 5.21e-07/0.3608, allocations: 0 / 431.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002118/0.3629, allocations: 0.6987 MB / 431.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of SimCode: time 0.001464/0.3644, allocations: 1.054 MB / 433 MB, free: 10 MB / 350.1 MB Notification: Performance of Templates: time 0.01685/0.3812, allocations: 8.887 MB / 441.9 MB, free: 1.141 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/CascadeControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches