Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.001838/0.001838, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001451/0.001451, allocations: 211.7 kB / 23.73 MB, free: 4.16 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.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1937/0.1937, allocations: 38.56 MB / 352.5 MB, free: 12.31 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_matrixEqCirc0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",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.002153/0.002153, allocations: 67.89 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4201, allocations: 62.47 MB / 0.542 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.005099/0.4252, allocations: 2.139 MB / 0.544 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.4264, allocations: 0.5182 MB / 0.5445 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.4265, allocations: 0 / 0.5445 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.4267, allocations: 11.2 kB / 0.5446 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.4268, allocations: 30.69 kB / 0.5446 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.4272, allocations: 72.5 kB / 0.5447 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.4274, allocations: 73.92 kB / 0.5447 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.271e-05/0.4275, allocations: 2.75 kB / 0.5447 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.4277, allocations: 32.41 kB / 0.5448 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.529e-05/0.4277, allocations: 34.95 kB / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.4278, allocations: 0 / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002998/0.4281, allocations: 104.6 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.4281, allocations: 9.438 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.4282, allocations: 13.38 kB / 0.5449 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.4284, allocations: 93.33 kB / 0.545 GB, free: 13.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4284, allocations: 0 / 0.545 GB, free: 13.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4284, allocations: 5.312 kB / 0.545 GB, free: 13.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.4284, allocations: 0 / 0.545 GB, free: 13.87 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005326/0.429, allocations: 317.2 kB / 0.5453 GB, free: 13.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.429, allocations: 13.83 kB / 0.5453 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.233e-05/0.4291, allocations: 32.06 kB / 0.5454 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.4291, allocations: 15.56 kB / 0.5454 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.4293, allocations: 125.4 kB / 0.5455 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.4293, allocations: 1.656 kB / 0.5455 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.4293, allocations: 3.938 kB / 0.5455 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.4295, allocations: 90.66 kB / 0.5456 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.4296, allocations: 4 kB / 0.5456 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.4296, allocations: 1.688 kB / 0.5456 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4296, allocations: 0 / 0.5456 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.4297, allocations: 65.78 kB / 0.5456 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.4299, allocations: 132 kB / 0.5458 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.43, allocations: 81.72 kB / 0.5459 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.4301, allocations: 67.17 kB / 0.5459 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.4301, allocations: 0 / 0.5459 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.4302, allocations: 41.03 kB / 0.546 GB, free: 12.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.4302, allocations: 0 / 0.546 GB, free: 12.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004628/0.4306, allocations: 235.3 kB / 0.5462 GB, free: 12.72 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.4307, allocations: 87.36 kB / 0.5463 GB, free: 12.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.4309, allocations: 118.8 kB / 0.5464 GB, free: 12.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.4309, allocations: 25.7 kB / 0.5464 GB, free: 12.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.431, allocations: 86.58 kB / 0.5465 GB, free: 12.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.733e-05/0.431, allocations: 27.42 kB / 0.5465 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.4311, allocations: 19.72 kB / 0.5465 GB, free: 12.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.4313, allocations: 321.1 kB / 0.5468 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.039e-05/0.4314, allocations: 57.91 kB / 0.5469 GB, free: 11.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.873e-05/0.4314, allocations: 58.81 kB / 0.5469 GB, free: 11.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.4316, allocations: 139.2 kB / 0.5471 GB, free: 11.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.4316, allocations: 8.906 kB / 0.5471 GB, free: 11.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002791/0.4319, allocations: 174.9 kB / 0.5473 GB, free: 11.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.668e-05/0.432, allocations: 45.83 kB / 0.5473 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.432, allocations: 5.391 kB / 0.5473 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.432, allocations: 0 / 0.5473 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.432, allocations: 0 / 0.5473 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.432, allocations: 5.25 kB / 0.5473 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.897e-05/0.4321, allocations: 9.266 kB / 0.5473 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.4321, allocations: 2.625 kB / 0.5473 GB, free: 11.66 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.0001729/0.4322, allocations: 158.2 kB / 0.5475 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.4323, allocations: 16.69 kB / 0.5475 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/0.4323, allocations: 5.75 kB / 0.5475 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.4323, allocations: 0 / 0.5475 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4323, allocations: 1.656 kB / 0.5475 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4323, allocations: 0 / 0.5475 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.4325, allocations: 133.4 kB / 0.5476 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4325, allocations: 0 / 0.5476 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.4325, allocations: 0 / 0.5476 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.4325, allocations: 1.125 kB / 0.5476 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.4325, allocations: 6.172 kB / 0.5476 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4325, allocations: 0 / 0.5476 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.4325, allocations: 5.156 kB / 0.5476 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.4329, allocations: 255.2 kB / 0.5479 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.499e-05/0.4329, allocations: 6.312 kB / 0.5479 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.4329, allocations: 2.5 kB / 0.5479 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.399e-05/0.433, allocations: 1.562 kB / 0.5479 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.433, allocations: 1.219 kB / 0.5479 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.433, allocations: 2.531 kB / 0.5479 GB, free: 11.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.451e-05/0.4331, allocations: 91.27 kB / 0.548 GB, free: 11.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4331, allocations: 1.094 kB / 0.548 GB, free: 11.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003655/0.4334, allocations: 26.88 kB / 0.548 GB, free: 11.04 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.0009172/0.4344, allocations: 0.8021 MB / 0.5488 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004085/0.4348, allocations: 244.1 kB / 0.549 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4348, allocations: 0 / 0.549 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.435, allocations: 152.5 kB / 0.5492 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.4354, allocations: 16.69 kB / 0.5492 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.4374, allocations: 1.755 MB / 0.5509 GB, free: 8.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.063e-05/0.4374, allocations: 83.91 kB / 0.551 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.683e-05/0.4375, allocations: 1.281 kB / 0.551 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.4375, allocations: 11.44 kB / 0.551 GB, free: 8.422 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4375, allocations: 1.531 kB / 0.551 GB, free: 8.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0317/0.4692, allocations: 2.73 MB / 0.5537 GB, free: 6.785 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.68, allocations: 7.859 kB / 0.5537 GB, free: 6.781 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.592496633995324]