Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.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.001347/0.001347, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001516/0.001516, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.574/1.574, allocations: 207.6 MB / 230.5 MB, free: 4.016 MB / 174.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.06983/0.06983, allocations: 14.4 MB / 296.8 MB, free: 1.887 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.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",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.002503/0.002503, allocations: 72.41 kB / 416.2 MB, free: 8.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2531, allocations: 52.87 MB / 469 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.008862/0.262, allocations: 7.188 MB / 476.2 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007452/0.2694, allocations: 3.546 MB / 479.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008383/0.2702, allocations: 19.88 kB / 479.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.2717, allocations: 413.7 kB / 480.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003926/0.2756, allocations: 1.593 MB / 481.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.2768, allocations: 0.5877 MB / 482.4 MB, free: 376 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002326/0.2791, allocations: 1.824 MB / 484.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.2793, allocations: 70.23 kB / 484.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008391/0.2802, allocations: 0.6305 MB / 484.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008093/0.281, allocations: 0.6303 MB / 485.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.2811, allocations: 60 kB / 485.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009249/0.282, allocations: 423.7 kB / 486 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.2821, allocations: 167.2 kB / 486.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000558/0.2827, allocations: 0.5325 MB / 486.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.2847, allocations: 1.489 MB / 488.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2847, allocations: 4 kB / 488.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2847, allocations: 0 / 488.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.2847, allocations: 0 / 488.2 MB, free: 10.52 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.005565/0.2903, allocations: 1.722 MB / 489.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.2903, allocations: 12.03 kB / 489.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.721e-05/0.2903, allocations: 18.19 kB / 489.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.2905, allocations: 118.7 kB / 490.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006737/0.2912, allocations: 152.3 kB / 490.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.2925, allocations: 0.6694 MB / 490.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.2926, allocations: 61.94 kB / 490.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.2927, allocations: 79.97 kB / 491 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.294, allocations: 0.7515 MB / 491.8 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.294, allocations: 4 kB / 491.8 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.811e-05/0.2941, allocations: 31.94 kB / 491.8 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.2941, allocations: 20 kB / 491.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.2954, allocations: 0.6714 MB / 492.5 MB, free: 6.07 MB / 350.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.007111/0.3025, allocations: 5.231 MB / 497.7 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.3043, allocations: 0.8835 MB / 498.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004365/0.3047, allocations: 258.7 kB / 498.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.586e-05/0.3048, allocations: 4.656 kB / 498.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.3048, allocations: 43.22 kB / 498.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 2.936e-06/0.3048, allocations: 4 kB / 498.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.004958/0.3098, allocations: 1.55 MB / 0.4887 GB, free: 13.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.3098, allocations: 60.06 kB / 0.4888 GB, free: 13.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008562/0.3107, allocations: 0.5537 MB / 0.4893 GB, free: 12.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/0.3108, allocations: 37.7 kB / 0.4894 GB, free: 12.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003788/0.3111, allocations: 364.7 kB / 0.4897 GB, free: 12.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/0.3115, allocations: 281.5 kB / 0.49 GB, free: 12.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/0.3117, allocations: 130.6 kB / 0.4901 GB, free: 12.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002348/0.312, allocations: 374.7 kB / 0.4905 GB, free: 11.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/0.3124, allocations: 221.8 kB / 0.4907 GB, free: 11.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005094/0.3129, allocations: 330.1 kB / 0.491 GB, free: 11.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008939/0.3138, allocations: 0.5875 MB / 0.4916 GB, free: 10.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3138, allocations: 0 / 0.4916 GB, free: 10.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001964/0.3157, allocations: 0.9353 MB / 0.4925 GB, free: 9.504 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.3158, allocations: 8 kB / 0.4925 GB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.3158, allocations: 4 kB / 0.4925 GB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.317, allocations: 319.5 kB / 0.4928 GB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006908/0.3177, allocations: 163.8 kB / 0.493 GB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005701/0.3234, allocations: 3.376 MB / 0.4962 GB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009161/0.3243, allocations: 47.73 kB / 0.4963 GB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.3244, allocations: 28 kB / 0.4963 GB, free: 5.441 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (71): * Single equations (assignments): 70 * 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 {(7,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003983/0.3248, allocations: 233.6 kB / 0.4965 GB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/0.325, allocations: 75.53 kB / 0.4966 GB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.327, allocations: 0.8646 MB / 0.4975 GB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.327, allocations: 11.94 kB / 0.4975 GB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.327, allocations: 0 / 0.4975 GB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.327, allocations: 7.969 kB / 0.4975 GB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/0.3307, allocations: 1.909 MB / 0.4993 GB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3307, allocations: 0 / 0.4993 GB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005839/0.3313, allocations: 131.9 kB / 0.4995 GB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/0.3324, allocations: 296.5 kB / 0.4998 GB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/0.3325, allocations: 16 kB / 0.4998 GB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005491/0.338, allocations: 3.288 MB / 0.503 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.338, allocations: 0 / 0.503 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.3401, allocations: 0.9292 MB / 0.5039 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000486/0.3405, allocations: 232.4 kB / 0.5041 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.3407, allocations: 15.94 kB / 0.5041 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005949/0.3413, allocations: 27.98 kB / 0.5041 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.3414, allocations: 48.58 kB / 0.5042 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.3414, allocations: 20 kB / 0.5042 GB, free: 13.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005991/0.342, allocations: 386.8 kB / 0.5046 GB, free: 12.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.342, allocations: 0 / 0.5046 GB, free: 12.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001061/0.3431, allocations: 331.8 kB / 0.5049 GB, free: 12.36 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 (51): * Single equations (assignments): 50 * 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 {(6,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002481/0.3456, allocations: 1.547 MB / 0.5064 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002058/0.3476, allocations: 0.8647 MB / 0.5073 GB, free: 9.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3476, allocations: 0 / 0.5073 GB, free: 9.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.3488, allocations: 0.5789 MB / 0.5078 GB, free: 9.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007977/0.3496, allocations: 113.8 kB / 0.5079 GB, free: 9.211 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.3608, allocations: 5.988 MB / 0.5138 GB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007588/0.3615, allocations: 0.9505 MB / 0.5147 GB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003771/0.3619, allocations: 85.45 kB / 0.5148 GB, free: 1.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004363/0.3624, allocations: 259.3 kB / 0.515 GB, free: 1.742 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3624, allocations: 0 / 0.515 GB, free: 1.742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07173/0.4341, allocations: 20.13 MB / 0.5347 GB, free: 13.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.63, allocations: 15.92 kB / 0.5347 GB, free: 13.58 MB / 414.1 MB " [Timeout remaining time 646] (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.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.365874841983896]