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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001594/0.001594, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002315/0.002315, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.587/1.587, allocations: 177.1 MB / 204.7 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] 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=5012,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=5012,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00321/0.00321, allocations: 57.48 kB / 325.5 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1468, allocations: 53.39 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.008428/0.1552, allocations: 2.913 MB / 381.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003851/0.1591, allocations: 0.9737 MB / 382.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004727/0.1596, allocations: 15.88 kB / 382.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005601/0.1601, allocations: 87.17 kB / 382.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.1606, allocations: 107.1 kB / 383 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.1617, allocations: 239.3 kB / 383.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.1627, allocations: 0.5146 MB / 383.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000407/0.1631, allocations: 117.7 kB / 383.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003987/0.1635, allocations: 195.2 kB / 384.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004559/0.164, allocations: 194.9 kB / 384.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.84e-05/0.1641, allocations: 40 kB / 384.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1642, allocations: 40 kB / 384.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.1644, allocations: 107.6 kB / 384.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002818/0.1646, allocations: 171.1 kB / 384.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.1657, allocations: 0.5017 MB / 385.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1657, allocations: 3.938 kB / 385.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1657, allocations: 0 / 385.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.1657, allocations: 0 / 385.1 MB, free: 9.281 MB / 350.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.002264/0.168, allocations: 0.7077 MB / 385.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.168, allocations: 12.03 kB / 385.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.1682, allocations: 52.61 kB / 385.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008802/0.1691, allocations: 302.2 kB / 386.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.239e-05/0.1691, allocations: 29.38 kB / 386.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.1692, allocations: 36.38 kB / 386.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.1708, allocations: 0.4989 MB / 386.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/0.1709, allocations: 11.89 kB / 386.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-05/0.1709, allocations: 16 kB / 386.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.1709, allocations: 8 kB / 386.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.1727, allocations: 375.6 kB / 387.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00375/0.1764, allocations: 1.349 MB / 388.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.1778, allocations: 294.9 kB / 388.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000784/0.1786, allocations: 160.7 kB / 388.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.975e-05/0.1786, allocations: 8.484 kB / 388.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.1787, allocations: 34.5 kB / 389 MB, free: 5.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.254e-06/0.1787, allocations: 0 / 389 MB, free: 5.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.005689/0.1844, allocations: 1.247 MB / 390.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.1845, allocations: 106.8 kB / 390.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006803/0.1852, allocations: 345.6 kB / 390.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.085e-05/0.1852, allocations: 37.64 kB / 390.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.1855, allocations: 240.6 kB / 390.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.1857, allocations: 122.9 kB / 391 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.1859, allocations: 82.16 kB / 391.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002728/0.1862, allocations: 346.8 kB / 391.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008321/0.187, allocations: 178.7 kB / 391.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.188, allocations: 301.7 kB / 391.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.1897, allocations: 391.9 kB / 392.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1897, allocations: 4 kB / 392.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002165/0.1918, allocations: 0.4892 MB / 392.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.1919, allocations: 11.98 kB / 392.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1919, allocations: 0 / 392.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/0.1919, allocations: 4 kB / 392.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.1936, allocations: 215.8 kB / 393 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003056/0.1967, allocations: 1.446 MB / 394.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006616/0.1974, allocations: 48.02 kB / 394.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.803e-05/0.1974, allocations: 12 kB / 394.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001017/0.1984, allocations: 273 kB / 394.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009363/0.1994, allocations: 293.7 kB / 395.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001486/0.2008, allocations: 371.7 kB / 395.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/0.2008, allocations: 4 kB / 395.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001942/0.2028, allocations: 465 kB / 395.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.2028, allocations: 8 kB / 395.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2028, allocations: 0 / 395.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2028, allocations: 7.984 kB / 395.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009487/0.2038, allocations: 119.8 kB / 396 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.2038, allocations: 4 kB / 396 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005837/0.2044, allocations: 44.11 kB / 396.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.2044, allocations: 15.94 kB / 396.1 MB, free: 13.69 MB / 366.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.000272/0.2047, allocations: 200.2 kB / 396.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.2048, allocations: 39.77 kB / 396.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.205, allocations: 40.09 kB / 396.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.205, allocations: 4 kB / 396.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.205, allocations: 0 / 396.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.205, allocations: 7.922 kB / 396.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/0.208, allocations: 0.8058 MB / 397.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.208, allocations: 0 / 397.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007661/0.2088, allocations: 88.06 kB / 397.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/0.2088, allocations: 3.938 kB / 397.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.2088, allocations: 11.94 kB / 397.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.427e-06/0.2088, allocations: 4 kB / 397.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.2088, allocations: 0 / 397.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/0.2116, allocations: 0.6676 MB / 398 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.2118, allocations: 71.59 kB / 398 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/0.2119, allocations: 7.938 kB / 398 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.2124, allocations: 39.95 kB / 398.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.2125, allocations: 23.95 kB / 398.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.2126, allocations: 12 kB / 398.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000461/0.213, allocations: 235.2 kB / 398.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.213, allocations: 0 / 398.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001041/0.2141, allocations: 136 kB / 398.5 MB, free: 11.22 MB / 366.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.0002067/0.2143, allocations: 103.1 kB / 398.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003635/0.2179, allocations: 0.6528 MB / 399.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.2179, allocations: 0 / 399.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007678/0.2187, allocations: 179.8 kB / 399.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.2198, allocations: 102.9 kB / 399.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.223, allocations: 1.013 MB / 400.5 MB, free: 9.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.2234, allocations: 212.2 kB / 400.7 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000415/0.2238, allocations: 55.25 kB / 400.8 MB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.2239, allocations: 32.5 kB / 400.8 MB, free: 8.824 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2239, allocations: 0 / 400.8 MB, free: 8.824 MB / 366.1 MB Notification: Performance of Templates: time 0.01807/0.242, allocations: 4.835 MB / 405.7 MB, free: 4.066 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.018648576922715]