Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.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.001801/0.001801, allocations: 86.78 kB / 21.99 MB, free: 5.191 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.002078/0.002078, allocations: 157.4 kB / 25.25 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 158.6 MB / 187 MB, free: 6.25 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller") translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 58.58 kB / 299.3 MB, free: 6.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2193, allocations: 49.15 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.004568/0.2239, allocations: 2.917 MB / 351.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.2258, allocations: 0.9707 MB / 352.4 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.226, allocations: 23.81 kB / 352.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.2263, allocations: 87.17 kB / 352.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.2266, allocations: 115 kB / 352.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005823/0.2272, allocations: 231.6 kB / 352.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006328/0.2278, allocations: 0.5263 MB / 353.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.2281, allocations: 113.7 kB / 353.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.2283, allocations: 203.2 kB / 353.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.2286, allocations: 190.9 kB / 353.8 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.123e-05/0.2287, allocations: 44 kB / 353.9 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-05/0.2288, allocations: 40 kB / 353.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.2289, allocations: 111.5 kB / 354 MB, free: 9.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.2291, allocations: 175.1 kB / 354.2 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006234/0.2297, allocations: 0.5003 MB / 354.7 MB, free: 9.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2297, allocations: 0 / 354.7 MB, free: 9.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2297, allocations: 0 / 354.7 MB, free: 9.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.2297, allocations: 0 / 354.7 MB, free: 9.293 MB / 318.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.001408/0.2311, allocations: 0.7077 MB / 355.4 MB, free: 8.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.2312, allocations: 11.98 kB / 355.4 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.2313, allocations: 60.56 kB / 355.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006113/0.2319, allocations: 322.1 kB / 355.8 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.2319, allocations: 25.38 kB / 355.8 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/0.232, allocations: 36.38 kB / 355.9 MB, free: 8.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009625/0.233, allocations: 480.4 kB / 356.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.233, allocations: 15.88 kB / 356.3 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.233, allocations: 8 kB / 356.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.233, allocations: 12 kB / 356.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.2341, allocations: 375.6 kB / 356.7 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/0.2363, allocations: 1.364 MB / 358.1 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008657/0.2371, allocations: 290.7 kB / 358.4 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/0.2376, allocations: 160.7 kB / 358.5 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.2376, allocations: 4 kB / 358.5 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.2376, allocations: 38.5 kB / 358.6 MB, free: 5.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.2377, allocations: 0 / 358.6 MB, free: 5.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.003381/0.241, allocations: 1.242 MB / 359.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.2411, allocations: 81.11 kB / 359.9 MB, free: 3.844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.2415, allocations: 353.5 kB / 360.2 MB, free: 3.492 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.2415, allocations: 33.7 kB / 360.3 MB, free: 3.453 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.2417, allocations: 252.5 kB / 360.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.975e-05/0.2418, allocations: 119.2 kB / 360.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.242, allocations: 74.2 kB / 360.7 MB, free: 3.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.2421, allocations: 350.8 kB / 361.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005039/0.2427, allocations: 170.7 kB / 361.2 MB, free: 2.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005738/0.2432, allocations: 275.2 kB / 361.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009926/0.2442, allocations: 387.4 kB / 361.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.2442, allocations: 4 kB / 361.9 MB, free: 1.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0012/0.2454, allocations: 0.4893 MB / 362.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.2454, allocations: 7.984 kB / 362.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2454, allocations: 4 kB / 362.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.2455, allocations: 4 kB / 362.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009527/0.2464, allocations: 207.9 kB / 362.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.2483, allocations: 1.446 MB / 364 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.2486, allocations: 43.92 kB / 364.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.2486, allocations: 20 kB / 364.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005853/0.2492, allocations: 277.1 kB / 364.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005072/0.2497, allocations: 259.1 kB / 364.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008723/0.2506, allocations: 367.4 kB / 365 MB, free: 14.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.2506, allocations: 4 kB / 365 MB, free: 14.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001075/0.2517, allocations: 477.2 kB / 365.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2517, allocations: 8 kB / 365.5 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.2517, allocations: 0 / 365.5 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.2517, allocations: 12.2 kB / 365.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/0.2522, allocations: 123.8 kB / 365.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2522, allocations: 7.984 kB / 365.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.2525, allocations: 35.95 kB / 365.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.2526, allocations: 15.94 kB / 365.6 MB, free: 13.81 MB / 334.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.0002539/0.2528, allocations: 204.1 kB / 365.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.974e-05/0.2529, allocations: 39.77 kB / 365.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.477e-05/0.253, allocations: 48.14 kB / 365.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.253, allocations: 4 kB / 365.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.253, allocations: 3.938 kB / 365.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.253, allocations: 7.922 kB / 365.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.2547, allocations: 0.7897 MB / 366.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2547, allocations: 0 / 366.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/0.2552, allocations: 83.88 kB / 366.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.2552, allocations: 3.938 kB / 366.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.2552, allocations: 8 kB / 366.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2552, allocations: 8.125 kB / 366.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.2552, allocations: 3.938 kB / 366.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.2567, allocations: 0.6759 MB / 367.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.2569, allocations: 59.72 kB / 367.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.2569, allocations: 8 kB / 367.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.2572, allocations: 39.95 kB / 367.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/0.2573, allocations: 19.97 kB / 367.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.2573, allocations: 11.98 kB / 367.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002693/0.2576, allocations: 243.2 kB / 367.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2576, allocations: 0 / 367.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005568/0.2582, allocations: 132 kB / 368 MB, free: 11.35 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (PI.I.y,inertia1.phi,spring.phi_rel,spring.w_rel,inertia2.w,integrator.y) * Number of discrete variables: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.0001173/0.2583, allocations: 107.2 kB / 368.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002018/0.2603, allocations: 0.6491 MB / 368.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2603, allocations: 3.938 kB / 368.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004993/0.2608, allocations: 184.4 kB / 369 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000648/0.2614, allocations: 101.4 kB / 369.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.2633, allocations: 1.007 MB / 370.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.2636, allocations: 220.2 kB / 370.3 MB, free: 9.027 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002392/0.2638, allocations: 67.22 kB / 370.3 MB, free: 8.961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.2639, allocations: 28.5 kB / 370.4 MB, free: 8.934 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2639, allocations: 0 / 370.4 MB, free: 8.934 MB / 334.1 MB Notification: Performance of Templates: time 0.01065/0.2746, allocations: 4.875 MB / 375.2 MB, free: 4.059 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/PID_Controller/PID_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.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.481844433001243]