Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 219.2 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 207.7 MB / 233.9 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06922/0.06922, allocations: 14.39 MB / 300.5 MB, free: 7.246 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 71.91 kB / 421.4 MB, free: 39.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08477/0.08697, allocations: 52.9 MB / 474.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.008045/0.09502, allocations: 6.461 MB / 480.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005383/0.1004, allocations: 3.277 MB / 484 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005337/0.1009, allocations: 19.88 kB / 484.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.102, allocations: 385.8 kB / 484.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003748/0.1057, allocations: 1.551 MB / 486 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.107, allocations: 0.5604 MB / 486.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002739/0.1097, allocations: 1.84 MB / 488.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.11, allocations: 70.42 kB / 488.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.111, allocations: 0.6382 MB / 489.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009283/0.112, allocations: 0.642 MB / 489.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.1121, allocations: 60 kB / 489.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009834/0.1131, allocations: 423.7 kB / 490.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.1132, allocations: 159.2 kB / 490.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005334/0.1137, allocations: 461.8 kB / 490.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002118/0.1159, allocations: 1.526 MB / 492.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1159, allocations: 0 / 492.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1159, allocations: 0 / 492.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.1159, allocations: 0 / 492.3 MB, free: 15.98 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005616/0.1215, allocations: 1.685 MB / 494 MB, free: 14.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1215, allocations: 12.03 kB / 494 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.879e-05/0.1216, allocations: 22.19 kB / 494.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.1217, allocations: 126.7 kB / 494.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000635/0.1223, allocations: 152.2 kB / 494.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.1236, allocations: 0.6283 MB / 495 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.924e-05/0.1237, allocations: 61.94 kB / 495 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.1238, allocations: 72 kB / 495.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.1251, allocations: 0.7615 MB / 495.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.1251, allocations: 3.938 kB / 495.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.977e-05/0.1252, allocations: 36 kB / 495.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.1252, allocations: 16 kB / 495.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.1264, allocations: 0.7065 MB / 496.6 MB, free: 11.59 MB / 366.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.005549/0.132, allocations: 2.927 MB / 499.5 MB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.1337, allocations: 0.7388 MB / 0.4886 GB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004397/0.1341, allocations: 266.8 kB / 0.4888 GB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.275e-05/0.1342, allocations: 8.656 kB / 0.4888 GB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.1342, allocations: 43.2 kB / 0.4889 GB, free: 7.508 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 3.656e-06/0.1342, allocations: 0 / 0.4889 GB, free: 7.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.003052/0.1373, allocations: 1.154 MB / 0.49 GB, free: 6.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.1373, allocations: 60.06 kB / 0.49 GB, free: 6.273 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007767/0.1381, allocations: 0.5579 MB / 0.4906 GB, free: 5.707 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.1381, allocations: 37.7 kB / 0.4906 GB, free: 5.664 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.1384, allocations: 372.7 kB / 0.491 GB, free: 5.293 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.1387, allocations: 281.5 kB / 0.4913 GB, free: 5.016 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.1389, allocations: 134.6 kB / 0.4914 GB, free: 4.879 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.1391, allocations: 374.8 kB / 0.4917 GB, free: 4.504 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.1395, allocations: 217.9 kB / 0.4919 GB, free: 4.289 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/0.14, allocations: 336.3 kB / 0.4923 GB, free: 3.926 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009174/0.1409, allocations: 0.582 MB / 0.4928 GB, free: 3.316 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.1409, allocations: 4 kB / 0.4928 GB, free: 3.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001632/0.1425, allocations: 0.8567 MB / 0.4937 GB, free: 2.445 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.1425, allocations: 8 kB / 0.4937 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.1425, allocations: 3.938 kB / 0.4937 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006384/0.1432, allocations: 188.9 kB / 0.4939 GB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008363/0.144, allocations: 199.7 kB / 0.4941 GB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003543/0.1476, allocations: 2.393 MB / 0.4964 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009382/0.1485, allocations: 55.77 kB / 0.4964 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.1486, allocations: 20 kB / 0.4965 GB, free: 15.47 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (83): * Single equations (assignments): 82 * 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 {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004698/0.149, allocations: 226.3 kB / 0.4967 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.1492, allocations: 83.47 kB / 0.4968 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.1509, allocations: 0.7906 MB / 0.4975 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.1509, allocations: 12 kB / 0.4975 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.1509, allocations: 8 kB / 0.4976 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.1509, allocations: 7.922 kB / 0.4976 GB, free: 14.32 MB / 382.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 postOpt removeSimpleEquations (simulation): time 0.002831/0.1538, allocations: 1.535 MB / 0.4991 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.1538, allocations: 4 kB / 0.4991 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000698/0.1545, allocations: 163.8 kB / 0.4992 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005494/0.155, allocations: 176 kB / 0.4994 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/0.1551, allocations: 15.94 kB / 0.4994 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003485/0.1585, allocations: 2.374 MB / 0.5017 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1585, allocations: 0 / 0.5017 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.1601, allocations: 0.8591 MB / 0.5026 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004323/0.1606, allocations: 147.4 kB / 0.5027 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.1607, allocations: 16 kB / 0.5027 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/0.1612, allocations: 27.92 kB / 0.5027 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.1613, allocations: 52.5 kB / 0.5028 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.1614, allocations: 19.98 kB / 0.5028 GB, free: 8.762 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005549/0.1619, allocations: 386.8 kB / 0.5032 GB, free: 8.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1619, allocations: 0 / 0.5032 GB, free: 8.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009995/0.1629, allocations: 303.8 kB / 0.5035 GB, free: 8.09 MB / 382.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 (63): * Single equations (assignments): 62 * 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 {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002066/0.165, allocations: 1.477 MB / 0.5049 GB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.1666, allocations: 0.7836 MB / 0.5057 GB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1666, allocations: 0 / 0.5057 GB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008539/0.1674, allocations: 0.4942 MB / 0.5062 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007836/0.1682, allocations: 105.7 kB / 0.5063 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009091/0.1773, allocations: 5.811 MB / 0.5119 GB, free: 15.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.1777, allocations: 352.7 kB / 0.5123 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003963/0.1781, allocations: 93.3 kB / 0.5124 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/0.1785, allocations: 271.3 kB / 0.5126 GB, free: 14.48 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1785, allocations: 0 / 0.5126 GB, free: 14.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2334/0.412, allocations: 18.44 MB / 0.5306 GB, free: 61.9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.73, allocations: 5.188 kB / 0.5306 GB, free: 61.9 MB / 398.1 MB " [Timeout remaining time 646] (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.451454350026324]