Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.0008529/0.0008529, allocations: 79.7 kB / 20.67 MB, free: 3.879 MB / 18.57 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.001061/0.001061, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.9213/0.9213, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2473/0.2473, allocations: 29.4 MB / 290.1 MB, free: 2.43 MB / 266.7 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.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.984e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003135/0.003155, allocations: 3.411 MB / 433.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.004425, allocations: 1.379 MB / 435 MB, free: 8.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.00453, allocations: 15.88 kB / 435 MB, free: 8.754 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005503/0.005081, allocations: 243 kB / 435.2 MB, free: 8.516 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004063/0.005487, allocations: 294.5 kB / 435.5 MB, free: 8.227 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.005667, allocations: 111.5 kB / 435.6 MB, free: 8.117 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.005939, allocations: 342.9 kB / 436 MB, free: 7.781 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.006157, allocations: 114.1 kB / 436.1 MB, free: 7.672 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.006406, allocations: 199.3 kB / 436.3 MB, free: 7.477 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.00658, allocations: 151.5 kB / 436.4 MB, free: 7.328 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.0066, allocations: 15.94 kB / 436.4 MB, free: 7.312 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.006864, allocations: 271.1 kB / 436.7 MB, free: 7.047 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.898e-05/0.006953, allocations: 111.7 kB / 436.8 MB, free: 6.938 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.477e-05/0.007018, allocations: 71.84 kB / 436.9 MB, free: 6.867 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005841/0.007602, allocations: 363 kB / 437.2 MB, free: 6.512 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.007606, allocations: 0 / 437.2 MB, free: 6.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007607, allocations: 0 / 437.2 MB, free: 6.512 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.007611, allocations: 0 / 437.2 MB, free: 6.512 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004674/0.008079, allocations: 452.9 kB / 437.7 MB, free: 6.039 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.008118, allocations: 11.98 kB / 437.7 MB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.008159, allocations: 54.73 kB / 437.8 MB, free: 5.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004785/0.008637, allocations: 92.69 kB / 437.8 MB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.008865, allocations: 206 kB / 438 MB, free: 5.648 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.008881, allocations: 20.36 kB / 438.1 MB, free: 5.629 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.00891, allocations: 16.38 kB / 438.1 MB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.009229, allocations: 315.1 kB / 438.4 MB, free: 5.281 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.009242, allocations: 0 / 438.4 MB, free: 5.281 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.009259, allocations: 7.984 kB / 438.4 MB, free: 5.273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/0.009288, allocations: 23.98 kB / 438.4 MB, free: 5.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.009561, allocations: 283.8 kB / 438.7 MB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.0106, allocations: 1.213 MB / 439.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.01095, allocations: 201.1 kB / 440.1 MB, free: 3.449 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.276e-05/0.01101, allocations: 57.75 kB / 440.2 MB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.01103, allocations: 4 kB / 440.2 MB, free: 3.383 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.01105, allocations: 34.56 kB / 440.2 MB, free: 3.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.01105, allocations: 0 / 440.2 MB, free: 3.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006296/0.01168, allocations: 349.7 kB / 440.5 MB, free: 2.988 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.01173, allocations: 85.05 kB / 440.6 MB, free: 2.887 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.01184, allocations: 198.2 kB / 440.8 MB, free: 2.684 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.01186, allocations: 29.7 kB / 440.8 MB, free: 2.648 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.01192, allocations: 164.3 kB / 441 MB, free: 2.484 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.01195, allocations: 59.56 kB / 441.1 MB, free: 2.426 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.012, allocations: 45.64 kB / 441.1 MB, free: 2.375 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.242e-05/0.01207, allocations: 326.8 kB / 441.4 MB, free: 2.047 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.676e-05/0.01213, allocations: 55.95 kB / 441.5 MB, free: 1.992 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.73e-05/0.01223, allocations: 144.9 kB / 441.6 MB, free: 1.805 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.01241, allocations: 237.2 kB / 441.9 MB, free: 1.527 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01241, allocations: 0 / 441.9 MB, free: 1.527 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002718/0.01268, allocations: 269.9 kB / 442.1 MB, free: 1.254 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.0127, allocations: 4 kB / 442.1 MB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.0127, allocations: 12 kB / 442.1 MB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001648/0.01287, allocations: 44.83 kB / 442.2 MB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.743e-05/0.01296, allocations: 44.3 kB / 442.2 MB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.173/0.1859, allocations: 1.329 MB / 443.6 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.1861, allocations: 7.062 kB / 443.6 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.1861, allocations: 9.938 kB / 443.6 MB, free: 53.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.1862, allocations: 154.9 kB / 443.7 MB, free: 53.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.1862, allocations: 18.81 kB / 443.7 MB, free: 53.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.1865, allocations: 198.1 kB / 443.9 MB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1865, allocations: 0 / 443.9 MB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1865, allocations: 3 kB / 443.9 MB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1865, allocations: 0 / 443.9 MB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/0.187, allocations: 0.5171 MB / 444.5 MB, free: 52.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.187, allocations: 0 / 444.5 MB, free: 52.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.1871, allocations: 24.38 kB / 444.5 MB, free: 52.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.925e-05/0.1872, allocations: 33.27 kB / 444.5 MB, free: 52.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1872, allocations: 7.156 kB / 444.5 MB, free: 52.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000467/0.1877, allocations: 1.318 MB / 445.8 MB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1877, allocations: 8.125 kB / 445.8 MB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.1879, allocations: 298.9 kB / 446.1 MB, free: 51.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.1879, allocations: 13.36 kB / 446.1 MB, free: 51.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1879, allocations: 6.219 kB / 446.2 MB, free: 51.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.076e-05/0.188, allocations: 6.516 kB / 446.2 MB, free: 51.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.188, allocations: 14.91 kB / 446.2 MB, free: 51.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.188, allocations: 6.75 kB / 446.2 MB, free: 51.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.545e-05/0.1881, allocations: 141.9 kB / 446.3 MB, free: 51.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1881, allocations: 3.625 kB / 446.3 MB, free: 51.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002386/0.1883, allocations: 50.03 kB / 446.4 MB, free: 51.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002972/0.1886, allocations: 0.8273 MB / 447.2 MB, free: 50.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.1889, allocations: 259 kB / 447.4 MB, free: 50.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1889, allocations: 3.219 kB / 447.5 MB, free: 50.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.38e-05/0.189, allocations: 172.7 kB / 447.6 MB, free: 50.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.1893, allocations: 31.47 kB / 447.7 MB, free: 50.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.1908, allocations: 2.365 MB / 450 MB, free: 48.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.033e-05/0.1909, allocations: 150.3 kB / 450.2 MB, free: 48.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.829e-05/0.1909, allocations: 41.94 kB / 450.2 MB, free: 48.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.31e-05/0.191, allocations: 56.8 kB / 450.3 MB, free: 48.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.191, allocations: 0 / 450.3 MB, free: 48.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.2112, allocations: 4.608 MB / 454.9 MB, free: 47.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.182/7.393, allocations: 11.08 kB / 454.9 MB, free: 47.46 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! Error: Could not read variable load.p[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable load.p[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! Error: Could not read variable load.p[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable load.p[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! Error: Could not read variable load.v[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable load.v[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! Error: Could not read variable load.v[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable load.v[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.456516932696104]