Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.00146/0.00146, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001901/0.001901, allocations: 206.9 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1943/0.1943, allocations: 38.55 MB / 352.5 MB, free: 12.29 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002494/0.002494, allocations: 67.89 kB / 492.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3445, allocations: 62.47 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.007061/0.3516, allocations: 4.591 MB / 0.5464 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.3543, allocations: 1.289 MB / 0.5477 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.3546, allocations: 20.91 kB / 0.5477 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.356, allocations: 387.1 kB / 0.5481 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000719/0.3567, allocations: 240.8 kB / 0.5483 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005795/0.3573, allocations: 186.3 kB / 0.5485 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006702/0.358, allocations: 0.5504 MB / 0.549 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004813/0.3584, allocations: 265.2 kB / 0.5493 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004885/0.3589, allocations: 273 kB / 0.5495 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004376/0.3594, allocations: 268.8 kB / 0.5498 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.58e-05/0.3594, allocations: 35.75 kB / 0.5498 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003167/0.3597, allocations: 136.1 kB / 0.55 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.3599, allocations: 190.8 kB / 0.5501 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.3601, allocations: 183.7 kB / 0.5503 GB, free: 10 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006155/0.3608, allocations: 0.5344 MB / 0.5508 GB, free: 9.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3608, allocations: 0 / 0.5508 GB, free: 9.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3608, allocations: 0 / 0.5508 GB, free: 9.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3608, allocations: 1.25 kB / 0.5508 GB, free: 9.648 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001185/0.362, allocations: 0.6516 MB / 0.5515 GB, free: 9.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.362, allocations: 13.83 kB / 0.5515 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.086e-05/0.3621, allocations: 75.89 kB / 0.5516 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006987/0.3628, allocations: 89.22 kB / 0.5516 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007398/0.3635, allocations: 361.6 kB / 0.552 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.3636, allocations: 23.03 kB / 0.552 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.3637, allocations: 51.38 kB / 0.5521 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007382/0.3644, allocations: 475.8 kB / 0.5525 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.3644, allocations: 5.062 kB / 0.5525 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.3645, allocations: 11.22 kB / 0.5525 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.3646, allocations: 28.86 kB / 0.5526 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005795/0.3652, allocations: 349.1 kB / 0.5529 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.3675, allocations: 1.471 MB / 0.5543 GB, free: 7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.3679, allocations: 172.4 kB / 0.5545 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.3681, allocations: 102 kB / 0.5546 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.3681, allocations: 3.375 kB / 0.5546 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.3681, allocations: 36.62 kB / 0.5546 GB, free: 6.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 2.415e-06/0.3681, allocations: 0 / 0.5546 GB, free: 6.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001373/0.3695, allocations: 0.7205 MB / 0.5553 GB, free: 6.293 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.3696, allocations: 83.28 kB / 0.5554 GB, free: 6.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.3699, allocations: 313.6 kB / 0.5557 GB, free: 5.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.3699, allocations: 33.83 kB / 0.5557 GB, free: 5.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.3701, allocations: 256 kB / 0.556 GB, free: 5.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.028e-05/0.3702, allocations: 79.36 kB / 0.5561 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.3703, allocations: 61.69 kB / 0.5561 GB, free: 5.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3704, allocations: 338.8 kB / 0.5564 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.3706, allocations: 99.88 kB / 0.5565 GB, free: 5.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.3709, allocations: 204.7 kB / 0.5567 GB, free: 4.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/0.3713, allocations: 339.2 kB / 0.5571 GB, free: 4.391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3713, allocations: 0 / 0.5571 GB, free: 4.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008437/0.3722, allocations: 417.7 kB / 0.5575 GB, free: 3.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3722, allocations: 8 kB / 0.5575 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005596/0.3728, allocations: 262.5 kB / 0.5577 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004027/0.3732, allocations: 81.22 kB / 0.5578 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.3734, allocations: 63.91 kB / 0.5578 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/0.3753, allocations: 1.6 MB / 0.5594 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.3755, allocations: 15.94 kB / 0.5594 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.3755, allocations: 16 kB / 0.5594 GB, free: 1.812 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000268/0.3758, allocations: 189.7 kB / 0.5596 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.3759, allocations: 39.77 kB / 0.5597 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004805/0.3763, allocations: 263.4 kB / 0.5599 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3763, allocations: 4 kB / 0.5599 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-06/0.3763, allocations: 0 / 0.5599 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3764, allocations: 144 / 0.5599 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.3776, allocations: 0.7132 MB / 0.5606 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3776, allocations: 11.92 kB / 0.5606 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.3779, allocations: 47.97 kB / 0.5607 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3779, allocations: 0 / 0.5607 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.3779, allocations: 11.94 kB / 0.5607 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3779, allocations: 4 kB / 0.5607 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3779, allocations: 0 / 0.5607 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005913/0.3785, allocations: 453.5 kB / 0.5611 GB, free: 0 / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.234e-05/0.3786, allocations: 35.64 kB / 0.5611 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.3787, allocations: 12.03 kB / 0.5612 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.3788, allocations: 12.03 kB / 0.5612 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.3789, allocations: 15.97 kB / 0.5612 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.3789, allocations: 8 kB / 0.5612 GB, free: 15.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002287/0.3791, allocations: 215.1 kB / 0.5614 GB, free: 15.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3791, allocations: 0 / 0.5614 GB, free: 15.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004299/0.3795, allocations: 87.98 kB / 0.5615 GB, free: 15.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009717/0.3805, allocations: 0.9947 MB / 0.5625 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007008/0.3812, allocations: 366.5 kB / 0.5628 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3812, allocations: 0 / 0.5628 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.3814, allocations: 95.89 kB / 0.5629 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.3819, allocations: 69.03 kB / 0.563 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005522/0.3874, allocations: 3.536 MB / 0.5664 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.3878, allocations: 249.2 kB / 0.5667 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002749/0.3881, allocations: 70.89 kB / 0.5667 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.3883, allocations: 139.4 kB / 0.5669 GB, free: 9.871 MB / 414.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3883, allocations: 4 kB / 0.5669 GB, free: 9.867 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05271/0.441, allocations: 7.963 MB / 0.5746 GB, free: 2.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.13, allocations: 0 / 0.5746 GB, free: 2.066 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.01764923101291]