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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009836/0.0009835, allocations: 109.7 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 187 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 43.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07644/0.07778, allocations: 46.61 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.004418/0.08223, allocations: 3.121 MB / 378.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.08419, allocations: 1.01 MB / 379.9 MB, free: 428 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003302/0.08453, allocations: 11.94 kB / 380 MB, free: 416 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003744/0.08494, allocations: 95.17 kB / 380 MB, free: 320 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003183/0.08527, allocations: 111.1 kB / 380.2 MB, free: 208 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1473/0.2326, allocations: 222.8 kB / 380.4 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000736/0.2334, allocations: 0.5247 MB / 380.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003294/0.2337, allocations: 172.9 kB / 381.1 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.234, allocations: 199.2 kB / 381.3 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.2343, allocations: 217 kB / 381.5 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.356e-05/0.2344, allocations: 39.5 kB / 381.5 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-05/0.2344, allocations: 41.06 kB / 381.5 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.2345, allocations: 100.6 kB / 381.6 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.2347, allocations: 219.9 kB / 381.9 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005127/0.2352, allocations: 0.495 MB / 382.4 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2353, allocations: 1.344 kB / 382.4 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2353, allocations: 3.562 kB / 382.4 MB, free: 10.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.2353, allocations: 0 / 382.4 MB, free: 10.08 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.001386/0.2367, allocations: 0.7605 MB / 383.1 MB, free: 9.574 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.2367, allocations: 13.64 kB / 383.1 MB, free: 9.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.2369, allocations: 55.06 kB / 383.2 MB, free: 9.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005451/0.2374, allocations: 385.9 kB / 383.6 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.2375, allocations: 27.5 kB / 383.6 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.671e-05/0.2375, allocations: 38.2 kB / 383.6 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000884/0.2384, allocations: 447.9 kB / 384.1 MB, free: 9.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.2385, allocations: 11.5 kB / 384.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/0.2385, allocations: 13.78 kB / 384.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.2385, allocations: 9.875 kB / 384.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009808/0.2395, allocations: 377.2 kB / 384.5 MB, free: 9.121 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.2414, allocations: 1.568 MB / 386 MB, free: 8.012 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007944/0.2422, allocations: 314.1 kB / 386.3 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004329/0.2426, allocations: 165.2 kB / 386.5 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.2427, allocations: 4.266 kB / 386.5 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.2427, allocations: 37.84 kB / 386.5 MB, free: 7.805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.914e-06/0.2427, allocations: 0 / 386.5 MB, free: 7.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.003112/0.2458, allocations: 1.382 MB / 387.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.2458, allocations: 85.16 kB / 388 MB, free: 6.914 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003542/0.2462, allocations: 362.5 kB / 388.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.2462, allocations: 31.14 kB / 388.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.2464, allocations: 244.1 kB / 388.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.2464, allocations: 122.8 kB / 388.8 MB, free: 6.398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.2465, allocations: 74.47 kB / 388.8 MB, free: 6.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.769e-05/0.2466, allocations: 349.6 kB / 389.2 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/0.2471, allocations: 172.6 kB / 389.3 MB, free: 5.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/0.2476, allocations: 251.6 kB / 389.6 MB, free: 5.832 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008783/0.2485, allocations: 401.5 kB / 390 MB, free: 5.641 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2485, allocations: 1.281 kB / 390 MB, free: 5.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001113/0.2496, allocations: 0.4895 MB / 390.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2497, allocations: 6.109 kB / 390.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.2497, allocations: 2.219 kB / 390.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.2497, allocations: 5.156 kB / 390.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009212/0.2506, allocations: 211.4 kB / 390.7 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.252, allocations: 1.573 MB / 392.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.2523, allocations: 37.86 kB / 392.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.2524, allocations: 16.12 kB / 392.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005164/0.2529, allocations: 271.7 kB / 392.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004504/0.2533, allocations: 240.3 kB / 392.8 MB, free: 3.688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007807/0.2541, allocations: 381.5 kB / 393.2 MB, free: 3.504 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.115e-06/0.2541, allocations: 1.281 kB / 393.2 MB, free: 3.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0009775/0.2551, allocations: 461.4 kB / 393.6 MB, free: 3.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.2552, allocations: 6.969 kB / 393.6 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2552, allocations: 3.281 kB / 393.6 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/0.2552, allocations: 6.281 kB / 393.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.2557, allocations: 115.9 kB / 393.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2557, allocations: 8.516 kB / 393.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.256, allocations: 42.61 kB / 393.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.2561, allocations: 16.47 kB / 393.8 MB, free: 3.316 MB / 318.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 9.844e-05/0.2562, allocations: 205.6 kB / 394 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.59e-05/0.2562, allocations: 38.69 kB / 394.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.336e-05/0.2563, allocations: 43.61 kB / 394.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2563, allocations: 2.562 kB / 394.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2563, allocations: 8.594 kB / 394.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.2564, allocations: 136.2 kB / 394.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.2565, allocations: 6.062 kB / 394.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.2568, allocations: 31.69 kB / 394.3 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/0.2569, allocations: 24.47 kB / 394.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00127/0.2582, allocations: 491.6 kB / 394.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001389/0.2596, allocations: 0.7299 MB / 395.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004332/0.26, allocations: 163.2 kB / 395.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002385/0.2603, allocations: 247.8 kB / 395.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of Backend: time 3.91e-07/0.2603, allocations: 0 / 395.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00184/0.2621, allocations: 0.6442 MB / 396.6 MB, free: 1.961 MB / 318.1 MB Notification: Performance of SimCode: time 0.001536/0.2637, allocations: 1.41 MB / 398 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of Templates: time 0.01154/0.2752, allocations: 6.533 MB / 404.5 MB, free: 14.74 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.makefile (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) 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) Reference file matches