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.001207/0.001207, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001031, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.946/1.946, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06861/0.06861, allocations: 14.17 MB / 283.9 MB, free: 7.086 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.001679/0.001679, allocations: 68.12 kB / 345.2 MB, free: 19.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1421, allocations: 50.12 MB / 395.3 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.006909/0.1491, allocations: 4.181 MB / 399.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004093/0.1532, allocations: 2.454 MB / 401.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006694/0.1539, allocations: 11.94 kB / 401.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000945/0.1549, allocations: 238.7 kB / 402.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003369/0.1583, allocations: 1.112 MB / 403.3 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000705/0.159, allocations: 254.5 kB / 403.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001897/0.1609, allocations: 0.9184 MB / 404.5 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.1612, allocations: 61.06 kB / 404.5 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008457/0.1621, allocations: 322.8 kB / 404.8 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008328/0.1629, allocations: 322.7 kB / 405.1 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.988e-05/0.1631, allocations: 36 kB / 405.2 MB, free: 7.199 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008865/0.1639, allocations: 271.8 kB / 405.4 MB, free: 6.934 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.775e-05/0.1641, allocations: 75.64 kB / 405.5 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003436/0.1644, allocations: 274.6 kB / 405.8 MB, free: 6.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009958/0.1654, allocations: 0.752 MB / 406.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1654, allocations: 0 / 406.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1654, allocations: 0 / 406.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.1655, allocations: 0 / 406.5 MB, free: 5.836 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.002649/0.1681, allocations: 0.9706 MB / 407.5 MB, free: 4.816 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.1682, allocations: 12.03 kB / 407.5 MB, free: 4.805 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.1683, allocations: 70.72 kB / 407.6 MB, free: 4.727 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003254/0.1686, allocations: 72.34 kB / 407.7 MB, free: 4.656 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007475/0.1694, allocations: 432.5 kB / 408.1 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.1694, allocations: 25.12 kB / 408.1 MB, free: 4.164 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.1695, allocations: 32 kB / 408.1 MB, free: 4.133 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005527/0.1701, allocations: 354.3 kB / 408.5 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1701, allocations: 3.938 kB / 408.5 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.1701, allocations: 15.98 kB / 408.5 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.1701, allocations: 8 kB / 408.5 MB, free: 3.746 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000501/0.1706, allocations: 314.4 kB / 408.8 MB, free: 3.438 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.003095/0.1737, allocations: 2.323 MB / 411.1 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.1748, allocations: 0.541 MB / 411.7 MB, free: 240 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.175, allocations: 125.4 kB / 411.8 MB, free: 112 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.175, allocations: 4 kB / 411.8 MB, free: 108 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.1751, allocations: 42.31 kB / 411.9 MB, free: 56 kB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.1751, allocations: 4 kB / 411.9 MB, free: 52 kB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.002293/0.1774, allocations: 0.7442 MB / 412.6 MB, free: 15.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.1775, allocations: 56.5 kB / 412.7 MB, free: 15.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/0.1779, allocations: 324.6 kB / 413 MB, free: 14.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.178, allocations: 33.7 kB / 413 MB, free: 14.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.1781, allocations: 200.2 kB / 413.2 MB, free: 14.65 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.1783, allocations: 126.2 kB / 413.3 MB, free: 14.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.1784, allocations: 58.03 kB / 413.4 MB, free: 14.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.1786, allocations: 342.8 kB / 413.7 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.1788, allocations: 88.62 kB / 413.8 MB, free: 14.03 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.179, allocations: 138.5 kB / 413.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.1793, allocations: 234 kB / 414.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/0.1794, allocations: 7.875 kB / 414.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001008/0.1804, allocations: 441.6 kB / 414.6 MB, free: 13.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/0.1804, allocations: 12.03 kB / 414.6 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.1804, allocations: 0 / 414.6 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007538/0.1812, allocations: 168.5 kB / 414.8 MB, free: 13.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.1815, allocations: 71.95 kB / 414.9 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/0.1851, allocations: 2.258 MB / 417.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.1855, allocations: 23.75 kB / 417.1 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.1855, allocations: 12 kB / 417.1 MB, free: 10.54 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.0002388/0.1857, allocations: 158.8 kB / 417.3 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.561e-05/0.1858, allocations: 35.62 kB / 417.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.187, allocations: 463.1 kB / 417.8 MB, free: 9.871 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/0.187, allocations: 8 kB / 417.8 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.187, allocations: 0 / 417.8 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.187, allocations: 7.984 kB / 417.8 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.1893, allocations: 1.126 MB / 418.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1893, allocations: 0 / 418.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.1896, allocations: 63.97 kB / 419 MB, free: 8.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007083/0.1903, allocations: 160.6 kB / 419.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.1904, allocations: 4 kB / 419.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003532/0.1939, allocations: 2.199 MB / 421.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1939, allocations: 4 kB / 421.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.1951, allocations: 0.5263 MB / 421.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/0.1953, allocations: 152.5 kB / 422 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-05/0.1955, allocations: 11.94 kB / 422 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.1958, allocations: 8 kB / 422.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.694e-05/0.1959, allocations: 23.97 kB / 422.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.1959, allocations: 16.09 kB / 422.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003733/0.1963, allocations: 239 kB / 422.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1963, allocations: 0 / 422.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008402/0.1972, allocations: 167.8 kB / 422.5 MB, free: 4.902 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.001541/0.1987, allocations: 1.111 MB / 423.6 MB, free: 3.758 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.001106/0.1999, allocations: 485.9 kB / 424.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1999, allocations: 0 / 424.1 MB, free: 3.27 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.0006715/0.2006, allocations: 366.4 kB / 424.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.2012, allocations: 71.81 kB / 424.5 MB, free: 2.832 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.2342/0.4353, allocations: 3.486 MB / 428 MB, free: 36.61 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.4358, allocations: 0.8079 MB / 428.8 MB, free: 35.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000307/0.4361, allocations: 46.91 kB / 428.8 MB, free: 35.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.4363, allocations: 125.4 kB / 429 MB, free: 35.9 MB / 318.1 MB Notification: Performance of SimCode: time 2.545e-06/0.4363, allocations: 0 / 429 MB, free: 35.9 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05588/0.4922, allocations: 10.73 MB / 439.7 MB, free: 33.19 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.94, allocations: 5.469 kB / 439.7 MB, free: 33.19 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches