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.001681/0.001681, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.001854/0.001854, allocations: 195 kB / 18 MB, free: 5.105 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.344/1.344, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1808/0.1808, allocations: 38.03 MB / 329.9 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 67.89 kB / 457.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3298, allocations: 58.05 MB / 0.5036 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004452/0.3343, allocations: 3.945 MB / 0.5075 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.3365, allocations: 1.825 MB / 0.5092 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.3367, allocations: 11.31 kB / 0.5093 GB, free: 3.402 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009987/0.3377, allocations: 365.9 kB / 0.5096 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000903/0.3386, allocations: 413 kB / 0.51 GB, free: 2.969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.339, allocations: 140.5 kB / 0.5101 GB, free: 2.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005124/0.3395, allocations: 498.9 kB / 0.5106 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.3399, allocations: 206.7 kB / 0.5108 GB, free: 2.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.3402, allocations: 220.5 kB / 0.511 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.3405, allocations: 225.5 kB / 0.5112 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.3405, allocations: 20.66 kB / 0.5113 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006427/0.3412, allocations: 451.8 kB / 0.5117 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.3414, allocations: 153.3 kB / 0.5118 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.3416, allocations: 147 kB / 0.512 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007185/0.3423, allocations: 0.4889 MB / 0.5124 GB, free: 1.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.3423, allocations: 1.5 kB / 0.5124 GB, free: 1.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3423, allocations: 4 kB / 0.5125 GB, free: 1.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.3423, allocations: 0 / 0.5125 GB, free: 1.949 MB / 382.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.0008927/0.3432, allocations: 0.5973 MB / 0.513 GB, free: 1.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.3433, allocations: 13.23 kB / 0.513 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.11e-05/0.3433, allocations: 64 kB / 0.5131 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.3446, allocations: 132.8 kB / 0.5132 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.345, allocations: 306.5 kB / 0.5135 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.345, allocations: 20.19 kB / 0.5135 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.345, allocations: 28.95 kB / 0.5136 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/0.3457, allocations: 435.7 kB / 0.514 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3457, allocations: 9.281 kB / 0.514 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.3457, allocations: 16.06 kB / 0.514 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.897e-05/0.3458, allocations: 24.67 kB / 0.514 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/0.3464, allocations: 425.5 kB / 0.5144 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.3484, allocations: 1.704 MB / 0.5161 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.3488, allocations: 293.8 kB / 0.5164 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.3491, allocations: 134.2 kB / 0.5165 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.3491, allocations: 3.469 kB / 0.5165 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.3491, allocations: 37.39 kB / 0.5166 GB, free: 15.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.3491, allocations: 0 / 0.5166 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001943/0.3511, allocations: 0.7849 MB / 0.5173 GB, free: 14.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.3511, allocations: 83.7 kB / 0.5174 GB, free: 14.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.3514, allocations: 213.9 kB / 0.5176 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.3514, allocations: 29.7 kB / 0.5176 GB, free: 14.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3515, allocations: 192.4 kB / 0.5178 GB, free: 14.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.564e-05/0.3516, allocations: 76.14 kB / 0.5179 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.59e-05/0.3517, allocations: 57.03 kB / 0.5179 GB, free: 14.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3518, allocations: 331 kB / 0.5183 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.3519, allocations: 111.5 kB / 0.5184 GB, free: 13.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.3522, allocations: 208.4 kB / 0.5186 GB, free: 13.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004048/0.3526, allocations: 337.9 kB / 0.5189 GB, free: 13.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3526, allocations: 1.062 kB / 0.5189 GB, free: 13.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007529/0.3534, allocations: 438.5 kB / 0.5193 GB, free: 13.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3534, allocations: 6.562 kB / 0.5193 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.3534, allocations: 7.484 kB / 0.5193 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003946/0.3538, allocations: 90.22 kB / 0.5194 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.354, allocations: 55.59 kB / 0.5195 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.356, allocations: 1.995 MB / 0.5214 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.3562, allocations: 18.53 kB / 0.5214 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.3562, allocations: 11.5 kB / 0.5214 GB, free: 11.56 MB / 398.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.0001824/0.3564, allocations: 180.9 kB / 0.5216 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.3564, allocations: 21.47 kB / 0.5216 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007263/0.3572, allocations: 383.6 kB / 0.522 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3572, allocations: 2.562 kB / 0.522 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3572, allocations: 1.219 kB / 0.522 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3572, allocations: 3.125 kB / 0.522 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.3587, allocations: 0.9141 MB / 0.5229 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.3587, allocations: 5 kB / 0.5229 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.3588, allocations: 38.83 kB / 0.5229 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002558/0.3591, allocations: 73.41 kB / 0.523 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.3591, allocations: 10.98 kB / 0.523 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.3608, allocations: 1.902 MB / 0.5249 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3608, allocations: 5.438 kB / 0.5249 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000641/0.3615, allocations: 455 kB / 0.5253 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.3616, allocations: 105 kB / 0.5254 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.3616, allocations: 7.406 kB / 0.5254 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.3618, allocations: 10.8 kB / 0.5254 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.3619, allocations: 23.64 kB / 0.5255 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.3619, allocations: 10.86 kB / 0.5255 GB, free: 8.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.362, allocations: 149.4 kB / 0.5256 GB, free: 8.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.362, allocations: 0 / 0.5256 GB, free: 8.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005123/0.3626, allocations: 82.47 kB / 0.5257 GB, free: 8.418 MB / 398.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.0008896/0.3635, allocations: 1.003 MB / 0.5267 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000702/0.3642, allocations: 427.6 kB / 0.5271 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3642, allocations: 1.812 kB / 0.5271 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000415/0.3646, allocations: 287.5 kB / 0.5273 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.365, allocations: 44.03 kB / 0.5274 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/0.3688, allocations: 3.022 MB / 0.5303 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.3692, allocations: 0.809 MB / 0.5311 GB, free: 4.418 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.3694, allocations: 54.41 kB / 0.5312 GB, free: 4.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.3695, allocations: 87.02 kB / 0.5313 GB, free: 4.34 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3695, allocations: 0 / 0.5313 GB, free: 4.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.3936, allocations: 5.779 MB / 0.5369 GB, free: 2.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.461/9.855, allocations: 5.469 kB / 0.5369 GB, free: 2.156 MB / 398.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