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.001387/0.001387, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 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.002792/0.002792, allocations: 152.9 kB / 24.26 MB, free: 148 kB / 18.57 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.642/1.642, allocations: 177 MB / 204.5 MB, free: 5.59 MB / 186.7 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 2.314e-06/2.314e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.711e-05/3.942e-05, allocations: 5.266 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.005798/0.005837, allocations: 2.914 MB / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002729/0.008567, allocations: 0.9659 MB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007483/0.009315, allocations: 23.88 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00074/0.01006, allocations: 87.17 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008715/0.01093, allocations: 107 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.0121, allocations: 247.5 kB / 276.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.01326, allocations: 0.5222 MB / 277.1 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004366/0.0137, allocations: 113.7 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006998/0.0144, allocations: 287.2 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003682/0.01476, allocations: 155.5 kB / 277.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.01489, allocations: 40 kB / 277.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.01499, allocations: 44 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.01515, allocations: 103.6 kB / 277.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.01538, allocations: 139.6 kB / 277.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009741/0.01635, allocations: 0.506 MB / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.01636, allocations: 4 kB / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01636, allocations: 0 / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.59e-05/0.01639, allocations: 0 / 278.4 MB, free: 11.52 MB / 266.7 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.001864/0.01825, allocations: 0.6999 MB / 279.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.0183, allocations: 11.98 kB / 279.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.01853, allocations: 84.61 kB / 279.2 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007721/0.0193, allocations: 317.4 kB / 279.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.78e-05/0.01936, allocations: 29.38 kB / 279.6 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.859e-05/0.01945, allocations: 40.38 kB / 279.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.02058, allocations: 0.4953 MB / 280.1 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.0206, allocations: 4.141 kB / 280.1 MB, free: 9.746 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/0.02065, allocations: 16.38 kB / 280.1 MB, free: 9.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.02067, allocations: 11.94 kB / 280.1 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.02179, allocations: 379.6 kB / 280.5 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003112/0.0249, allocations: 1.356 MB / 281.8 MB, free: 7.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.02596, allocations: 302.8 kB / 282.1 MB, free: 7.621 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.02645, allocations: 156.7 kB / 282.3 MB, free: 7.465 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.876e-05/0.0265, allocations: 8 kB / 282.3 MB, free: 7.457 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.333e-05/0.02655, allocations: 38.5 kB / 282.3 MB, free: 7.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 4.008e-06/0.02656, allocations: 0 / 282.3 MB, free: 7.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.003869/0.03042, allocations: 1.251 MB / 283.6 MB, free: 6.102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.569e-05/0.03052, allocations: 110.8 kB / 283.7 MB, free: 5.969 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/0.03103, allocations: 341.6 kB / 284 MB, free: 5.625 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.03107, allocations: 29.7 kB / 284.1 MB, free: 5.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.03134, allocations: 248.5 kB / 284.3 MB, free: 5.344 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.03149, allocations: 119 kB / 284.4 MB, free: 5.227 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.03168, allocations: 78.14 kB / 284.5 MB, free: 5.141 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002414/0.03192, allocations: 350.7 kB / 284.8 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005223/0.03244, allocations: 178.7 kB / 285 MB, free: 4.613 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/0.03306, allocations: 301.7 kB / 285.3 MB, free: 4.273 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.03425, allocations: 396 kB / 285.7 MB, free: 3.859 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.03425, allocations: 0 / 285.7 MB, free: 3.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001353/0.03561, allocations: 0.505 MB / 286.2 MB, free: 3.348 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.03563, allocations: 11.94 kB / 286.2 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.03564, allocations: 4 kB / 286.2 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.272e-05/0.03568, allocations: 7.984 kB / 286.2 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009577/0.03663, allocations: 211.7 kB / 286.4 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/0.03877, allocations: 1.438 MB / 287.9 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.03917, allocations: 44.08 kB / 287.9 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.03921, allocations: 8 kB / 287.9 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006583/0.03987, allocations: 281 kB / 288.2 MB, free: 1.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000578/0.04045, allocations: 285.7 kB / 288.5 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008786/0.04132, allocations: 375.7 kB / 288.8 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.454e-06/0.04133, allocations: 4 kB / 288.8 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.00119/0.04252, allocations: 481.1 kB / 289.3 MB, free: 52 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.04254, allocations: 4 kB / 289.3 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.04254, allocations: 4 kB / 289.3 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.04255, allocations: 7.938 kB / 289.3 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/0.04309, allocations: 119.9 kB / 289.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.0431, allocations: 4 kB / 289.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.04347, allocations: 40.08 kB / 289.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.0435, allocations: 16 kB / 289.5 MB, free: 15.86 MB / 282.7 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.0002438/0.04375, allocations: 212 kB / 289.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.04386, allocations: 47.77 kB / 289.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.04398, allocations: 40.09 kB / 289.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.04398, allocations: 4 kB / 289.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.04399, allocations: 0 / 289.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.044, allocations: 3.984 kB / 289.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.04597, allocations: 0.798 MB / 290.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.04598, allocations: 0 / 290.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/0.04644, allocations: 92 kB / 290.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.04644, allocations: 0 / 290.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.04647, allocations: 8 kB / 290.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.176e-06/0.04648, allocations: 11.88 kB / 290.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.04648, allocations: 0 / 290.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.04811, allocations: 0.6829 MB / 291.4 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.04828, allocations: 59.78 kB / 291.5 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/0.04834, allocations: 8 kB / 291.5 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.04867, allocations: 43.89 kB / 291.5 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.04877, allocations: 27.95 kB / 291.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.0488, allocations: 8 kB / 291.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003366/0.04913, allocations: 235.2 kB / 291.8 MB, free: 13.51 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04913, allocations: 0 / 291.8 MB, free: 13.51 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006994/0.04983, allocations: 136 kB / 291.9 MB, free: 13.38 MB / 282.7 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.0001915/0.05002, allocations: 103.2 kB / 292 MB, free: 13.26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002648/0.05267, allocations: 0.652 MB / 292.7 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.05268, allocations: 4 kB / 292.7 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006094/0.05329, allocations: 180.1 kB / 292.8 MB, free: 12.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008461/0.05414, allocations: 101.9 kB / 292.9 MB, free: 12.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.05659, allocations: 0.9216 MB / 293.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.05689, allocations: 216.1 kB / 294.1 MB, free: 11.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003054/0.05719, allocations: 55.23 kB / 294.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.05731, allocations: 36.5 kB / 294.2 MB, free: 11.05 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.05732, allocations: 0 / 294.2 MB, free: 11.05 MB / 282.7 MB Notification: Performance of Templates: time 0.01207/0.06938, allocations: 4.826 MB / 299 MB, free: 6.301 MB / 282.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/PID_Controller/PID_Controller.csv","/var/lib/jenkins/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.023394481046125]