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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007245/0.0007245, allocations: 89.38 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000874/0.0008741, allocations: 174 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1623/0.1623, allocations: 38.1 MB / 330.8 MB, free: 8.543 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002696/0.0002697, allocations: 9.562 kB / 400.8 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07825/0.07854, allocations: 59.17 MB / 460 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003071/0.08164, allocations: 3.31 MB / 463.3 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.08323, allocations: 1.489 MB / 464.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.08333, allocations: 11.94 kB / 464.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.08346, allocations: 27.78 kB / 464.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004659/0.08393, allocations: 259.2 kB / 465.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.08413, allocations: 99.77 kB / 465.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004545/0.0846, allocations: 0.5728 MB / 465.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005095/0.08512, allocations: 326.9 kB / 466.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.08529, allocations: 119.4 kB / 466.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.08548, allocations: 155.5 kB / 466.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.08551, allocations: 8 kB / 466.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004166/0.08593, allocations: 375.1 kB / 466.7 MB, free: 196 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.382e-05/0.08603, allocations: 91.75 kB / 466.8 MB, free: 104 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.08614, allocations: 125.2 kB / 466.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.08649, allocations: 358.8 kB / 467.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.08651, allocations: 0 / 467.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.08651, allocations: 0 / 467.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.08652, allocations: 0 / 467.3 MB, free: 15.62 MB / 350.1 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.0005034/0.08703, allocations: 478.8 kB / 467.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.08707, allocations: 12.03 kB / 467.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.295e-05/0.08713, allocations: 54.73 kB / 467.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007317/0.08786, allocations: 96.48 kB / 467.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.08811, allocations: 256.4 kB / 468.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.08813, allocations: 20.08 kB / 468.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.08818, allocations: 16 kB / 468.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.08859, allocations: 322.3 kB / 468.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.08861, allocations: 3.938 kB / 468.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.08864, allocations: 4 kB / 468.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.08867, allocations: 19.98 kB / 468.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003762/0.08905, allocations: 291.7 kB / 468.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.09038, allocations: 1.293 MB / 470.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.09073, allocations: 242.3 kB / 470.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.568e-05/0.09081, allocations: 49.77 kB / 470.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.09084, allocations: 15.91 kB / 470.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.09087, allocations: 34.56 kB / 470.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.09088, allocations: 4 kB / 470.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000496/0.09138, allocations: 276.3 kB / 470.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.09143, allocations: 85.09 kB / 470.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.09158, allocations: 194.2 kB / 471 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.0916, allocations: 25.83 kB / 471 MB, free: 11.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.09169, allocations: 167.8 kB / 471.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.09173, allocations: 47.3 kB / 471.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.09176, allocations: 21.72 kB / 471.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.363e-05/0.09185, allocations: 330.8 kB / 471.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.11e-05/0.09193, allocations: 47.97 kB / 471.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.09205, allocations: 145.6 kB / 471.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.09226, allocations: 221.2 kB / 472 MB, free: 10.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.09227, allocations: 3.938 kB / 472 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002814/0.09256, allocations: 229.4 kB / 472.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.09258, allocations: 8 kB / 472.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.09259, allocations: 7.984 kB / 472.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.09261, allocations: 4.062 kB / 472.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.09276, allocations: 47.92 kB / 472.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.09277, allocations: 7.938 kB / 472.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.292e-05/0.09287, allocations: 8 kB / 472.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.09289, allocations: 8 kB / 472.3 MB, free: 10.17 MB / 350.1 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 0.0001109/0.09301, allocations: 161.6 kB / 472.4 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.09305, allocations: 23.88 kB / 472.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.09328, allocations: 154.2 kB / 472.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.09329, allocations: 4 kB / 472.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.0933, allocations: 0 / 472.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.09331, allocations: 0 / 472.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007037/0.09402, allocations: 0.6689 MB / 473.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.09404, allocations: 8.375 kB / 473.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/0.09413, allocations: 31.92 kB / 473.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.09415, allocations: 4 kB / 473.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.09416, allocations: 8 kB / 473.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.09417, allocations: 11.94 kB / 473.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.09418, allocations: 4 kB / 473.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.09444, allocations: 331.3 kB / 473.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.0945, allocations: 100.9 kB / 473.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.09454, allocations: 11.92 kB / 473.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.09466, allocations: 4 kB / 473.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.09469, allocations: 27.86 kB / 473.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.09471, allocations: 8 kB / 473.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.493e-05/0.09481, allocations: 148.3 kB / 474 MB, free: 8.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09481, allocations: 0 / 474 MB, free: 8.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003147/0.09513, allocations: 40 kB / 474 MB, free: 8.254 MB / 350.1 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.000442/0.09558, allocations: 0.8723 MB / 474.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.09579, allocations: 143.2 kB / 475 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.0958, allocations: 0 / 475 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.974e-05/0.09589, allocations: 67.78 kB / 475.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.09632, allocations: 41.22 kB / 475.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.0983, allocations: 2.496 MB / 477.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.09856, allocations: 0.7596 MB / 478.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.09868, allocations: 41.5 kB / 478.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.881e-05/0.09877, allocations: 59.42 kB / 478.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.09877, allocations: 0 / 478.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3915/0.4902, allocations: 3.175 MB / 481.7 MB, free: 400 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003527/0.4906, allocations: 206.4 kB / 481.9 MB, free: 140 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.317, allocations: 4.062 kB / 481.9 MB, free: 136 kB / 350.1 MB (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 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches