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.002478/0.002478, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 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.002738/0.002738, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.919/1.919, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.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: "" <> buildModelFMU(Modelica.Blocks.Examples.PID_Controller,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_PID_Controller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.PID_Controller,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_PID_Controller",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 59.91 kB / 373.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.109, allocations: 53.32 MB / 426.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.004601/0.1136, allocations: 3.14 MB / 429.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.1156, allocations: 0.997 MB / 430.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.1159, allocations: 15.94 kB / 430.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.1163, allocations: 99.09 kB / 430.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.1165, allocations: 99.08 kB / 431 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.1171, allocations: 238.6 kB / 431.2 MB, free: 432 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005799/0.1177, allocations: 0.5108 MB / 431.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000272/0.118, allocations: 125.3 kB / 431.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.1182, allocations: 195.1 kB / 432.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.1185, allocations: 211 kB / 432.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.181e-05/0.1185, allocations: 40 kB / 432.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.053e-05/0.1186, allocations: 43.94 kB / 432.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1187, allocations: 107.5 kB / 432.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.1189, allocations: 214.8 kB / 432.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005812/0.1195, allocations: 0.4938 MB / 433.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1195, allocations: 8 kB / 433.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1195, allocations: 0 / 433.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1195, allocations: 0 / 433.2 MB, free: 14.48 MB / 366.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.001381/0.1209, allocations: 0.7752 MB / 433.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1209, allocations: 12.03 kB / 433.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.755e-05/0.121, allocations: 70.72 kB / 434 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.779e-05/0.1211, allocations: 56.59 kB / 434.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005875/0.1217, allocations: 380 kB / 434.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.1217, allocations: 29.38 kB / 434.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.477e-05/0.1218, allocations: 36.38 kB / 434.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008881/0.1227, allocations: 463.3 kB / 435 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.1227, allocations: 7.953 kB / 435 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.1227, allocations: 15.98 kB / 435 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.1227, allocations: 12 kB / 435 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009534/0.1237, allocations: 375.6 kB / 435.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.1258, allocations: 1.556 MB / 436.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007903/0.1266, allocations: 302.8 kB / 437.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004052/0.127, allocations: 160.7 kB / 437.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.1271, allocations: 4.5 kB / 437.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.1271, allocations: 38.56 kB / 437.4 MB, free: 9.984 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.194e-06/0.1271, allocations: 3.938 kB / 437.4 MB, free: 9.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.003203/0.1303, allocations: 1.385 MB / 438.8 MB, free: 8.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.1304, allocations: 106.8 kB / 438.9 MB, free: 8.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004028/0.1308, allocations: 357.6 kB / 439.3 MB, free: 8.012 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.1308, allocations: 37.7 kB / 439.3 MB, free: 7.969 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.131, allocations: 244.3 kB / 439.5 MB, free: 7.723 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.095e-05/0.1311, allocations: 119 kB / 439.6 MB, free: 7.605 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.1312, allocations: 78.12 kB / 439.7 MB, free: 7.523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1314, allocations: 358.7 kB / 440.1 MB, free: 7.164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/0.1318, allocations: 170.5 kB / 440.2 MB, free: 6.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/0.1323, allocations: 253.7 kB / 440.5 MB, free: 6.715 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008662/0.1332, allocations: 392 kB / 440.9 MB, free: 6.305 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1332, allocations: 0 / 440.9 MB, free: 6.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001079/0.1343, allocations: 0.493 MB / 441.4 MB, free: 5.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1343, allocations: 8 kB / 441.4 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1343, allocations: 0 / 441.4 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.1343, allocations: 4 kB / 441.4 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008463/0.1352, allocations: 215.9 kB / 441.6 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.1369, allocations: 1.568 MB / 443.2 MB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.1372, allocations: 40.05 kB / 443.2 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.1372, allocations: 12 kB / 443.2 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005122/0.1378, allocations: 272.9 kB / 443.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004475/0.1382, allocations: 249.7 kB / 443.7 MB, free: 3.281 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007531/0.139, allocations: 371.7 kB / 444.1 MB, free: 2.891 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.317e-06/0.139, allocations: 3.984 kB / 444.1 MB, free: 2.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.000956/0.1399, allocations: 477 kB / 444.5 MB, free: 2.414 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.1399, allocations: 4 kB / 444.5 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1399, allocations: 4 kB / 444.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/0.1399, allocations: 7.984 kB / 444.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004614/0.1404, allocations: 119.7 kB / 444.7 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1404, allocations: 7.984 kB / 444.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.1407, allocations: 40.09 kB / 444.7 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.1407, allocations: 16 kB / 444.7 MB, free: 2.219 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.0001575/0.1409, allocations: 200.1 kB / 444.9 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.086e-05/0.141, allocations: 43.72 kB / 445 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.1411, allocations: 56.17 kB / 445 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1411, allocations: 0 / 445 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1411, allocations: 4 kB / 445 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1411, allocations: 0 / 445 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.1427, allocations: 0.9155 MB / 446 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.1427, allocations: 3.984 kB / 446 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004245/0.1431, allocations: 87.88 kB / 446 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1431, allocations: 0 / 446 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.1432, allocations: 8 kB / 446.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.1432, allocations: 4 kB / 446.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1432, allocations: 0 / 446.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.1446, allocations: 0.6711 MB / 446.7 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2116/0.3562, allocations: 141 kB / 446.9 MB, free: 24.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.3563, allocations: 12.55 kB / 446.9 MB, free: 24.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.3567, allocations: 31.52 kB / 446.9 MB, free: 24.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.831e-05/0.3568, allocations: 25.27 kB / 446.9 MB, free: 24.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.3568, allocations: 11.12 kB / 446.9 MB, free: 24.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003594/0.3572, allocations: 248.3 kB / 447.2 MB, free: 23.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3572, allocations: 3.312 kB / 447.2 MB, free: 23.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006756/0.3578, allocations: 135.2 kB / 447.3 MB, free: 23.97 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.001591/0.3594, allocations: 1.221 MB / 448.5 MB, free: 23.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.3611, allocations: 0.6546 MB / 449.2 MB, free: 23.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3611, allocations: 0 / 449.2 MB, free: 23.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004119/0.3615, allocations: 172.4 kB / 449.4 MB, free: 23.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006224/0.3621, allocations: 101.3 kB / 449.5 MB, free: 23.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005723/0.3679, allocations: 4.021 MB / 453.5 MB, free: 21.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3682, allocations: 0.8199 MB / 454.3 MB, free: 20.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003008/0.3685, allocations: 58.34 kB / 454.4 MB, free: 20.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.3687, allocations: 142.3 kB / 454.5 MB, free: 20.83 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3687, allocations: 0 / 454.5 MB, free: 20.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0386/0.4073, allocations: 8.759 MB / 463.3 MB, free: 19.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.37, allocations: 9.266 kB / 463.3 MB, free: 19.52 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_PID_Controller_fmu --startTime=0 --stopTime=4 --stepSize=0.000798085 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_PID_Controller.fmu > Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/PID_Controller/PID_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.386501892004162]