Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.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.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.PID_Controller") translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.PID_Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 110.8 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.001562/0.001562, allocations: 212 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.45/1.45, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.88 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2682, allocations: 50.54 MB / 409.9 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.004982/0.2732, allocations: 3.117 MB / 413 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.2755, allocations: 0.9931 MB / 414 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004591/0.276, allocations: 15.88 kB / 414.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004404/0.2764, allocations: 83.23 kB / 414.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.2769, allocations: 103.1 kB / 414.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.2776, allocations: 235 kB / 414.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006128/0.2782, allocations: 0.5224 MB / 415 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.2785, allocations: 169.2 kB / 415.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.2787, allocations: 203.1 kB / 415.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.279, allocations: 203 kB / 415.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.752e-05/0.2791, allocations: 40 kB / 415.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.467e-05/0.2791, allocations: 44 kB / 415.6 MB, free: 12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.2793, allocations: 103.7 kB / 415.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.2795, allocations: 214.8 kB / 415.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005196/0.28, allocations: 0.4954 MB / 416.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.28, allocations: 0 / 416.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.28, allocations: 0 / 416.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.28, allocations: 0 / 416.4 MB, free: 11.2 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001207/0.2812, allocations: 0.7639 MB / 417.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.2813, allocations: 8.031 kB / 417.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.58e-05/0.2814, allocations: 52.28 kB / 417.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005399/0.2819, allocations: 367.8 kB / 417.6 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.982e-05/0.282, allocations: 33.31 kB / 417.7 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.62e-05/0.2821, allocations: 40.28 kB / 417.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008317/0.2829, allocations: 459.5 kB / 418.1 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.2829, allocations: 4 kB / 418.1 MB, free: 9.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.283, allocations: 16 kB / 418.2 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.283, allocations: 8 kB / 418.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009453/0.2839, allocations: 375.6 kB / 418.5 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.286, allocations: 1.567 MB / 420.1 MB, free: 7.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007716/0.2868, allocations: 309.6 kB / 420.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004283/0.2872, allocations: 164.8 kB / 420.6 MB, free: 6.844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.2872, allocations: 7.938 kB / 420.6 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.2873, allocations: 38.55 kB / 420.6 MB, free: 6.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.964e-06/0.2873, allocations: 4 kB / 420.6 MB, free: 6.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.003156/0.2904, allocations: 1.384 MB / 422 MB, free: 5.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.2905, allocations: 106.8 kB / 422.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.2909, allocations: 353.6 kB / 422.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.2909, allocations: 37.7 kB / 422.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.2911, allocations: 235.9 kB / 422.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.161e-05/0.2912, allocations: 122.4 kB / 422.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.2913, allocations: 74.14 kB / 422.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2915, allocations: 358.8 kB / 423.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.2919, allocations: 166.5 kB / 423.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.2924, allocations: 261.6 kB / 423.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008626/0.2933, allocations: 392 kB / 424.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2933, allocations: 3.938 kB / 424.1 MB, free: 3.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001061/0.2944, allocations: 0.4889 MB / 424.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2944, allocations: 4 kB / 424.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2944, allocations: 4 kB / 424.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2944, allocations: 4 kB / 424.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008495/0.2953, allocations: 208 kB / 424.8 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.297, allocations: 1.58 MB / 426.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.2973, allocations: 40.05 kB / 426.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.2974, allocations: 12 kB / 426.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005293/0.2979, allocations: 268.9 kB / 426.7 MB, free: 384 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004623/0.2984, allocations: 249.6 kB / 426.9 MB, free: 100 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008067/0.2992, allocations: 371.7 kB / 427.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.787e-06/0.2992, allocations: 11.92 kB / 427.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0009827/0.3002, allocations: 472.9 kB / 427.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.3002, allocations: 4 kB / 427.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3002, allocations: 4 kB / 427.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-06/0.3002, allocations: 4 kB / 427.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/0.3007, allocations: 115.8 kB / 427.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.3007, allocations: 7.938 kB / 427.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.3011, allocations: 44.08 kB / 427.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.3011, allocations: 16 kB / 427.9 MB, free: 15.04 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.noWphase,integrator.local_reset,PI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.3012, allocations: 204.1 kB / 428.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/0.3013, allocations: 39.53 kB / 428.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.888e-05/0.3014, allocations: 44.25 kB / 428.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.3014, allocations: 7.938 kB / 428.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3014, allocations: 3.984 kB / 428.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.3016, allocations: 128.6 kB / 428.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.3017, allocations: 12 kB / 428.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.3019, allocations: 31.95 kB / 428.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.302, allocations: 19.97 kB / 428.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001217/0.3033, allocations: 492.5 kB / 428.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001369/0.3046, allocations: 0.7251 MB / 429.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004122/0.3051, allocations: 163.9 kB / 429.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002577/0.3053, allocations: 247.2 kB / 430 MB, free: 12.89 MB / 350.1 MB Notification: Performance of Backend: time 6.51e-07/0.3053, allocations: 0 / 430 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.3071, allocations: 0.6472 MB / 430.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of SimCode: time 0.001834/0.3089, allocations: 1.407 MB / 432.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Templates: time 0.01216/0.3211, allocations: 6.429 MB / 438.5 MB, free: 4.383 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.sim & ./Modelica_trunk_Modelica.Blocks.Examples.PID_Controller -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/PID_Controller/PID_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches