Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.001299/0.001299, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001514/0.001514, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.1965/0.1965, allocations: 38.53 MB / 352.5 MB, free: 12.54 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.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",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.002217/0.002217, allocations: 64.19 kB / 492.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3502, allocations: 62.47 MB / 0.542 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003884/0.3541, allocations: 2.171 MB / 0.5441 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000952/0.355, allocations: 0.5545 MB / 0.5447 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.766e-05/0.3551, allocations: 0 / 0.5447 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.3552, allocations: 22.81 kB / 0.5447 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.3554, allocations: 26.38 kB / 0.5447 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.3557, allocations: 71.81 kB / 0.5448 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.3559, allocations: 66.14 kB / 0.5448 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.3559, allocations: 1.844 kB / 0.5448 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.3561, allocations: 35.56 kB / 0.5449 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.075e-05/0.3561, allocations: 29.89 kB / 0.5449 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.3561, allocations: 1.219 kB / 0.5449 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.3564, allocations: 124.8 kB / 0.545 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.3564, allocations: 20.17 kB / 0.5451 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.3565, allocations: 26.61 kB / 0.5451 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.3567, allocations: 112.5 kB / 0.5452 GB, free: 14.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3567, allocations: 1.375 kB / 0.5452 GB, free: 14.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3567, allocations: 0 / 0.5452 GB, free: 14.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3567, allocations: 0 / 0.5452 GB, free: 14.1 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004221/0.3571, allocations: 325.6 kB / 0.5455 GB, free: 13.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3571, allocations: 16.14 kB / 0.5455 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.3572, allocations: 33.5 kB / 0.5455 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.3572, allocations: 11.64 kB / 0.5456 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.3574, allocations: 137.2 kB / 0.5457 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3574, allocations: 1.75 kB / 0.5457 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.3574, allocations: 5.312 kB / 0.5457 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.3575, allocations: 61 kB / 0.5457 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3575, allocations: 3.984 kB / 0.5458 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.3576, allocations: 1.375 kB / 0.5458 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3576, allocations: 0 / 0.5458 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.101e-05/0.3576, allocations: 28.48 kB / 0.5458 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.3578, allocations: 135.2 kB / 0.5459 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.872e-05/0.3579, allocations: 51.53 kB / 0.546 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.355e-05/0.3579, allocations: 34.34 kB / 0.546 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.3579, allocations: 0 / 0.546 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.358, allocations: 35.84 kB / 0.546 GB, free: 13.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 9.61e-07/0.358, allocations: 0 / 0.546 GB, free: 13.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003092/0.3583, allocations: 184.3 kB / 0.5462 GB, free: 13.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.3583, allocations: 88.8 kB / 0.5463 GB, free: 13.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3585, allocations: 121.7 kB / 0.5464 GB, free: 12.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3585, allocations: 26.8 kB / 0.5464 GB, free: 12.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.3585, allocations: 90.25 kB / 0.5465 GB, free: 12.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.343e-05/0.3586, allocations: 40.02 kB / 0.5466 GB, free: 12.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.3586, allocations: 16.44 kB / 0.5466 GB, free: 12.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.3588, allocations: 322.2 kB / 0.5469 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.399e-05/0.3589, allocations: 28.86 kB / 0.5469 GB, free: 12.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/0.3589, allocations: 40.86 kB / 0.5469 GB, free: 12.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.3591, allocations: 156.5 kB / 0.5471 GB, free: 12.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3591, allocations: 0 / 0.5471 GB, free: 12.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001875/0.3593, allocations: 153.5 kB / 0.5472 GB, free: 12.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.015e-05/0.3593, allocations: 52.11 kB / 0.5473 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3593, allocations: 1.094 kB / 0.5473 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3593, allocations: 0 / 0.5473 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.273e-06/0.3593, allocations: 0 / 0.5473 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3593, allocations: 1.156 kB / 0.5473 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.3594, allocations: 7.156 kB / 0.5473 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.3594, allocations: 6.125 kB / 0.5473 GB, free: 12.17 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.0001642/0.3596, allocations: 168.3 kB / 0.5475 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.3596, allocations: 9.922 kB / 0.5475 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.647e-05/0.3596, allocations: 5.625 kB / 0.5475 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.3596, allocations: 3.984 kB / 0.5475 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3596, allocations: 5.281 kB / 0.5475 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3596, allocations: 7.922 kB / 0.5475 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.3598, allocations: 152.2 kB / 0.5476 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3598, allocations: 0 / 0.5476 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-06/0.3598, allocations: 5.25 kB / 0.5476 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.3598, allocations: 0 / 0.5476 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3598, allocations: 6.672 kB / 0.5477 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3598, allocations: 1.312 kB / 0.5477 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3598, allocations: 0 / 0.5477 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.3601, allocations: 278.7 kB / 0.5479 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.3602, allocations: 10.05 kB / 0.5479 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.3602, allocations: 3.094 kB / 0.5479 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.016e-05/0.3602, allocations: 6.25 kB / 0.5479 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.3602, allocations: 1.094 kB / 0.5479 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.3602, allocations: 7.109 kB / 0.5479 GB, free: 11.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.697e-05/0.3603, allocations: 93.92 kB / 0.548 GB, free: 11.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3603, allocations: 0 / 0.548 GB, free: 11.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.3605, allocations: 28.09 kB / 0.5481 GB, free: 11.54 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007288/0.3612, allocations: 0.8249 MB / 0.5489 GB, free: 10.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003099/0.3616, allocations: 231.6 kB / 0.5491 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3616, allocations: 0 / 0.5491 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.3617, allocations: 157.3 kB / 0.5492 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.362, allocations: 18.53 kB / 0.5493 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.3639, allocations: 1.776 MB / 0.551 GB, free: 9.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.3642, allocations: 0.7051 MB / 0.5517 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.909e-05/0.3643, allocations: 0 / 0.5517 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.3643, allocations: 16.78 kB / 0.5517 GB, free: 8.477 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3643, allocations: 0 / 0.5517 GB, free: 8.477 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/0.399, allocations: 2.731 MB / 0.5544 GB, free: 7.074 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.78, allocations: 15.23 kB / 0.5544 GB, free: 7.066 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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: 14.697269389173016]