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.001309/0.001309, allocations: 114.3 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001456/0.001456, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.88 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.213, allocations: 50.54 MB / 409.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.004408/0.2175, allocations: 3.116 MB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.2194, allocations: 1.001 MB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.2197, allocations: 11.94 kB / 414.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.22, allocations: 87.17 kB / 414.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.2203, allocations: 103.1 kB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.2208, allocations: 239.1 kB / 414.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005012/0.2213, allocations: 0.5107 MB / 415 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.2216, allocations: 169.2 kB / 415.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.2219, allocations: 199.1 kB / 415.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.2221, allocations: 211 kB / 415.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.556e-05/0.2222, allocations: 40 kB / 415.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.765e-05/0.2223, allocations: 44 kB / 415.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.2224, allocations: 103.6 kB / 415.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.2226, allocations: 218.8 kB / 416 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004905/0.2231, allocations: 497.8 kB / 416.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2231, allocations: 0 / 416.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2231, allocations: 0 / 416.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.2231, allocations: 0 / 416.4 MB, free: 11.1 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.001231/0.2243, allocations: 0.7791 MB / 417.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.2244, allocations: 12.03 kB / 417.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.2245, allocations: 52.61 kB / 417.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.225, allocations: 376 kB / 417.6 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.225, allocations: 29.38 kB / 417.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/0.2251, allocations: 40.31 kB / 417.7 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008698/0.2259, allocations: 459.6 kB / 418.2 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.226, allocations: 7.891 kB / 418.2 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.226, allocations: 16 kB / 418.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.2261, allocations: 15.98 kB / 418.2 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009682/0.227, allocations: 379.6 kB / 418.6 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.2291, allocations: 1.563 MB / 420.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008191/0.2299, allocations: 313.7 kB / 420.4 MB, free: 6.867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/0.2303, allocations: 164.7 kB / 420.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.2304, allocations: 3.938 kB / 420.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.2304, allocations: 38.56 kB / 420.6 MB, free: 6.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 3.257e-06/0.2304, allocations: 4 kB / 420.6 MB, free: 6.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.003106/0.2335, allocations: 1.385 MB / 422 MB, free: 5.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.2336, allocations: 106.8 kB / 422.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.234, allocations: 361.5 kB / 422.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.234, allocations: 29.7 kB / 422.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.2342, allocations: 256.4 kB / 422.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.974e-05/0.2343, allocations: 115 kB / 422.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.2344, allocations: 78.12 kB / 423 MB, free: 4.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2346, allocations: 346.8 kB / 423.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004533/0.235, allocations: 174.5 kB / 423.5 MB, free: 3.672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005159/0.2356, allocations: 253.7 kB / 423.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008516/0.2364, allocations: 392 kB / 424.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.2364, allocations: 3.938 kB / 424.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001084/0.2375, allocations: 0.493 MB / 424.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2376, allocations: 8 kB / 424.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2376, allocations: 4 kB / 424.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2376, allocations: 8.219 kB / 424.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008795/0.2385, allocations: 203.7 kB / 424.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.2401, allocations: 1.58 MB / 426.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.2404, allocations: 39.98 kB / 426.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.2405, allocations: 16 kB / 426.4 MB, free: 500 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004949/0.241, allocations: 268.9 kB / 426.7 MB, free: 228 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004693/0.2415, allocations: 241.8 kB / 426.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007583/0.2422, allocations: 375.7 kB / 427.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.2422, allocations: 0 / 427.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0009495/0.2432, allocations: 473 kB / 427.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.2432, allocations: 8 kB / 427.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.2432, allocations: 0 / 427.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/0.2432, allocations: 4 kB / 427.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.2437, allocations: 128 kB / 427.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2437, allocations: 15.88 kB / 427.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.244, allocations: 35.95 kB / 428 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.2441, allocations: 16 kB / 428 MB, free: 14.89 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.0001369/0.2442, allocations: 208.1 kB / 428.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.2443, allocations: 43.72 kB / 428.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.198e-05/0.2444, allocations: 44.25 kB / 428.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2444, allocations: 7.938 kB / 428.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2444, allocations: 3.984 kB / 428.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.2445, allocations: 132.8 kB / 428.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.2446, allocations: 4 kB / 428.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.2449, allocations: 31.95 kB / 428.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/0.245, allocations: 27.91 kB / 428.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001192/0.2462, allocations: 496.6 kB / 429 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001315/0.2475, allocations: 0.7213 MB / 429.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003967/0.2479, allocations: 171.9 kB / 429.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002298/0.2481, allocations: 243.2 kB / 430.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of Backend: time 4.91e-07/0.2481, allocations: 4 kB / 430.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.2499, allocations: 0.6356 MB / 430.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of SimCode: time 0.00168/0.2516, allocations: 1.409 MB / 432.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Templates: time 0.01061/0.2622, allocations: 6.447 MB / 438.6 MB, free: 4.211 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