Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.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.0008535/0.0008535, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007603/0.0007603, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8017/0.8017, allocations: 158.6 MB / 184.2 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.03844/0.03844, allocations: 10.65 MB / 247.1 MB, free: 4.711 MB / 234.7 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.TwoBusesResistiveTransmissionLineFault,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLineFault",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLineFault",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 368.1 MB, free: 6.375 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.167e-05, allocations: 2.281 kB / 368.1 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault): time 0.008656/0.008677, allocations: 12.1 MB / 380.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006918/0.0156, allocations: 5.53 MB / 385.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.01728, allocations: 39.81 kB / 385.8 MB, free: 4.633 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.01891, allocations: 0.7218 MB / 386.5 MB, free: 3.906 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005464/0.02437, allocations: 2.715 MB / 389.2 MB, free: 1.203 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00092/0.02529, allocations: 0.6555 MB / 389.9 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003916/0.02921, allocations: 4.588 MB / 394.5 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004231/0.02963, allocations: 172.8 kB / 394.6 MB, free: 11.76 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/0.03217, allocations: 2.069 MB / 396.7 MB, free: 9.684 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.03359, allocations: 1.161 MB / 397.9 MB, free: 8.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003343/0.03393, allocations: 160 kB / 398 MB, free: 8.363 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.0351, allocations: 0.6087 MB / 398.6 MB, free: 7.754 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.0353, allocations: 378.2 kB / 399 MB, free: 7.383 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009686/0.03627, allocations: 0.8803 MB / 399.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003084/0.03935, allocations: 3.338 MB / 403.2 MB, free: 3.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.03936, allocations: 0 / 403.2 MB, free: 3.156 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.03936, allocations: 0 / 403.2 MB, free: 3.156 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.555e-05/0.0394, allocations: 0 / 403.2 MB, free: 3.156 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.006027/0.04543, allocations: 3.311 MB / 406.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.04548, allocations: 8.031 kB / 406.5 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001885/0.04567, allocations: 224.3 kB / 406.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009221/0.04659, allocations: 351.4 kB / 407.1 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.04836, allocations: 1.351 MB / 408.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.34e-05/0.04843, allocations: 119.5 kB / 408.6 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.04855, allocations: 156.1 kB / 408.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.05045, allocations: 1.844 MB / 410.6 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.05048, allocations: 11.88 kB / 410.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.462e-05/0.05056, allocations: 72 kB / 410.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.05058, allocations: 40 kB / 410.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.05216, allocations: 1.544 MB / 412.2 MB, free: 9.824 MB / 346.7 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.007822/0.05998, allocations: 8.697 MB / 420.9 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.06162, allocations: 1.358 MB / 422.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005736/0.0622, allocations: 0.6044 MB / 422.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-05/0.06226, allocations: 13.31 kB / 422.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008914/0.06315, allocations: 0.7952 MB / 423.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=151): time 4.589e-06/0.06315, allocations: 7.938 kB / 423.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=151): time 0.004124/0.06728, allocations: 2.698 MB / 426.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.06738, allocations: 234.9 kB / 426.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.06888, allocations: 1.302 MB / 427.9 MB, free: 9.695 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.06894, allocations: 45.7 kB / 428 MB, free: 9.645 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005328/0.06947, allocations: 0.8127 MB / 428.8 MB, free: 8.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004469/0.06992, allocations: 0.5344 MB / 429.3 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/0.07022, allocations: 311.4 kB / 429.6 MB, free: 7.969 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.263e-05/0.07029, allocations: 305.1 kB / 429.9 MB, free: 7.668 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005509/0.07084, allocations: 0.5383 MB / 430.5 MB, free: 7.117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008714/0.07171, allocations: 1.019 MB / 431.5 MB, free: 5.875 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.07309, allocations: 1.696 MB / 433.2 MB, free: 3.953 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.0731, allocations: 4 kB / 433.2 MB, free: 3.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.002414/0.07551, allocations: 2.108 MB / 435.3 MB, free: 1.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.07556, allocations: 68.41 kB / 435.3 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.07558, allocations: 19.94 kB / 435.4 MB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007002/0.07628, allocations: 404.5 kB / 435.8 MB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008236/0.0771, allocations: 419.4 kB / 436.2 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1295/0.2066, allocations: 3.823 MB / 440 MB, free: 68.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.2081, allocations: 149.1 kB / 440.1 MB, free: 68.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.2082, allocations: 77.17 kB / 440.2 MB, free: 68.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 10 (transmissionLine.busFault.fault,$PRE.transmissionLine.busFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,transmissionLine.busFault.Y.im,$PRE.transmissionLine.busFault.Y.im,transmissionLine.busFault.Y.re,$PRE.transmissionLine.busFault.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 197 * Array equations: 0 * Algorithm blocks: 2 * 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 {(5,27,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006184/0.2088, allocations: 475 kB / 440.7 MB, free: 67.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003675/0.2092, allocations: 177.3 kB / 440.9 MB, free: 67.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/0.2111, allocations: 1.743 MB / 442.6 MB, free: 66.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.2111, allocations: 20.39 kB / 442.6 MB, free: 66.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.2112, allocations: 12.66 kB / 442.6 MB, free: 66.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.2112, allocations: 7.312 kB / 442.6 MB, free: 66.91 MB / 362.7 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.004016/0.2152, allocations: 3.328 MB / 446 MB, free: 65.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.2152, allocations: 0 / 446 MB, free: 65.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006615/0.2159, allocations: 276.2 kB / 446.2 MB, free: 65.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006607/0.2165, allocations: 349.1 kB / 446.6 MB, free: 65.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.027e-05/0.2166, allocations: 28.86 kB / 446.6 MB, free: 65.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003324/0.2199, allocations: 3.78 MB / 450.4 MB, free: 62.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2199, allocations: 4.688 kB / 450.4 MB, free: 62.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.2221, allocations: 1.796 MB / 452.2 MB, free: 61.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008351/0.2229, allocations: 363.7 kB / 452.5 MB, free: 61.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.2232, allocations: 29.34 kB / 452.6 MB, free: 61.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006951/0.2239, allocations: 51.62 kB / 452.6 MB, free: 61.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.2241, allocations: 97.61 kB / 452.7 MB, free: 61.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/0.2241, allocations: 40.28 kB / 452.8 MB, free: 61.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001024/0.2251, allocations: 0.8402 MB / 453.6 MB, free: 60.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2251, allocations: 1.781 kB / 453.6 MB, free: 60.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001689/0.2268, allocations: 0.6465 MB / 454.2 MB, free: 60.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,transmissionLine.busFault.Y.re,transmissionLine.busFault.Y.im,transmissionLine.busFault.fault) * Number of discrete states: 7 ($whenCondition4,transmissionLine.busFault.Y.im,transmissionLine.busFault.Y.re,$whenCondition3,transmissionLine.busFault.fault,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 2 * 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 {(5,27,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002417/0.2292, allocations: 2.473 MB / 456.7 MB, free: 59.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002264/0.2315, allocations: 1.822 MB / 458.5 MB, free: 58.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2315, allocations: 2.75 kB / 458.5 MB, free: 58.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.2326, allocations: 1.062 MB / 459.6 MB, free: 57.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.2337, allocations: 216.6 kB / 459.8 MB, free: 57.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/0.2479, allocations: 13.11 MB / 472.9 MB, free: 48.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.2484, allocations: 0.6651 MB / 473.6 MB, free: 47.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006306/0.249, allocations: 212.1 kB / 473.8 MB, free: 47.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005418/0.2495, allocations: 0.6143 MB / 474.4 MB, free: 46.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.453e-06/0.2495, allocations: 0 / 474.4 MB, free: 46.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0458/0.2953, allocations: 39.58 MB / 0.5019 GB, free: 7.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.293/7.588, allocations: 11.92 kB / 0.502 GB, free: 7.508 MB / 362.7 MB " [Timeout remaining time 652] (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLineFault_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLineFault.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.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: 9.315151538699865]