Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.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.0007377/0.0007377, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007547/0.0007547, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.846/0.846, 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.03584/0.03584, allocations: 10.64 MB / 247.1 MB, free: 4.715 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.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 368.1 MB, free: 6.383 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.905e-05, allocations: 2.281 kB / 368.1 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.004728/0.004747, allocations: 6.484 MB / 374.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003801/0.008548, allocations: 3.265 MB / 377.9 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004312/0.008979, allocations: 23.88 kB / 377.9 MB, free: 12.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007973/0.009776, allocations: 389.5 kB / 378.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.01196, allocations: 1.585 MB / 379.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.01252, allocations: 0.5534 MB / 380.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.01412, allocations: 1.988 MB / 382.4 MB, free: 8.051 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.01431, allocations: 70.47 kB / 382.4 MB, free: 7.973 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.01537, allocations: 0.9118 MB / 383.4 MB, free: 7.059 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005148/0.01588, allocations: 0.518 MB / 383.9 MB, free: 6.539 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.373e-05/0.01595, allocations: 60 kB / 383.9 MB, free: 6.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006524/0.01661, allocations: 415.4 kB / 384.3 MB, free: 6.074 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.601e-05/0.01669, allocations: 159.2 kB / 384.5 MB, free: 5.918 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002964/0.01699, allocations: 406.8 kB / 384.9 MB, free: 5.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.0182, allocations: 1.507 MB / 386.4 MB, free: 4.008 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.0182, allocations: 0 / 386.4 MB, free: 4.008 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.0182, allocations: 0 / 386.4 MB, free: 4.008 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.01822, allocations: 0 / 386.4 MB, free: 4.008 MB / 314.7 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.002724/0.02094, allocations: 1.685 MB / 388.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.02098, allocations: 12.03 kB / 388.1 MB, free: 2.277 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.245e-05/0.02108, allocations: 122.7 kB / 388.2 MB, free: 2.148 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.0214, allocations: 156.2 kB / 388.4 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008074/0.02221, allocations: 0.6237 MB / 389 MB, free: 1.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.02224, allocations: 58.38 kB / 389.1 MB, free: 1.285 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.0223, allocations: 72.38 kB / 389.1 MB, free: 1.215 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007139/0.02301, allocations: 0.7655 MB / 389.9 MB, free: 420 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.02303, allocations: 0 / 389.9 MB, free: 420 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.02307, allocations: 35.98 kB / 389.9 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.02308, allocations: 16 kB / 389.9 MB, free: 368 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/0.02379, allocations: 0.6987 MB / 390.6 MB, free: 15.66 MB / 330.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.002972/0.02676, allocations: 2.927 MB / 393.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009441/0.02771, allocations: 0.7372 MB / 394.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.02798, allocations: 270.7 kB / 394.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/0.02802, allocations: 12.64 kB / 394.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.02805, allocations: 43.22 kB / 394.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.795e-06/0.02805, allocations: 0 / 394.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.001671/0.02972, allocations: 1.162 MB / 395.8 MB, free: 10.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.02975, allocations: 60.06 kB / 395.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004571/0.03021, allocations: 0.5664 MB / 396.4 MB, free: 9.754 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.03024, allocations: 37.7 kB / 396.4 MB, free: 9.711 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.03041, allocations: 368.7 kB / 396.8 MB, free: 9.344 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.03056, allocations: 281.5 kB / 397.1 MB, free: 9.066 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.03068, allocations: 130.6 kB / 397.2 MB, free: 8.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.03079, allocations: 374.8 kB / 397.6 MB, free: 8.555 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.03102, allocations: 217.9 kB / 397.8 MB, free: 8.344 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.0313, allocations: 336.3 kB / 398.1 MB, free: 7.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005534/0.03185, allocations: 0.5897 MB / 398.7 MB, free: 7.355 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.03186, allocations: 4 kB / 398.7 MB, free: 7.352 MB / 330.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008939/0.03275, allocations: 0.8528 MB / 399.6 MB, free: 6.492 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.03277, allocations: 11.98 kB / 399.6 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.03278, allocations: 0 / 399.6 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003645/0.03314, allocations: 179.8 kB / 399.7 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.03354, allocations: 199.8 kB / 399.9 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.03552, allocations: 2.401 MB / 402.3 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.03591, allocations: 51.67 kB / 402.4 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.03594, allocations: 20 kB / 402.4 MB, free: 3.523 MB / 330.7 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.0002375/0.03618, allocations: 229.7 kB / 402.6 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.39e-05/0.03626, allocations: 79.53 kB / 402.7 MB, free: 3.211 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000868/0.03713, allocations: 0.7907 MB / 403.5 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.03713, allocations: 15.88 kB / 403.5 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.03714, allocations: 4 kB / 403.5 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.03714, allocations: 7.984 kB / 403.5 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.03875, allocations: 1.535 MB / 405.1 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.03875, allocations: 0 / 405.1 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.0391, allocations: 163.8 kB / 405.2 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002937/0.03939, allocations: 168.7 kB / 405.4 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.03941, allocations: 12 kB / 405.4 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.04134, allocations: 2.406 MB / 407.8 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.04134, allocations: 0 / 407.8 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000891/0.04223, allocations: 0.8552 MB / 408.7 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.04246, allocations: 159.3 kB / 408.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.04251, allocations: 12 kB / 408.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.04277, allocations: 23.94 kB / 408.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.04283, allocations: 48.55 kB / 408.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.04285, allocations: 20 kB / 408.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003019/0.04315, allocations: 386.8 kB / 409.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04315, allocations: 7.938 kB / 409.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005964/0.04375, allocations: 307.8 kB / 409.6 MB, free: 12.12 MB / 346.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: 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.00123/0.04498, allocations: 1.465 MB / 411.1 MB, free: 10.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008656/0.04584, allocations: 0.7601 MB / 411.8 MB, free: 9.859 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.04585, allocations: 0 / 411.8 MB, free: 9.859 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000405/0.04625, allocations: 494.3 kB / 412.3 MB, free: 9.363 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.0467, allocations: 117 kB / 412.4 MB, free: 9.246 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005768/0.05247, allocations: 5.828 MB / 418.3 MB, free: 3.258 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.05272, allocations: 348.7 kB / 418.6 MB, free: 2.891 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002668/0.05299, allocations: 93.3 kB / 418.7 MB, free: 2.797 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.05326, allocations: 276.3 kB / 419 MB, free: 2.523 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.05326, allocations: 4 kB / 419 MB, free: 2.52 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1433/0.1965, allocations: 18.82 MB / 437.8 MB, free: 72.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.095/7.292, allocations: 6.719 kB / 437.8 MB, free: 72.52 MB / 362.7 MB " [Timeout remaining time 653] (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.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: 8.993272492662072]