Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.000863/0.000863, allocations: 83.69 kB / 20.67 MB, free: 3.891 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.001615/0.001615, allocations: 170 kB / 23.95 MB, free: 0.6172 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.9333/0.9333, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.2496/0.2496, allocations: 29.41 MB / 290.1 MB, free: 2.453 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.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.239e-05, allocations: 2.281 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003701/0.003723, allocations: 3.403 MB / 433.6 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.005482, allocations: 1.383 MB / 435 MB, free: 8.805 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.005712, allocations: 7.938 kB / 435 MB, free: 8.797 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007903/0.006503, allocations: 251 kB / 435.2 MB, free: 8.551 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007302/0.007233, allocations: 290.5 kB / 435.5 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.007598, allocations: 111.5 kB / 435.6 MB, free: 8.156 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.008069, allocations: 342.9 kB / 436 MB, free: 7.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003132/0.008382, allocations: 118 kB / 436.1 MB, free: 7.707 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003661/0.008748, allocations: 207.4 kB / 436.3 MB, free: 7.504 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.009, allocations: 151.5 kB / 436.4 MB, free: 7.355 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.009023, allocations: 16 kB / 436.5 MB, free: 7.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.009416, allocations: 263.1 kB / 436.7 MB, free: 7.082 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.009527, allocations: 123.6 kB / 436.8 MB, free: 6.961 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.128e-05/0.009599, allocations: 67.84 kB / 436.9 MB, free: 6.895 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003862/0.009985, allocations: 351 kB / 437.2 MB, free: 6.551 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.009991, allocations: 4 kB / 437.2 MB, free: 6.547 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.009993, allocations: 0 / 437.2 MB, free: 6.547 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.009998, allocations: 0 / 437.2 MB, free: 6.547 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.0005641/0.01056, allocations: 457 kB / 437.7 MB, free: 6.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.0106, allocations: 15.98 kB / 437.7 MB, free: 6.055 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.01065, allocations: 54.73 kB / 437.8 MB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007248/0.01138, allocations: 92.69 kB / 437.8 MB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.01169, allocations: 201.9 kB / 438 MB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.0117, allocations: 16.31 kB / 438.1 MB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.01174, allocations: 16.38 kB / 438.1 MB, free: 5.648 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.01213, allocations: 323.1 kB / 438.4 MB, free: 5.309 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.01215, allocations: 0 / 438.4 MB, free: 5.309 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.01217, allocations: 8 kB / 438.4 MB, free: 5.301 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/0.0122, allocations: 19.92 kB / 438.4 MB, free: 5.281 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.0125, allocations: 287.8 kB / 438.7 MB, free: 5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.01362, allocations: 1.197 MB / 439.9 MB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.0139, allocations: 165.1 kB / 440.1 MB, free: 3.527 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.808e-05/0.01396, allocations: 53.75 kB / 440.1 MB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.01398, allocations: 48 / 440.1 MB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.01401, allocations: 38.55 kB / 440.1 MB, free: 3.422 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.01401, allocations: 0 / 440.1 MB, free: 3.422 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004856/0.01449, allocations: 285.2 kB / 440.4 MB, free: 3.137 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.01454, allocations: 85.11 kB / 440.5 MB, free: 3.035 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.01467, allocations: 194.2 kB / 440.7 MB, free: 2.836 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.01469, allocations: 37.69 kB / 440.7 MB, free: 2.793 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.01477, allocations: 172 kB / 440.9 MB, free: 2.621 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.0148, allocations: 51.58 kB / 441 MB, free: 2.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.01485, allocations: 41.7 kB / 441 MB, free: 2.523 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.01493, allocations: 330.8 kB / 441.3 MB, free: 2.191 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.413e-05/0.01499, allocations: 43.97 kB / 441.4 MB, free: 2.148 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.405e-05/0.01508, allocations: 140.9 kB / 441.5 MB, free: 1.965 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.01525, allocations: 220.8 kB / 441.7 MB, free: 1.703 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01525, allocations: 4 kB / 441.7 MB, free: 1.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002118/0.01546, allocations: 229.1 kB / 441.9 MB, free: 1.469 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.01548, allocations: 14.89 kB / 442 MB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.01549, allocations: 8.062 kB / 442 MB, free: 1.449 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.0155, allocations: 8 kB / 442 MB, free: 1.441 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.01561, allocations: 43.92 kB / 442 MB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.01561, allocations: 8 kB / 442 MB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.475e-05/0.01567, allocations: 8.375 kB / 442 MB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.01569, allocations: 19.98 kB / 442.1 MB, free: 1.363 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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 9.222e-05/0.01578, allocations: 149.8 kB / 442.2 MB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.0158, allocations: 19.84 kB / 442.2 MB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.01599, allocations: 162.3 kB / 442.4 MB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01599, allocations: 0 / 442.4 MB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.01599, allocations: 4 kB / 442.4 MB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.016, allocations: 0 / 442.4 MB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/0.01654, allocations: 0.629 MB / 443 MB, free: 304 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.01655, allocations: 4 kB / 443 MB, free: 300 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.0166, allocations: 27.92 kB / 443 MB, free: 272 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.0166, allocations: 4 kB / 443 MB, free: 268 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.01662, allocations: 12 kB / 443.1 MB, free: 256 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.01662, allocations: 11.92 kB / 443.1 MB, free: 244 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.01662, allocations: 4.438 kB / 443.1 MB, free: 240 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1819/0.1985, allocations: 324.8 kB / 443.4 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.1985, allocations: 22.89 kB / 443.4 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.1986, allocations: 8.188 kB / 443.4 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1987, allocations: 9.031 kB / 443.4 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.1987, allocations: 19.34 kB / 443.4 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.1987, allocations: 12.31 kB / 443.5 MB, free: 54.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.916e-05/0.1988, allocations: 137.5 kB / 443.6 MB, free: 53.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1988, allocations: 0 / 443.6 MB, free: 53.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002612/0.1991, allocations: 45.5 kB / 443.6 MB, free: 53.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000323/0.1994, allocations: 0.865 MB / 444.5 MB, free: 53.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.1996, allocations: 144.2 kB / 444.6 MB, free: 53.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1996, allocations: 0 / 444.6 MB, free: 53.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.505e-05/0.1997, allocations: 62.25 kB / 444.7 MB, free: 53.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.2, allocations: 38.08 kB / 444.7 MB, free: 53.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.2014, allocations: 2.383 MB / 447.1 MB, free: 51.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.709e-05/0.2015, allocations: 150.5 kB / 447.3 MB, free: 51.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.712e-05/0.2016, allocations: 48.61 kB / 447.3 MB, free: 51.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.2017, allocations: 61.19 kB / 447.4 MB, free: 51.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.2017, allocations: 0 / 447.4 MB, free: 51.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.2187, allocations: 4.198 MB / 451.6 MB, free: 50.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.528/6.747, allocations: 7.656 kB / 451.6 MB, free: 50.34 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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: 8.776441105641425]