Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.0013/0.0013, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001458/0.001458, allocations: 201.2 kB / 24.52 MB, free: 4.156 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.552/1.552, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.1991/0.1991, allocations: 38.52 MB / 353.2 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_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",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.002048/0.002048, allocations: 63.91 kB / 493.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3519, allocations: 62.48 MB / 0.5428 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003468/0.3554, allocations: 2.143 MB / 0.5449 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008769/0.3562, allocations: 0.5615 MB / 0.5454 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.3563, allocations: 0 / 0.5454 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.3564, allocations: 10.23 kB / 0.5454 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.412e-05/0.3565, allocations: 31.58 kB / 0.5455 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.3569, allocations: 83.97 kB / 0.5455 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.3571, allocations: 69.95 kB / 0.5456 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.3571, allocations: 5.375 kB / 0.5456 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.3573, allocations: 32.34 kB / 0.5456 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.432e-05/0.3574, allocations: 33.64 kB / 0.5457 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.3574, allocations: 1.375 kB / 0.5457 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.3576, allocations: 123.9 kB / 0.5458 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.245e-05/0.3577, allocations: 30.19 kB / 0.5458 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.3578, allocations: 28.75 kB / 0.5459 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.358, allocations: 137.7 kB / 0.546 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.358, allocations: 1.281 kB / 0.546 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.358, allocations: 0 / 0.546 GB, free: 13.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.358, allocations: 4 kB / 0.546 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005189/0.3585, allocations: 367.1 kB / 0.5463 GB, free: 13.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3586, allocations: 13.73 kB / 0.5464 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.607e-05/0.3586, allocations: 1.344 kB / 0.5464 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.3586, allocations: 35.16 kB / 0.5464 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.3587, allocations: 21.27 kB / 0.5464 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.3589, allocations: 134 kB / 0.5465 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3589, allocations: 4.125 kB / 0.5465 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.3589, allocations: 1.094 kB / 0.5465 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.3591, allocations: 95.94 kB / 0.5466 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3591, allocations: 0 / 0.5466 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3591, allocations: 1.219 kB / 0.5466 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3591, allocations: 0 / 0.5466 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.3592, allocations: 59.75 kB / 0.5467 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.3594, allocations: 150.2 kB / 0.5468 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.3595, allocations: 82.22 kB / 0.5469 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.12e-05/0.3596, allocations: 67.3 kB / 0.547 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.3596, allocations: 1.156 kB / 0.547 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.3596, allocations: 30.56 kB / 0.547 GB, free: 13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.092e-06/0.3596, allocations: 1.125 kB / 0.547 GB, free: 13 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.000481/0.3601, allocations: 301.7 kB / 0.5473 GB, free: 12.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.456e-05/0.3602, allocations: 100.6 kB / 0.5474 GB, free: 12.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.3603, allocations: 129.6 kB / 0.5475 GB, free: 12.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3603, allocations: 25.7 kB / 0.5475 GB, free: 12.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.3604, allocations: 99.3 kB / 0.5476 GB, free: 12.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.824e-05/0.3605, allocations: 76.95 kB / 0.5477 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.3605, allocations: 27.33 kB / 0.5477 GB, free: 12.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3607, allocations: 324.3 kB / 0.548 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-05/0.3608, allocations: 58.42 kB / 0.5481 GB, free: 12.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.815e-05/0.3608, allocations: 60.67 kB / 0.5482 GB, free: 12.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.3611, allocations: 253.3 kB / 0.5484 GB, free: 11.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3611, allocations: 0 / 0.5484 GB, free: 11.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002748/0.3614, allocations: 225.4 kB / 0.5486 GB, free: 11.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.439e-05/0.3615, allocations: 64.75 kB / 0.5487 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3615, allocations: 0 / 0.5487 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3615, allocations: 1.125 kB / 0.5487 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.3615, allocations: 0 / 0.5487 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3615, allocations: 3.938 kB / 0.5487 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.3616, allocations: 14.45 kB / 0.5487 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.3616, allocations: 8.344 kB / 0.5487 GB, free: 11.76 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.0001985/0.3618, allocations: 196.9 kB / 0.5489 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.3618, allocations: 20.62 kB / 0.5489 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.3618, allocations: 11.61 kB / 0.5489 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3618, allocations: 1.281 kB / 0.5489 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3618, allocations: 0 / 0.5489 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3618, allocations: 0 / 0.5489 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.362, allocations: 172.8 kB / 0.5491 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.362, allocations: 0 / 0.5491 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.362, allocations: 0 / 0.5491 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.362, allocations: 5.406 kB / 0.5491 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.362, allocations: 8.078 kB / 0.5491 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.362, allocations: 3.938 kB / 0.5491 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3621, allocations: 5.344 kB / 0.5491 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006484/0.3627, allocations: 0.5004 MB / 0.5496 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.3627, allocations: 15.91 kB / 0.5496 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.3628, allocations: 7.891 kB / 0.5496 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.732e-05/0.3628, allocations: 8.469 kB / 0.5496 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.3628, allocations: 5.406 kB / 0.5496 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.3628, allocations: 4.812 kB / 0.5496 GB, free: 11.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.243e-05/0.3629, allocations: 105.5 kB / 0.5497 GB, free: 11.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3629, allocations: 0 / 0.5497 GB, free: 11.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.3632, allocations: 45.19 kB / 0.5498 GB, free: 11.01 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.001132/0.3643, allocations: 1.059 MB / 0.5508 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006593/0.365, allocations: 458.6 kB / 0.5513 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.365, allocations: 4.094 kB / 0.5513 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004163/0.3654, allocations: 316.1 kB / 0.5516 GB, free: 9.887 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.3657, allocations: 16.25 kB / 0.5516 GB, free: 9.883 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/0.3689, allocations: 2.488 MB / 0.554 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.3694, allocations: 0.7175 MB / 0.5547 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.411e-05/0.3694, allocations: 2.281 kB / 0.5547 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.3695, allocations: 32.64 kB / 0.5547 GB, free: 7.461 MB / 398.1 MB Notification: Performance of SimCode: time 1.333e-06/0.3695, allocations: 0 / 0.5547 GB, free: 7.461 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.3954, allocations: 3.86 MB / 0.5585 GB, free: 4.059 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.83, allocations: 11.92 kB / 0.5585 GB, free: 4.047 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.825885432015639]