Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",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.001389/0.001389, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001533/0.001533, allocations: 191.3 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05985/0.05985, allocations: 14.15 MB / 283.6 MB, free: 7.25 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001459, allocations: 79.83 kB / 344.7 MB, free: 19.62 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1261, allocations: 50.13 MB / 394.8 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.006101/0.1322, allocations: 4.32 MB / 399.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003946/0.1362, allocations: 2.439 MB / 401.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.1366, allocations: 7.938 kB / 401.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007726/0.1374, allocations: 219.1 kB / 401.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.1399, allocations: 1.038 MB / 402.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.1404, allocations: 215.4 kB / 403 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.1417, allocations: 0.988 MB / 404 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.1419, allocations: 65.03 kB / 404.1 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000372/0.1423, allocations: 294.7 kB / 404.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.1426, allocations: 270.9 kB / 404.6 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.1427, allocations: 31.94 kB / 404.7 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006666/0.1433, allocations: 259.8 kB / 404.9 MB, free: 7.301 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.1434, allocations: 67.64 kB / 405 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.1437, allocations: 258.7 kB / 405.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000887/0.1446, allocations: 0.713 MB / 406 MB, free: 6.266 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1446, allocations: 0 / 406 MB, free: 6.266 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1446, allocations: 0 / 406 MB, free: 6.266 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1446, allocations: 0 / 406 MB, free: 6.266 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.002292/0.1469, allocations: 0.9432 MB / 406.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.147, allocations: 12.02 kB / 406.9 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.752e-05/0.1471, allocations: 70.72 kB / 407 MB, free: 5.184 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003034/0.1474, allocations: 72.36 kB / 407 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006527/0.148, allocations: 420.5 kB / 407.5 MB, free: 4.656 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.1481, allocations: 25.12 kB / 407.5 MB, free: 4.633 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.81e-05/0.1481, allocations: 36 kB / 407.5 MB, free: 4.598 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/0.1487, allocations: 350.3 kB / 407.9 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1487, allocations: 0 / 407.9 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.1487, allocations: 16 kB / 407.9 MB, free: 4.223 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.1488, allocations: 8 kB / 407.9 MB, free: 4.215 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005105/0.1493, allocations: 306.5 kB / 408.2 MB, free: 3.914 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.1517, allocations: 2.144 MB / 410.3 MB, free: 1.477 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.1528, allocations: 0.5421 MB / 410.9 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.1531, allocations: 129.4 kB / 411 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.713e-05/0.1531, allocations: 4 kB / 411 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.1532, allocations: 42.31 kB / 411 MB, free: 0.707 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.733e-06/0.1532, allocations: 0 / 411 MB, free: 0.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.002292/0.1555, allocations: 0.7481 MB / 411.8 MB, free: 15.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.1555, allocations: 59.34 kB / 411.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.1559, allocations: 296.5 kB / 412.1 MB, free: 15.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.1559, allocations: 37.7 kB / 412.2 MB, free: 15.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.156, allocations: 192.3 kB / 412.4 MB, free: 15.33 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.1562, allocations: 134.1 kB / 412.5 MB, free: 15.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-05/0.1563, allocations: 58.03 kB / 412.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1564, allocations: 346.8 kB / 412.9 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.1566, allocations: 88.62 kB / 413 MB, free: 14.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.1567, allocations: 122.5 kB / 413.1 MB, free: 14.58 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.1571, allocations: 234 kB / 413.3 MB, free: 14.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1571, allocations: 3.938 kB / 413.3 MB, free: 14.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009496/0.1581, allocations: 449.5 kB / 413.8 MB, free: 13.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1581, allocations: 4 kB / 413.8 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1581, allocations: 4.031 kB / 413.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007468/0.1589, allocations: 168.6 kB / 413.9 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.1591, allocations: 67.91 kB / 414 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003058/0.1622, allocations: 2.229 MB / 416.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.1625, allocations: 19.75 kB / 416.3 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.1626, allocations: 15.98 kB / 416.3 MB, free: 11.25 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002264/0.1628, allocations: 162.9 kB / 416.4 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.079e-05/0.1629, allocations: 39.56 kB / 416.5 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.1639, allocations: 475 kB / 416.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1639, allocations: 4 kB / 416.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1639, allocations: 0 / 416.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1639, allocations: 0 / 416.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.1656, allocations: 1.048 MB / 418 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1656, allocations: 0 / 418 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.1659, allocations: 71.91 kB / 418.1 MB, free: 9.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006496/0.1665, allocations: 156.6 kB / 418.2 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.1665, allocations: 4 kB / 418.2 MB, free: 9.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/0.1693, allocations: 2.187 MB / 420.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1694, allocations: 4 kB / 420.4 MB, free: 6.867 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.1704, allocations: 0.5225 MB / 420.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.1706, allocations: 132.7 kB / 421.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.1706, allocations: 11.92 kB / 421.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.1709, allocations: 23.84 kB / 421.1 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.1709, allocations: 23.97 kB / 421.1 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.171, allocations: 12 kB / 421.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002416/0.1712, allocations: 219.1 kB / 421.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1712, allocations: 0 / 421.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005748/0.1718, allocations: 139.9 kB / 421.5 MB, free: 5.754 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00155/0.1734, allocations: 1.127 MB / 422.6 MB, free: 4.594 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.001189/0.1746, allocations: 493.9 kB / 423.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1746, allocations: 0 / 423.1 MB, free: 4.098 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created simulation system equations: time 0.0006545/0.1752, allocations: 354.5 kB / 423.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.1757, allocations: 71.22 kB / 423.5 MB, free: 3.676 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005147/0.1809, allocations: 3.474 MB / 427 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1778/0.3587, allocations: 0.8046 MB / 427.8 MB, free: 37.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002593/0.359, allocations: 44.98 kB / 427.8 MB, free: 37.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.3592, allocations: 120.5 kB / 427.9 MB, free: 37.45 MB / 318.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3592, allocations: 0 / 427.9 MB, free: 37.45 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/0.4611, allocations: 9.62 MB / 437.6 MB, free: 35.32 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/0.4613, allocations: 239.9 kB / 437.8 MB, free: 35.05 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/2.449, allocations: 1.188 kB / 437.8 MB, free: 35.05 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches