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.001183/0.001183, allocations: 100.7 kB / 16.5 MB, free: 6.641 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.001294/0.001294, allocations: 194.6 kB / 17.42 MB, free: 6.066 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.255/1.255, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1677/0.1677, allocations: 38.03 MB / 329.3 MB, free: 9.066 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 67.61 kB / 398.2 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08376/0.08488, allocations: 58.07 MB / 456.3 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004755/0.08966, allocations: 4.18 MB / 460.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.09193, allocations: 1.893 MB / 462.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.09208, allocations: 11.94 kB / 462.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008644/0.09295, allocations: 334.9 kB / 462.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006731/0.09364, allocations: 394.7 kB / 463.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.09391, allocations: 123.7 kB / 463.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006722/0.0946, allocations: 0.8418 MB / 464 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.09497, allocations: 211 kB / 464.2 MB, free: 420 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.09523, allocations: 175.2 kB / 464.4 MB, free: 244 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.09553, allocations: 251.2 kB / 464.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.09557, allocations: 16 kB / 464.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007327/0.09631, allocations: 0.5338 MB / 465.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.09647, allocations: 147.6 kB / 465.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.09662, allocations: 147.3 kB / 465.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005968/0.09723, allocations: 0.518 MB / 466 MB, free: 14.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.09724, allocations: 4 kB / 466 MB, free: 14.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.09725, allocations: 0 / 466 MB, free: 14.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.09727, allocations: 0 / 466 MB, free: 14.63 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.0007638/0.09803, allocations: 0.6035 MB / 466.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.09809, allocations: 8.031 kB / 466.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.261e-05/0.09815, allocations: 70.66 kB / 466.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.09924, allocations: 132.3 kB / 466.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.0996, allocations: 289.4 kB / 467.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.09963, allocations: 16.94 kB / 467.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.09968, allocations: 24.31 kB / 467.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000628/0.1003, allocations: 447.8 kB / 467.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1003, allocations: 0 / 467.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.1004, allocations: 15.98 kB / 467.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/0.1004, allocations: 24.48 kB / 467.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005933/0.101, allocations: 429.9 kB / 468 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.103, allocations: 1.714 MB / 469.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.1034, allocations: 294 kB / 470 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.1036, allocations: 137.7 kB / 470.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.1036, allocations: 7.984 kB / 470.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.1037, allocations: 30.94 kB / 470.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.943e-06/0.1037, allocations: 0 / 470.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001768/0.1054, allocations: 0.7994 MB / 471 MB, free: 9.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.1055, allocations: 81.11 kB / 471.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1057, allocations: 199 kB / 471.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1057, allocations: 33.7 kB / 471.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1059, allocations: 188 kB / 471.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.449e-05/0.1059, allocations: 74.84 kB / 471.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.106, allocations: 65.83 kB / 471.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1062, allocations: 334.8 kB / 472 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.1063, allocations: 108.5 kB / 472.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.1066, allocations: 201 kB / 472.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.107, allocations: 343.7 kB / 472.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.107, allocations: 0 / 472.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007211/0.1077, allocations: 436.7 kB / 473 MB, free: 7.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1077, allocations: 8 kB / 473 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1077, allocations: 0 / 473 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003711/0.1081, allocations: 85.2 kB / 473.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.1083, allocations: 63.89 kB / 473.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.1101, allocations: 1.784 MB / 475 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.1103, allocations: 15.98 kB / 475 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.1103, allocations: 19.98 kB / 475 MB, free: 5.023 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.0001764/0.1105, allocations: 173.7 kB / 475.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.1106, allocations: 31.7 kB / 475.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006935/0.1113, allocations: 380.9 kB / 475.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1113, allocations: 3.938 kB / 475.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1113, allocations: 7.938 kB / 475.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1113, allocations: 7.922 kB / 475.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.1127, allocations: 0.9176 MB / 476.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1127, allocations: 3.938 kB / 476.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.1128, allocations: 40.03 kB / 476.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002612/0.1131, allocations: 76.67 kB / 476.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.1132, allocations: 8 kB / 476.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.1147, allocations: 1.701 MB / 478.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1147, allocations: 0 / 478.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.1153, allocations: 473.2 kB / 478.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.1154, allocations: 96.83 kB / 478.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.1154, allocations: 8 kB / 478.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.1156, allocations: 11.98 kB / 478.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.1156, allocations: 23.97 kB / 478.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.1157, allocations: 4 kB / 478.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.1158, allocations: 147.2 kB / 479.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1158, allocations: 0 / 479.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004859/0.1163, allocations: 84 kB / 479.2 MB, free: 0.5742 MB / 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.0009475/0.1172, allocations: 0.9926 MB / 480.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007656/0.118, allocations: 430 kB / 480.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.118, allocations: 0 / 480.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004256/0.1185, allocations: 287.4 kB / 480.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.1189, allocations: 39.98 kB / 480.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/0.1227, allocations: 3.113 MB / 484 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.1232, allocations: 0.7987 MB / 484.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.1234, allocations: 53.95 kB / 484.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.1235, allocations: 87.39 kB / 484.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of SimCode: time 1.282e-06/0.1236, allocations: 0 / 484.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.1399, allocations: 5.348 MB / 490.3 MB, free: 5.293 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/0.1402, allocations: 226 kB / 490.5 MB, free: 5.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/1.909, allocations: 0 / 490.5 MB, free: 5.043 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","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches