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.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.000828/0.000828, 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.0008461/0.0008461, 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.8635/0.8635, allocations: 158.6 MB / 184.2 MB, free: 3.043 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.03704/0.03704, allocations: 10.65 MB / 247.1 MB, free: 4.723 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 368.1 MB, free: 6.383 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.466e-05, allocations: 2.281 kB / 368.1 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.003979/0.004004, allocations: 3.817 MB / 371.9 MB, free: 2.539 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.006632, allocations: 2.248 MB / 374.2 MB, free: 288 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003026/0.006935, allocations: 7.938 kB / 374.2 MB, free: 280 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005935/0.007528, allocations: 238.5 kB / 374.4 MB, free: 40 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.00922, allocations: 1.074 MB / 375.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.009545, allocations: 242.1 kB / 375.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009963/0.01054, allocations: 1.012 MB / 376.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.01069, allocations: 29.28 kB / 376.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006083/0.0113, allocations: 490.8 kB / 377.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.01163, allocations: 255.2 kB / 377.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.01168, allocations: 28 kB / 377.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005257/0.0122, allocations: 267.5 kB / 377.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.016e-05/0.01227, allocations: 75.62 kB / 377.9 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.01242, allocations: 195.4 kB / 378 MB, free: 12.4 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.01349, allocations: 0.7907 MB / 378.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.01349, allocations: 0 / 378.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.0135, allocations: 4 kB / 378.8 MB, free: 11.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.0135, allocations: 0 / 378.8 MB, free: 11.6 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001436/0.01494, allocations: 0.8984 MB / 379.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.01498, allocations: 12.03 kB / 379.8 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.421e-05/0.01503, allocations: 66.72 kB / 379.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.01522, allocations: 80.58 kB / 379.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005438/0.01576, allocations: 373 kB / 380.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.01579, allocations: 33.36 kB / 380.3 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.01582, allocations: 28.38 kB / 380.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.01617, allocations: 358.4 kB / 380.7 MB, free: 9.688 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.01618, allocations: 3.938 kB / 380.7 MB, free: 9.684 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.01621, allocations: 16 kB / 380.7 MB, free: 9.668 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.01621, allocations: 8 kB / 380.7 MB, free: 9.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.01654, allocations: 302.5 kB / 381 MB, free: 9.367 MB / 314.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.00143/0.01797, allocations: 1.163 MB / 382.2 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005605/0.01853, allocations: 367.1 kB / 382.5 MB, free: 7.785 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.01865, allocations: 112.8 kB / 382.6 MB, free: 7.672 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.01868, allocations: 4 kB / 382.6 MB, free: 7.668 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.0187, allocations: 30.56 kB / 382.7 MB, free: 7.629 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 3.056e-06/0.0187, allocations: 0 / 382.7 MB, free: 7.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=37): time 0.001308/0.02001, allocations: 0.7044 MB / 383.4 MB, free: 6.914 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.02005, allocations: 59.41 kB / 383.4 MB, free: 6.844 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.02032, allocations: 332.5 kB / 383.7 MB, free: 6.508 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.02034, allocations: 33.7 kB / 383.8 MB, free: 6.469 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.848e-05/0.02044, allocations: 201.7 kB / 384 MB, free: 6.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.646e-05/0.02052, allocations: 130.8 kB / 384.1 MB, free: 6.141 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.045e-05/0.02059, allocations: 65.98 kB / 384.2 MB, free: 6.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.086e-05/0.02068, allocations: 342.8 kB / 384.5 MB, free: 5.727 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.95e-05/0.02078, allocations: 88.62 kB / 384.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.0209, allocations: 122.9 kB / 384.7 MB, free: 5.516 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.02114, allocations: 225.7 kB / 384.9 MB, free: 5.289 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.02114, allocations: 11.88 kB / 384.9 MB, free: 5.277 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008335/0.02197, allocations: 454.4 kB / 385.4 MB, free: 4.824 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.02199, allocations: 11.94 kB / 385.4 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.022, allocations: 3.938 kB / 385.4 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004493/0.02245, allocations: 168.7 kB / 385.6 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.0226, allocations: 67.89 kB / 385.6 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/0.02465, allocations: 2.248 MB / 387.9 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.02485, allocations: 27.88 kB / 387.9 MB, free: 2.195 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.02487, allocations: 15.92 kB / 387.9 MB, free: 2.18 MB / 314.7 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 (27): * Single equations (assignments): 26 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.02502, allocations: 161.8 kB / 388.1 MB, free: 2.012 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.02507, allocations: 39.77 kB / 388.1 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006279/0.0257, allocations: 470.8 kB / 388.6 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.0257, allocations: 4 kB / 388.6 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.0257, allocations: 0 / 388.6 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.02571, allocations: 4 kB / 388.6 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.02671, allocations: 0.9083 MB / 389.5 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.02672, allocations: 4 kB / 389.5 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.02683, allocations: 51.97 kB / 389.5 MB, free: 492 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003355/0.02717, allocations: 164.7 kB / 389.7 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.02718, allocations: 11.98 kB / 389.7 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.02892, allocations: 2.178 MB / 391.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.02892, allocations: 0 / 391.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005632/0.02948, allocations: 0.5318 MB / 392.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003541/0.02983, allocations: 75.66 kB / 392.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.02986, allocations: 4 kB / 392.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.03, allocations: 15.95 kB / 392.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.03004, allocations: 31.88 kB / 392.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.03005, allocations: 8 kB / 392.6 MB, free: 13.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001804/0.03023, allocations: 239.1 kB / 392.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03023, allocations: 0 / 392.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004447/0.03068, allocations: 163.9 kB / 393 MB, free: 12.94 MB / 330.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 (24): * Single equations (assignments): 23 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009201/0.0316, allocations: 1.126 MB / 394.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006621/0.03226, allocations: 482.2 kB / 394.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.03226, allocations: 0 / 394.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.03259, allocations: 342.4 kB / 394.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.03294, allocations: 63.03 kB / 394.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.03631, allocations: 3.477 MB / 398.4 MB, free: 7.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.03646, allocations: 208.3 kB / 398.6 MB, free: 7.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.03658, allocations: 42.94 kB / 398.7 MB, free: 7.051 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.0367, allocations: 124.5 kB / 398.8 MB, free: 6.93 MB / 330.7 MB Notification: Performance of SimCode: time 7.51e-07/0.0367, allocations: 4 kB / 398.8 MB, free: 6.926 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.06212, allocations: 11.95 MB / 410.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.258/7.32, allocations: 3.875 kB / 410.8 MB, free: 11.03 MB / 346.7 MB " [Timeout remaining time 653] (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 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.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.10578010417521]