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.001161/0.001161, allocations: 111.1 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2633, allocations: 50.53 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.Continuous): time 0.00318/0.2665, allocations: 2.163 MB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2677, allocations: 0.6783 MB / 412.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.2678, allocations: 7.938 kB / 412.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.2681, allocations: 47.64 kB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.2683, allocations: 51.62 kB / 412.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.2686, allocations: 123.8 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.269, allocations: 347.2 kB / 413.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.2691, allocations: 72.3 kB / 413.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.2694, allocations: 151.5 kB / 413.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.2696, allocations: 151.5 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.136e-05/0.2697, allocations: 28 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.859e-05/0.2697, allocations: 35.94 kB / 413.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.275e-05/0.2698, allocations: 83.78 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.2699, allocations: 127.4 kB / 413.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.2702, allocations: 278.8 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2703, allocations: 0 / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2703, allocations: 4 kB / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.2703, allocations: 0 / 414.2 MB, free: 13.28 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.001085/0.2714, allocations: 0.5957 MB / 414.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2714, allocations: 8.031 kB / 414.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.878e-05/0.2715, allocations: 32.8 kB / 414.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.2718, allocations: 241.7 kB / 415.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.272, allocations: 134.2 kB / 415.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.513e-05/0.2721, allocations: 27.94 kB / 415.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007826/0.2729, allocations: 371.5 kB / 415.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.2729, allocations: 7.953 kB / 415.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.2729, allocations: 8 kB / 415.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.2729, allocations: 4 kB / 415.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.2742, allocations: 0.4901 MB / 416.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.2758, allocations: 0.9957 MB / 417.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.277, allocations: 343 kB / 417.5 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.2774, allocations: 173.2 kB / 417.6 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.2775, allocations: 8.172 kB / 417.6 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.2775, allocations: 42.73 kB / 417.7 MB, free: 9.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 2.094e-06/0.2775, allocations: 0 / 417.7 MB, free: 9.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.02592/0.3034, allocations: 5.791 MB / 423.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.3035, allocations: 59.84 kB / 423.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.3038, allocations: 202.3 kB / 423.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.3039, allocations: 29.7 kB / 423.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.304, allocations: 153 kB / 423.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.3042, allocations: 186.4 kB / 424.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.3044, allocations: 98.2 kB / 424.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3046, allocations: 330.8 kB / 424.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.3059, allocations: 472.8 kB / 425 MB, free: 2.191 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.3073, allocations: 0.5177 MB / 425.5 MB, free: 1.656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002347/0.3096, allocations: 0.8032 MB / 426.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3096, allocations: 0 / 426.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002741/0.3124, allocations: 0.9907 MB / 427.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.3124, allocations: 4 kB / 427.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3125, allocations: 3.938 kB / 427.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.3125, allocations: 4 kB / 427.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009895/0.3135, allocations: 171.7 kB / 427.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.3135, allocations: 4 kB / 427.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006544/0.3142, allocations: 91.91 kB / 427.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-05/0.3142, allocations: 16 kB / 427.6 MB, free: 15.55 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.0002599/0.3145, allocations: 165.6 kB / 427.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.19e-05/0.3146, allocations: 27.81 kB / 427.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.3147, allocations: 51.25 kB / 427.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3147, allocations: 3.984 kB / 427.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3147, allocations: 0 / 427.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/0.315, allocations: 160.8 kB / 428 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.82e-05/0.3151, allocations: 15.94 kB / 428 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000656/0.3157, allocations: 83.88 kB / 428.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.316, allocations: 68.34 kB / 428.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003142/0.3191, allocations: 0.9992 MB / 429.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003951/0.3231, allocations: 1.544 MB / 430.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001235/0.3244, allocations: 463.2 kB / 431.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.3246, allocations: 152.3 kB / 431.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Backend: time 5.21e-07/0.3246, allocations: 0 / 431.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001941/0.3265, allocations: 0.7005 MB / 432 MB, free: 11.09 MB / 350.1 MB Notification: Performance of SimCode: time 0.001397/0.3279, allocations: 1.037 MB / 433 MB, free: 10 MB / 350.1 MB Notification: Performance of Templates: time 0.0153/0.3432, allocations: 8.909 MB / 441.9 MB, free: 1.125 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