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.001395/0.001395, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001491/0.001491, allocations: 219 kB / 21.46 MB, free: 1.586 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.623/1.623, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.1887/0.1887, allocations: 38.49 MB / 349.4 MB, free: 2.582 MB / 270.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",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.002137/0.002137, allocations: 67.91 kB / 487.8 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1351, allocations: 62.43 MB / 0.5374 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.004146/0.1393, allocations: 2.071 MB / 0.5394 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008968/0.1402, allocations: 0.5533 MB / 0.5399 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/0.1402, allocations: 7.938 kB / 0.5399 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.1404, allocations: 15.92 kB / 0.54 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.72e-05/0.1405, allocations: 19.91 kB / 0.54 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.1408, allocations: 67.78 kB / 0.54 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.141, allocations: 55.77 kB / 0.5401 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.141, allocations: 7.984 kB / 0.5401 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.1411, allocations: 39.83 kB / 0.5401 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.1412, allocations: 35.84 kB / 0.5402 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.1412, allocations: 0 / 0.5402 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.1414, allocations: 91.8 kB / 0.5403 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.1414, allocations: 19.86 kB / 0.5403 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.1415, allocations: 11.88 kB / 0.5403 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.1417, allocations: 103.9 kB / 0.5404 GB, free: 4.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1417, allocations: 0 / 0.5404 GB, free: 4.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1417, allocations: 0 / 0.5404 GB, free: 4.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1417, allocations: 0 / 0.5404 GB, free: 4.398 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.0005709/0.1422, allocations: 384.9 kB / 0.5408 GB, free: 3.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1423, allocations: 16.03 kB / 0.5408 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.218e-05/0.1423, allocations: 192 / 0.5408 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.153e-05/0.1423, allocations: 34.75 kB / 0.5408 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.1424, allocations: 8.891 kB / 0.5408 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1426, allocations: 184.2 kB / 0.541 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.1426, allocations: 4.125 kB / 0.541 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.1426, allocations: 4 kB / 0.541 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.1427, allocations: 53.67 kB / 0.5411 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1427, allocations: 0 / 0.5411 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.1427, allocations: 4 kB / 0.5411 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1427, allocations: 0 / 0.5411 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.878e-05/0.1428, allocations: 20 kB / 0.5411 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.143, allocations: 161.7 kB / 0.5412 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.862e-05/0.143, allocations: 38.45 kB / 0.5413 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.1431, allocations: 24.88 kB / 0.5413 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-06/0.1431, allocations: 3.938 kB / 0.5413 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.1431, allocations: 38.56 kB / 0.5413 GB, free: 3.262 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1431, allocations: 0 / 0.5413 GB, free: 3.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002639/0.1434, allocations: 143.3 kB / 0.5415 GB, free: 3.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.1434, allocations: 85.09 kB / 0.5415 GB, free: 3.008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1435, allocations: 113.8 kB / 0.5417 GB, free: 2.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1436, allocations: 34.08 kB / 0.5417 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.1437, allocations: 80.14 kB / 0.5418 GB, free: 2.766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.1437, allocations: 31.73 kB / 0.5418 GB, free: 2.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.1438, allocations: 21.75 kB / 0.5418 GB, free: 2.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1439, allocations: 322.8 kB / 0.5421 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.858e-05/0.144, allocations: 24 kB / 0.5421 GB, free: 2.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/0.1441, allocations: 19.98 kB / 0.5422 GB, free: 2.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.1442, allocations: 132.3 kB / 0.5423 GB, free: 2.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1442, allocations: 0 / 0.5423 GB, free: 2.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002586/0.1444, allocations: 115.4 kB / 0.5424 GB, free: 2.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/0.1445, allocations: 45.62 kB / 0.5424 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1445, allocations: 4 kB / 0.5424 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1445, allocations: 4.062 kB / 0.5425 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.1445, allocations: 0 / 0.5425 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1445, allocations: 0 / 0.5425 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.496e-05/0.1446, allocations: 3.953 kB / 0.5425 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.1446, allocations: 4 kB / 0.5425 GB, free: 2.004 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.0001998/0.1448, allocations: 163.4 kB / 0.5426 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.1448, allocations: 8 kB / 0.5426 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.221e-05/0.1448, allocations: 4.375 kB / 0.5426 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1448, allocations: 0 / 0.5426 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1448, allocations: 7.984 kB / 0.5426 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1448, allocations: 0 / 0.5426 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.145, allocations: 169.5 kB / 0.5428 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.145, allocations: 4 kB / 0.5428 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.145, allocations: 0 / 0.5428 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.145, allocations: 0 / 0.5428 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.145, allocations: 3.984 kB / 0.5428 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.145, allocations: 4 kB / 0.5428 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.145, allocations: 3.938 kB / 0.5428 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.1452, allocations: 218.9 kB / 0.543 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.1453, allocations: 81.05 kB / 0.5431 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.1453, allocations: 4 kB / 0.5431 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.589e-05/0.1453, allocations: 0 / 0.5431 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.1453, allocations: 4 kB / 0.5431 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1454, allocations: 7.984 kB / 0.5431 GB, free: 1.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.118e-05/0.1454, allocations: 87.28 kB / 0.5432 GB, free: 1.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1454, allocations: 288 / 0.5432 GB, free: 1.141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.1457, allocations: 27.98 kB / 0.5432 GB, free: 1.113 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.0006522/0.1463, allocations: 0.7662 MB / 0.544 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.1466, allocations: 171.3 kB / 0.5441 GB, free: 136 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1466, allocations: 0 / 0.5441 GB, free: 136 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.1467, allocations: 123.4 kB / 0.5443 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.1469, allocations: 14.78 kB / 0.5443 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.1487, allocations: 1.546 MB / 0.5458 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.1491, allocations: 0.6924 MB / 0.5465 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.321e-05/0.1492, allocations: 0 / 0.5465 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.1493, allocations: 19.44 kB / 0.5465 GB, free: 13.62 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1493, allocations: 0 / 0.5465 GB, free: 13.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.1682, allocations: 2.228 MB / 0.5486 GB, free: 11.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.589/8.757, allocations: 14.16 kB / 0.5487 GB, free: 11.52 MB / 414.1 MB " [Timeout remaining time 651] (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: 11.840112534002401]