Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.001137/0.001137, allocations: 107.3 kB / 16.92 MB, free: 5.77 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.001309/0.001309, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.289/1.289, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.17/0.17, allocations: 38.03 MB / 329.7 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 65.33 kB / 398.9 MB, free: 33.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09276/0.09416, allocations: 58.07 MB / 457 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004713/0.0989, allocations: 3.948 MB / 460.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.1012, allocations: 1.819 MB / 462.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.1014, allocations: 4 kB / 462.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009038/0.1023, allocations: 364.7 kB / 463.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000782/0.1031, allocations: 402.5 kB / 463.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.1034, allocations: 151.6 kB / 463.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.1039, allocations: 494.6 kB / 464.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003093/0.1042, allocations: 211 kB / 464.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.1045, allocations: 215.1 kB / 464.5 MB, free: 384 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.1048, allocations: 231.2 kB / 464.8 MB, free: 152 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.1049, allocations: 24 kB / 464.8 MB, free: 128 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006132/0.1055, allocations: 439 kB / 465.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.1056, allocations: 159.6 kB / 465.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.1058, allocations: 155.3 kB / 465.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005934/0.1064, allocations: 494.6 kB / 466 MB, free: 14.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1064, allocations: 4 kB / 466 MB, free: 14.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1064, allocations: 0 / 466 MB, free: 14.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1064, allocations: 0 / 466 MB, free: 14.9 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007213/0.1071, allocations: 0.5965 MB / 466.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1072, allocations: 11.89 kB / 466.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.72e-05/0.1072, allocations: 62.73 kB / 466.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.1083, allocations: 132.4 kB / 466.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.1087, allocations: 295.7 kB / 467.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.1087, allocations: 16.94 kB / 467.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/0.1087, allocations: 24.38 kB / 467.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005555/0.1093, allocations: 439.7 kB / 467.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1093, allocations: 3.938 kB / 467.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.1094, allocations: 16 kB / 467.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-05/0.1094, allocations: 24.55 kB / 467.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005494/0.11, allocations: 429.8 kB / 468 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.1118, allocations: 1.717 MB / 469.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.1122, allocations: 290.1 kB / 470 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.1123, allocations: 133.7 kB / 470.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.1124, allocations: 8 kB / 470.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.1124, allocations: 31 kB / 470.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.1124, allocations: 0 / 470.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001592/0.114, allocations: 0.7934 MB / 471 MB, free: 9.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.1141, allocations: 81.11 kB / 471.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.1143, allocations: 207 kB / 471.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1143, allocations: 37.7 kB / 471.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.1144, allocations: 184 kB / 471.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.1145, allocations: 82.83 kB / 471.6 MB, free: 8.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-05/0.1146, allocations: 57.89 kB / 471.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1147, allocations: 330.8 kB / 472 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.1149, allocations: 112.5 kB / 472.1 MB, free: 8.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.1151, allocations: 208.9 kB / 472.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.1155, allocations: 341.2 kB / 472.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1155, allocations: 4 kB / 472.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000709/0.1162, allocations: 432.9 kB / 473 MB, free: 7.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1163, allocations: 6.5 kB / 473 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1163, allocations: 4 kB / 473 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003504/0.1166, allocations: 88.72 kB / 473.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.1169, allocations: 59.91 kB / 473.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.1193, allocations: 1.99 MB / 475.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.1195, allocations: 15.98 kB / 475.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.1196, allocations: 12.19 kB / 475.2 MB, free: 5.102 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.1198, allocations: 181.7 kB / 475.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.1198, allocations: 27.7 kB / 475.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007052/0.1206, allocations: 384.8 kB / 475.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.1206, allocations: 7.984 kB / 475.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1206, allocations: 0 / 475.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1206, allocations: 0 / 475.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.1221, allocations: 0.9319 MB / 476.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1221, allocations: 4.062 kB / 476.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.1222, allocations: 35.97 kB / 476.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000249/0.1225, allocations: 68.8 kB / 476.8 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.1225, allocations: 4 kB / 476.8 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.1244, allocations: 1.908 MB / 478.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1244, allocations: 0 / 478.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006975/0.1251, allocations: 462.4 kB / 479.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.519e-05/0.1252, allocations: 100.8 kB / 479.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.1252, allocations: 16.06 kB / 479.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.1254, allocations: 11.98 kB / 479.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.1254, allocations: 19.92 kB / 479.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.1255, allocations: 8 kB / 479.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.1256, allocations: 152.6 kB / 479.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1256, allocations: 0 / 479.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000477/0.1261, allocations: 84 kB / 479.6 MB, free: 452 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * 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 {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001011/0.1271, allocations: 0.9887 MB / 480.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009237/0.128, allocations: 462.7 kB / 481 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.128, allocations: 0 / 481 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.1285, allocations: 278.5 kB / 481.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.129, allocations: 39.16 kB / 481.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004627/0.1336, allocations: 3.006 MB / 484.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.1342, allocations: 0.8102 MB / 485.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.1344, allocations: 57.94 kB / 485.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.1345, allocations: 83.41 kB / 485.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1346, allocations: 0 / 485.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.1661, allocations: 5.578 MB / 490.9 MB, free: 4.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.127/9.293, allocations: 10.5 kB / 490.9 MB, free: 4.977 MB / 366.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches