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.001839/0.001839, allocations: 96.3 kB / 21.73 MB, free: 2.699 MB / 18.57 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.00233/0.00233, allocations: 170.3 kB / 25.02 MB, free: 8.418 MB / 18.57 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.42/1.42, allocations: 158.6 MB / 186.8 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] 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: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 250.3 MB, free: 3.961 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.512e-05/3.703e-05, allocations: 2.312 kB / 250.3 MB, free: 3.957 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.00789/0.007927, allocations: 2.919 MB / 253.3 MB, free: 1.012 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00374/0.01167, allocations: 0.9939 MB / 254.3 MB, free: 8 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005758/0.01224, allocations: 15.92 kB / 254.3 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006003/0.01284, allocations: 87.12 kB / 254.4 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005685/0.01341, allocations: 111 kB / 254.5 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.01449, allocations: 239.4 kB / 254.7 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.01573, allocations: 0.5339 MB / 255.2 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005013/0.01623, allocations: 117.7 kB / 255.3 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007642/0.017, allocations: 283.2 kB / 255.6 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005249/0.01752, allocations: 159.5 kB / 255.8 MB, free: 14.47 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.01765, allocations: 40 kB / 255.8 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.01778, allocations: 40 kB / 255.9 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.018, allocations: 107.6 kB / 256 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.01831, allocations: 139.6 kB / 256.1 MB, free: 14.15 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.01948, allocations: 0.5061 MB / 256.6 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.01948, allocations: 0 / 256.6 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.01948, allocations: 0 / 256.6 MB, free: 13.64 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.031e-05/0.01951, allocations: 0 / 256.6 MB, free: 13.64 MB / 250.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.002579/0.02209, allocations: 0.7114 MB / 257.3 MB, free: 12.9 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/0.02215, allocations: 15.98 kB / 257.3 MB, free: 12.89 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.02244, allocations: 80.61 kB / 257.4 MB, free: 12.81 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.02355, allocations: 329.4 kB / 257.7 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.032e-05/0.02362, allocations: 29.38 kB / 257.8 MB, free: 12.44 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.02375, allocations: 40.38 kB / 257.8 MB, free: 12.4 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.0256, allocations: 472.6 kB / 258.3 MB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/0.02563, allocations: 192 / 258.3 MB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.115e-05/0.0257, allocations: 16.38 kB / 258.3 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.02573, allocations: 23.92 kB / 258.3 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.02774, allocations: 367.6 kB / 258.7 MB, free: 11.51 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004232/0.03197, allocations: 1.368 MB / 260 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.03363, allocations: 306.5 kB / 260.3 MB, free: 9.766 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008536/0.03448, allocations: 148.8 kB / 260.5 MB, free: 9.617 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.643e-05/0.03453, allocations: 8 kB / 260.5 MB, free: 9.609 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.1e-05/0.03459, allocations: 34.56 kB / 260.5 MB, free: 9.566 MB / 250.7 MB Notification: Performance of pre-optimization done (n=30): time 2.735e-06/0.03459, allocations: 0 / 260.5 MB, free: 9.566 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.006692/0.04129, allocations: 1.251 MB / 261.8 MB, free: 8.262 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.0414, allocations: 81.11 kB / 261.8 MB, free: 8.164 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007656/0.04217, allocations: 345.6 kB / 262.2 MB, free: 7.816 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.798e-05/0.04224, allocations: 37.7 kB / 262.2 MB, free: 7.773 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.0426, allocations: 244.5 kB / 262.5 MB, free: 7.531 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.0428, allocations: 123.1 kB / 262.6 MB, free: 7.41 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/0.04306, allocations: 78.19 kB / 262.7 MB, free: 7.324 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003389/0.0434, allocations: 346.8 kB / 263 MB, free: 6.977 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009731/0.04437, allocations: 178.7 kB / 263.2 MB, free: 6.801 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.04549, allocations: 279.1 kB / 263.4 MB, free: 6.488 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.04739, allocations: 391.7 kB / 263.8 MB, free: 6.078 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.04739, allocations: 0 / 263.8 MB, free: 6.078 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002377/0.04977, allocations: 0.4971 MB / 264.3 MB, free: 5.574 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.0498, allocations: 11.94 kB / 264.3 MB, free: 5.562 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.04982, allocations: 4 kB / 264.3 MB, free: 5.559 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.592e-05/0.04985, allocations: 4 kB / 264.3 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/0.05173, allocations: 211.9 kB / 264.5 MB, free: 5.348 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003464/0.0552, allocations: 1.434 MB / 266 MB, free: 3.809 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006834/0.05588, allocations: 48.05 kB / 266 MB, free: 3.762 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/0.05594, allocations: 12 kB / 266 MB, free: 3.75 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001072/0.05701, allocations: 284.9 kB / 266.3 MB, free: 3.469 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009797/0.05799, allocations: 263.2 kB / 266.6 MB, free: 3.18 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001686/0.05968, allocations: 375.8 kB / 266.9 MB, free: 2.785 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.346e-06/0.05968, allocations: 4 kB / 266.9 MB, free: 2.781 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.00219/0.06187, allocations: 481.1 kB / 267.4 MB, free: 2.305 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.06189, allocations: 4 kB / 267.4 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.0619, allocations: 4 kB / 267.4 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.06191, allocations: 4 kB / 267.4 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.06299, allocations: 123.7 kB / 267.5 MB, free: 2.172 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.46e-05/0.06301, allocations: 7.984 kB / 267.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006091/0.06362, allocations: 36.12 kB / 267.6 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.326e-05/0.06369, allocations: 19.98 kB / 267.6 MB, free: 2.109 MB / 250.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.0003106/0.064, allocations: 200.1 kB / 267.8 MB, free: 1.906 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.06418, allocations: 51.72 kB / 267.9 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.06434, allocations: 48.12 kB / 267.9 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.06435, allocations: 4 kB / 267.9 MB, free: 1.805 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.06436, allocations: 3.938 kB / 267.9 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.06436, allocations: 0 / 267.9 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/0.06761, allocations: 0.7897 MB / 268.7 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.06761, allocations: 0 / 268.7 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009398/0.06855, allocations: 92 kB / 268.8 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.06856, allocations: 0 / 268.8 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.06861, allocations: 11.98 kB / 268.8 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.036e-05/0.06863, allocations: 11.94 kB / 268.8 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.06863, allocations: 0 / 268.8 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003019/0.07165, allocations: 0.6829 MB / 269.5 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.07189, allocations: 55.8 kB / 269.6 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.398e-05/0.07198, allocations: 8 kB / 269.6 MB, free: 76 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005863/0.07256, allocations: 39.89 kB / 269.6 MB, free: 36 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.07271, allocations: 31.95 kB / 269.6 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.07274, allocations: 4 kB / 269.6 MB, free: 0 / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005416/0.07329, allocations: 239.2 kB / 269.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.07329, allocations: 0 / 269.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001104/0.07439, allocations: 136 kB / 270 MB, free: 15.64 MB / 266.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.0002411/0.07463, allocations: 115 kB / 270.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.003949/0.07858, allocations: 0.6484 MB / 270.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.07858, allocations: 64 / 270.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009892/0.07957, allocations: 179.7 kB / 270.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.08089, allocations: 106.1 kB / 271 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.08445, allocations: 0.9366 MB / 272 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.08487, allocations: 216.2 kB / 272.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004915/0.08536, allocations: 59.23 kB / 272.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.08556, allocations: 36.5 kB / 272.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of SimCode: time 1.783e-06/0.08556, allocations: 0 / 272.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of Templates: time 0.02025/0.1058, allocations: 4.862 MB / 277.1 MB, free: 8.461 MB / 266.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/PID_Controller/PID_Controller.csv","/var/lib/jenkins/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.555599398910999]