Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.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.001774/0.001774, allocations: 114.7 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.002057/0.002057, allocations: 210.3 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.462/1.462, 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.07107/0.07107, allocations: 14.41 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.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",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.002221/0.002221, allocations: 81.08 kB / 416.2 MB, free: 8.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2341, allocations: 52.87 MB / 469 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.008471/0.2426, allocations: 7.308 MB / 476.3 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005676/0.2483, allocations: 3.56 MB / 479.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006546/0.2489, allocations: 19.88 kB / 479.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.25, allocations: 417.7 kB / 480.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003834/0.2538, allocations: 1.609 MB / 481.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.2551, allocations: 0.5991 MB / 482.5 MB, free: 208 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002518/0.2576, allocations: 1.844 MB / 484.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.2578, allocations: 74.28 kB / 484.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008376/0.2586, allocations: 0.6343 MB / 485.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008345/0.2595, allocations: 0.6342 MB / 485.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.2596, allocations: 60 kB / 485.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.2607, allocations: 435.7 kB / 486.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.2609, allocations: 159.2 kB / 486.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006455/0.2615, allocations: 0.548 MB / 486.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.2638, allocations: 1.512 MB / 488.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2638, allocations: 0 / 488.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2638, allocations: 0 / 488.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.303e-05/0.2638, allocations: 4 kB / 488.4 MB, free: 10.28 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.005934/0.2698, allocations: 1.761 MB / 490.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.2698, allocations: 12.03 kB / 490.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.183e-05/0.2698, allocations: 18.19 kB / 490.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/0.27, allocations: 122.8 kB / 490.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006617/0.2706, allocations: 156.2 kB / 490.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.2721, allocations: 0.685 MB / 491.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.359e-05/0.2721, allocations: 61.94 kB / 491.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.2722, allocations: 72 kB / 491.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.2735, allocations: 0.7654 MB / 492.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.2735, allocations: 4 kB / 492.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.491e-05/0.2736, allocations: 24 kB / 492.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.2736, allocations: 20 kB / 492.1 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.2749, allocations: 0.7104 MB / 492.8 MB, free: 5.734 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.007084/0.282, allocations: 5.081 MB / 497.9 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.2839, allocations: 0.904 MB / 498.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004356/0.2843, allocations: 266.7 kB / 499.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.398e-05/0.2844, allocations: 8.656 kB / 499.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.2844, allocations: 39.22 kB / 499.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 3.567e-06/0.2844, allocations: 0 / 499.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.003292/0.2877, allocations: 1.245 MB / 0.4886 GB, free: 13.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.2878, allocations: 60.06 kB / 0.4887 GB, free: 13.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007722/0.2886, allocations: 0.5459 MB / 0.4892 GB, free: 12.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.623e-05/0.2886, allocations: 41.7 kB / 0.4893 GB, free: 12.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.2889, allocations: 372.6 kB / 0.4896 GB, free: 12.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.2892, allocations: 285.5 kB / 0.4899 GB, free: 12.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.2894, allocations: 130.6 kB / 0.49 GB, free: 12.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.2896, allocations: 382.8 kB / 0.4904 GB, free: 11.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/0.29, allocations: 213.9 kB / 0.4906 GB, free: 11.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004902/0.2905, allocations: 332.3 kB / 0.4909 GB, free: 11.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/0.2914, allocations: 0.5898 MB / 0.4915 GB, free: 10.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.2915, allocations: 4 kB / 0.4915 GB, free: 10.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001664/0.2931, allocations: 0.8645 MB / 0.4923 GB, free: 9.684 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.2931, allocations: 4 kB / 0.4923 GB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.2932, allocations: 4 kB / 0.4923 GB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006584/0.2938, allocations: 180.9 kB / 0.4925 GB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008511/0.2947, allocations: 195.8 kB / 0.4927 GB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00346/0.2981, allocations: 2.536 MB / 0.4952 GB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007085/0.2988, allocations: 43.73 kB / 0.4952 GB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.2989, allocations: 28.03 kB / 0.4952 GB, free: 6.562 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.0003445/0.2992, allocations: 225.7 kB / 0.4955 GB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.2994, allocations: 83.47 kB / 0.4955 GB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.3009, allocations: 0.7945 MB / 0.4963 GB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.3009, allocations: 8 kB / 0.4963 GB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3009, allocations: 0 / 0.4963 GB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.301, allocations: 3.984 kB / 0.4963 GB, free: 5.426 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.002783/0.3037, allocations: 1.862 MB / 0.4981 GB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3037, allocations: 0 / 0.4981 GB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007408/0.3045, allocations: 163.8 kB / 0.4983 GB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005517/0.305, allocations: 172.7 kB / 0.4985 GB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/0.3051, allocations: 15.92 kB / 0.4985 GB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003394/0.3085, allocations: 2.527 MB / 0.5009 GB, free: 484 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3085, allocations: 0 / 0.5009 GB, free: 484 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.31, allocations: 0.8591 MB / 0.5018 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/0.3104, allocations: 224.5 kB / 0.502 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.204e-05/0.3105, allocations: 19.98 kB / 0.502 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000549/0.311, allocations: 16 kB / 0.502 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.3112, allocations: 52.53 kB / 0.5021 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.3112, allocations: 23.98 kB / 0.5021 GB, free: 15.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005592/0.3117, allocations: 386.8 kB / 0.5025 GB, free: 14.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3117, allocations: 0 / 0.5025 GB, free: 14.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009123/0.3127, allocations: 303.8 kB / 0.5028 GB, free: 14.57 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.002006/0.3147, allocations: 1.469 MB / 0.5042 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.3163, allocations: 0.7797 MB / 0.505 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3163, allocations: 0 / 0.505 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008871/0.3172, allocations: 0.4942 MB / 0.5054 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007777/0.3179, allocations: 109.7 kB / 0.5055 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008966/0.3269, allocations: 5.831 MB / 0.5112 GB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.3275, allocations: 0.9425 MB / 0.5122 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003874/0.3279, allocations: 97.28 kB / 0.5123 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004072/0.3283, allocations: 271.3 kB / 0.5125 GB, free: 4.355 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3283, allocations: 0 / 0.5125 GB, free: 4.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04442/0.3727, allocations: 17.6 MB / 0.5297 GB, free: 2.738 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.07, allocations: 15.89 kB / 0.5297 GB, free: 2.723 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.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.65890360798221]