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.001415/0.001415, allocations: 104.1 kB / 16.62 MB, free: 6.809 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.001478/0.001478, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.284/1.284, allocations: 222.9 MB / 241.2 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1698/0.1698, allocations: 38.03 MB / 329.4 MB, free: 9.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 72.39 kB / 398.4 MB, free: 34.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08852/0.08983, allocations: 58.07 MB / 456.5 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.006019/0.0959, allocations: 4.192 MB / 460.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002934/0.09887, allocations: 1.862 MB / 462.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/0.09916, allocations: 11.94 kB / 462.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.1002, allocations: 338.9 kB / 462.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009443/0.1012, allocations: 386.8 kB / 463.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.1016, allocations: 127.7 kB / 463.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006916/0.1023, allocations: 494.6 kB / 463.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004364/0.1028, allocations: 231 kB / 464.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003696/0.1032, allocations: 211.1 kB / 464.3 MB, free: 476 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003655/0.1035, allocations: 251.2 kB / 464.5 MB, free: 224 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.1036, allocations: 24 kB / 464.5 MB, free: 200 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007057/0.1043, allocations: 446.9 kB / 465 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.1045, allocations: 151.6 kB / 465.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.1047, allocations: 151.3 kB / 465.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007275/0.1054, allocations: 0.5258 MB / 465.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1054, allocations: 0 / 465.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1054, allocations: 0 / 465.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1055, allocations: 0 / 465.8 MB, free: 14.93 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.0008058/0.1063, allocations: 0.5964 MB / 466.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1063, allocations: 15.89 kB / 466.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.358e-05/0.1064, allocations: 70.64 kB / 466.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.1076, allocations: 136.4 kB / 466.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.1079, allocations: 277.4 kB / 466.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.108, allocations: 28.8 kB / 466.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/0.108, allocations: 24.38 kB / 466.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006162/0.1087, allocations: 447.8 kB / 467.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1087, allocations: 0 / 467.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.1087, allocations: 12 kB / 467.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.688e-05/0.1088, allocations: 28.47 kB / 467.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005844/0.1094, allocations: 425.9 kB / 467.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/0.1114, allocations: 1.714 MB / 469.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.1118, allocations: 298 kB / 469.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.112, allocations: 133.7 kB / 470 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.112, allocations: 7.969 kB / 470 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.1121, allocations: 38.94 kB / 470 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.1121, allocations: 0 / 470 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001671/0.1137, allocations: 0.795 MB / 470.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.1138, allocations: 81.11 kB / 470.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.114, allocations: 207 kB / 471.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.114, allocations: 33.7 kB / 471.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1141, allocations: 180 kB / 471.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.109e-05/0.1142, allocations: 82.78 kB / 471.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.42e-05/0.1143, allocations: 61.88 kB / 471.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1144, allocations: 330.8 kB / 471.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.1146, allocations: 108.5 kB / 471.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.1148, allocations: 209 kB / 472.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.1152, allocations: 335.8 kB / 472.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1152, allocations: 4 kB / 472.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006963/0.1159, allocations: 432.8 kB / 472.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1159, allocations: 4 kB / 472.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1159, allocations: 4 kB / 472.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003474/0.1163, allocations: 89.2 kB / 472.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.1165, allocations: 55.89 kB / 473 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.1184, allocations: 2.002 MB / 475 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.1186, allocations: 20.05 kB / 475 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.1186, allocations: 12 kB / 475 MB, free: 5.109 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.0001559/0.1187, allocations: 177.7 kB / 475.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.1188, allocations: 23.72 kB / 475.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006654/0.1195, allocations: 388.8 kB / 475.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1195, allocations: 4 kB / 475.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1195, allocations: 0 / 475.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.1195, allocations: 3.984 kB / 475.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.1208, allocations: 0.9164 MB / 476.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1209, allocations: 11.88 kB / 476.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.121, allocations: 39.97 kB / 476.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002437/0.1213, allocations: 68.8 kB / 476.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.1213, allocations: 8 kB / 476.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.123, allocations: 1.916 MB / 478.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.123, allocations: 0 / 478.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/0.1237, allocations: 458.5 kB / 479 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.1237, allocations: 100.8 kB / 479.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.1238, allocations: 7.984 kB / 479.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.1239, allocations: 8 kB / 479.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.124, allocations: 27.91 kB / 479.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.124, allocations: 7.938 kB / 479.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1242, allocations: 151.2 kB / 479.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1242, allocations: 0 / 479.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005229/0.1247, allocations: 84 kB / 479.4 MB, free: 464 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.0009058/0.1256, allocations: 0.9926 MB / 480.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007571/0.1264, allocations: 450.2 kB / 480.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1264, allocations: 0 / 480.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.1268, allocations: 279.5 kB / 481.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.1272, allocations: 46.03 kB / 481.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/0.1309, allocations: 3.119 MB / 484.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.1314, allocations: 0.8063 MB / 485.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.1316, allocations: 49.91 kB / 485.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.1317, allocations: 83.41 kB / 485.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1317, allocations: 4 kB / 485.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.152, allocations: 5.526 MB / 490.7 MB, free: 4.992 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/0.1522, allocations: 230.2 kB / 490.9 MB, free: 4.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/1.952, allocations: 7.312 kB / 490.9 MB, free: 4.734 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