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.001295/0.001295, allocations: 112.2 kB / 21.22 MB, free: 0.7266 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.002393/0.002393, allocations: 208.2 kB / 24.52 MB, free: 4.066 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.529/1.529, allocations: 230.6 MB / 258.3 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.2123/0.2123, allocations: 38.53 MB / 353.3 MB, free: 12.51 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="cs",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.002108/0.002108, allocations: 63.91 kB / 493.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3462, allocations: 62.48 MB / 0.5428 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.00424/0.3504, allocations: 2.152 MB / 0.5449 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009944/0.3514, allocations: 0.565 MB / 0.5454 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.3515, allocations: 1.406 kB / 0.5454 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.3516, allocations: 13.28 kB / 0.5454 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.3517, allocations: 23.53 kB / 0.5455 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.3521, allocations: 83.69 kB / 0.5456 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.3523, allocations: 61.77 kB / 0.5456 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.3523, allocations: 6.266 kB / 0.5456 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.3525, allocations: 35.94 kB / 0.5456 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.657e-05/0.3525, allocations: 29.72 kB / 0.5457 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.3525, allocations: 1.719 kB / 0.5457 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.3528, allocations: 124.3 kB / 0.5458 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.3528, allocations: 20.88 kB / 0.5458 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.3528, allocations: 21.19 kB / 0.5458 GB, free: 14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.353, allocations: 114.4 kB / 0.5459 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.353, allocations: 0 / 0.5459 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.353, allocations: 0 / 0.5459 GB, free: 13.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3531, allocations: 0 / 0.5459 GB, free: 13.93 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.0004005/0.3535, allocations: 320.9 kB / 0.5463 GB, free: 13.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.3535, allocations: 13.48 kB / 0.5463 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.627e-05/0.3535, allocations: 5.625 kB / 0.5463 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.262e-05/0.3535, allocations: 32.91 kB / 0.5463 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.3536, allocations: 7.016 kB / 0.5463 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.3538, allocations: 141.1 kB / 0.5464 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.3538, allocations: 5.5 kB / 0.5464 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.3538, allocations: 5.375 kB / 0.5465 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.354, allocations: 65.05 kB / 0.5465 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.354, allocations: 0 / 0.5465 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.354, allocations: 1.375 kB / 0.5465 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.354, allocations: 0 / 0.5465 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.101e-05/0.354, allocations: 28.61 kB / 0.5465 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.3542, allocations: 130.4 kB / 0.5467 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.387e-05/0.3543, allocations: 60.44 kB / 0.5467 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.048e-05/0.3543, allocations: 41.39 kB / 0.5468 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.3543, allocations: 0 / 0.5468 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.3544, allocations: 31.94 kB / 0.5468 GB, free: 13.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 8.62e-07/0.3544, allocations: 0 / 0.5468 GB, free: 13.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003177/0.3547, allocations: 180.9 kB / 0.547 GB, free: 12.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.3548, allocations: 93.95 kB / 0.5471 GB, free: 12.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3549, allocations: 120.6 kB / 0.5472 GB, free: 12.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.3549, allocations: 27.17 kB / 0.5472 GB, free: 12.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.355, allocations: 93.31 kB / 0.5473 GB, free: 12.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.058e-05/0.355, allocations: 41.2 kB / 0.5473 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.3551, allocations: 19.67 kB / 0.5473 GB, free: 12.58 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3553, allocations: 322.9 kB / 0.5477 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.945e-05/0.3553, allocations: 28.48 kB / 0.5477 GB, free: 12.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.3554, allocations: 28.42 kB / 0.5477 GB, free: 12.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.3555, allocations: 165.1 kB / 0.5479 GB, free: 12.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3555, allocations: 3.938 kB / 0.5479 GB, free: 12.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001854/0.3557, allocations: 145.7 kB / 0.548 GB, free: 12.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.035e-05/0.3558, allocations: 52.58 kB / 0.5481 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.3558, allocations: 3.938 kB / 0.5481 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3558, allocations: 0 / 0.5481 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.3558, allocations: 1.156 kB / 0.5481 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3558, allocations: 0 / 0.5481 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.3558, allocations: 7.469 kB / 0.5481 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.3559, allocations: 2.344 kB / 0.5481 GB, free: 12 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.0001378/0.356, allocations: 171.9 kB / 0.5482 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.356, allocations: 9.359 kB / 0.5482 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.325e-05/0.356, allocations: 9.828 kB / 0.5483 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.356, allocations: 1.156 kB / 0.5483 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.356, allocations: 0 / 0.5483 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3561, allocations: 0 / 0.5483 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.3562, allocations: 148.2 kB / 0.5484 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3562, allocations: 5.234 kB / 0.5484 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.3562, allocations: 0 / 0.5484 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.3562, allocations: 4 kB / 0.5484 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3562, allocations: 3.469 kB / 0.5484 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3562, allocations: 0 / 0.5484 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3562, allocations: 1.219 kB / 0.5484 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.3565, allocations: 282.4 kB / 0.5487 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.3566, allocations: 10.17 kB / 0.5487 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.3566, allocations: 6.188 kB / 0.5487 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.271e-05/0.3566, allocations: 7.203 kB / 0.5487 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.3566, allocations: 5.219 kB / 0.5487 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.3566, allocations: 6.781 kB / 0.5487 GB, free: 11.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.051e-05/0.3567, allocations: 93.17 kB / 0.5488 GB, free: 11.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3567, allocations: 1 kB / 0.5488 GB, free: 11.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.357, allocations: 31.19 kB / 0.5488 GB, free: 11.36 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.0008342/0.3578, allocations: 0.8175 MB / 0.5496 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003542/0.3582, allocations: 235.4 kB / 0.5499 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3582, allocations: 0 / 0.5499 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.3583, allocations: 158.7 kB / 0.55 GB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.3587, allocations: 18.66 kB / 0.55 GB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.3609, allocations: 1.776 MB / 0.5518 GB, free: 9.031 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.3613, allocations: 0.6994 MB / 0.5524 GB, free: 8.324 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.783e-05/0.3613, allocations: 5.312 kB / 0.5524 GB, free: 8.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.3614, allocations: 20.67 kB / 0.5525 GB, free: 8.301 MB / 398.1 MB Notification: Performance of SimCode: time 1.362e-06/0.3614, allocations: 0 / 0.5525 GB, free: 8.301 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.386, allocations: 2.765 MB / 0.5552 GB, free: 6.879 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.71, allocations: 6.094 kB / 0.5552 GB, free: 6.875 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.767257464001887]