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.001329/0.001329, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001399/0.001399, allocations: 215 kB / 20.13 MB, free: 2.949 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.44/1.44, allocations: 207.6 MB / 230.5 MB, free: 4.051 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.07098/0.07098, allocations: 14.4 MB / 296.8 MB, free: 1.898 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.00247/0.00247, allocations: 71.91 kB / 416.1 MB, free: 8.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2524, allocations: 52.89 MB / 469 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.009286/0.2617, allocations: 7.302 MB / 476.3 MB, free: 6.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006977/0.2687, allocations: 3.557 MB / 479.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.2699, allocations: 23.88 kB / 479.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.2712, allocations: 413.7 kB / 480.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005129/0.2764, allocations: 1.609 MB / 481.9 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.2779, allocations: 0.6033 MB / 482.5 MB, free: 232 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002971/0.2808, allocations: 1.844 MB / 484.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002944/0.2811, allocations: 74.28 kB / 484.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.2822, allocations: 0.6305 MB / 485.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008888/0.2831, allocations: 0.642 MB / 485.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.2832, allocations: 60 kB / 485.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.2843, allocations: 439.6 kB / 486.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.2844, allocations: 155.2 kB / 486.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006049/0.285, allocations: 0.5442 MB / 486.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.2872, allocations: 1.512 MB / 488.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2872, allocations: 0 / 488.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2872, allocations: 0 / 488.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.2872, allocations: 7.938 kB / 488.4 MB, free: 10.3 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005702/0.2929, allocations: 1.761 MB / 490.2 MB, free: 8.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.293, allocations: 8.031 kB / 490.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.229e-05/0.293, allocations: 22.19 kB / 490.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.2931, allocations: 122.8 kB / 490.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006363/0.2938, allocations: 156.2 kB / 490.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.2951, allocations: 0.6811 MB / 491.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.528e-05/0.2952, allocations: 61.94 kB / 491.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.2953, allocations: 72 kB / 491.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.2966, allocations: 0.7654 MB / 492.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.2966, allocations: 0 / 492.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.145e-05/0.2966, allocations: 35.98 kB / 492.1 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.2967, allocations: 23.94 kB / 492.1 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.2979, allocations: 0.7065 MB / 492.8 MB, free: 5.75 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.006831/0.3047, allocations: 5.081 MB / 497.9 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.3066, allocations: 0.8961 MB / 498.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004527/0.307, allocations: 270.7 kB / 499.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-05/0.3071, allocations: 12.64 kB / 499.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.3071, allocations: 39.22 kB / 499.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.384e-06/0.3071, allocations: 0 / 499.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.003198/0.3103, allocations: 1.237 MB / 0.4886 GB, free: 13.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3104, allocations: 64 kB / 0.4887 GB, free: 13.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000782/0.3111, allocations: 0.5498 MB / 0.4892 GB, free: 12.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/0.3112, allocations: 41.7 kB / 0.4893 GB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.3115, allocations: 372.6 kB / 0.4896 GB, free: 12.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002847/0.3118, allocations: 281.5 kB / 0.4899 GB, free: 12.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.312, allocations: 138.6 kB / 0.49 GB, free: 12.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.3122, allocations: 370.8 kB / 0.4904 GB, free: 11.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.3126, allocations: 217.9 kB / 0.4906 GB, free: 11.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/0.3131, allocations: 336.3 kB / 0.4909 GB, free: 11.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009447/0.314, allocations: 0.5859 MB / 0.4915 GB, free: 10.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.314, allocations: 4 kB / 0.4915 GB, free: 10.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001675/0.3157, allocations: 0.8606 MB / 0.4923 GB, free: 9.707 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3157, allocations: 8 kB / 0.4923 GB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.3157, allocations: 4 kB / 0.4923 GB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006244/0.3164, allocations: 185 kB / 0.4925 GB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008788/0.3172, allocations: 191.8 kB / 0.4927 GB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003493/0.3207, allocations: 2.535 MB / 0.4952 GB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007113/0.3214, allocations: 47.73 kB / 0.4952 GB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/0.3215, allocations: 27.94 kB / 0.4952 GB, free: 6.582 MB / 366.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.0003462/0.3218, allocations: 233.7 kB / 0.4955 GB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.322, allocations: 79.47 kB / 0.4955 GB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.3236, allocations: 0.7906 MB / 0.4963 GB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.3236, allocations: 8 kB / 0.4963 GB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3236, allocations: 4 kB / 0.4963 GB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.3236, allocations: 3.984 kB / 0.4963 GB, free: 5.441 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 postOpt removeSimpleEquations (simulation): time 0.002865/0.3265, allocations: 1.854 MB / 0.4981 GB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3265, allocations: 0 / 0.4981 GB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007375/0.3272, allocations: 167.8 kB / 0.4983 GB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005358/0.3278, allocations: 172.5 kB / 0.4985 GB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.3278, allocations: 15.94 kB / 0.4985 GB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/0.3312, allocations: 2.529 MB / 0.5009 GB, free: 500 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3312, allocations: 0 / 0.5009 GB, free: 500 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.3328, allocations: 0.8552 MB / 0.5018 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/0.3331, allocations: 228.5 kB / 0.502 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/0.3332, allocations: 12 kB / 0.502 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005481/0.3338, allocations: 23.98 kB / 0.502 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.3339, allocations: 52.53 kB / 0.5021 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.3339, allocations: 20 kB / 0.5021 GB, free: 15.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005393/0.3345, allocations: 386.8 kB / 0.5025 GB, free: 14.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3345, allocations: 0 / 0.5025 GB, free: 14.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008953/0.3354, allocations: 307.8 kB / 0.5028 GB, free: 14.59 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.001964/0.3373, allocations: 1.465 MB / 0.5042 GB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.3389, allocations: 0.7836 MB / 0.505 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3389, allocations: 0 / 0.505 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008545/0.3397, allocations: 0.4903 MB / 0.5054 GB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007152/0.3404, allocations: 109.8 kB / 0.5055 GB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00937/0.3498, allocations: 5.828 MB / 0.5112 GB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008401/0.3506, allocations: 0.9386 MB / 0.5122 GB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004551/0.3511, allocations: 97.23 kB / 0.5122 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000471/0.3516, allocations: 271.3 kB / 0.5125 GB, free: 4.383 MB / 382.1 MB Notification: Performance of SimCode: time 1.673e-06/0.3516, allocations: 0 / 0.5125 GB, free: 4.383 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04584/0.3974, allocations: 17.61 MB / 0.5297 GB, free: 2.762 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.11, allocations: 15.95 kB / 0.5297 GB, free: 2.746 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.630549233988859]