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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.513/1.513, allocations: 207.6 MB / 229.8 MB, free: 4.258 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.068/0.068, allocations: 14.4 MB / 296 MB, free: 2.031 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003224/0.003224, allocations: 71.89 kB / 415.4 MB, free: 8.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2909, allocations: 52.86 MB / 468.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.008606/0.2995, allocations: 7.326 MB / 475.6 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006204/0.3057, allocations: 3.556 MB / 479.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007561/0.3065, allocations: 15.94 kB / 479.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.3075, allocations: 417.7 kB / 479.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003984/0.3115, allocations: 1.631 MB / 481.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.3128, allocations: 0.5721 MB / 481.8 MB, free: 264 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002639/0.3154, allocations: 1.852 MB / 483.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.3156, allocations: 74.28 kB / 483.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008401/0.3165, allocations: 0.6264 MB / 484.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008203/0.3173, allocations: 0.6342 MB / 485 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.3174, allocations: 64 kB / 485 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009867/0.3184, allocations: 427.7 kB / 485.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.3185, allocations: 163.2 kB / 485.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005392/0.3191, allocations: 0.5403 MB / 486.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.3212, allocations: 1.516 MB / 487.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3212, allocations: 0 / 487.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3212, allocations: 0 / 487.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.3212, allocations: 4 kB / 487.7 MB, free: 10.34 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.005624/0.3268, allocations: 1.761 MB / 489.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3269, allocations: 12.03 kB / 489.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.327, allocations: 122.7 kB / 489.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006194/0.3276, allocations: 156.2 kB / 489.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.329, allocations: 0.6772 MB / 490.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.867e-05/0.329, allocations: 62.12 kB / 490.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.961e-05/0.3291, allocations: 68 kB / 490.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.3305, allocations: 0.7732 MB / 491.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.3305, allocations: 0 / 491.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.684e-05/0.3306, allocations: 32 kB / 491.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.3306, allocations: 16 kB / 491.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.3318, allocations: 0.7104 MB / 492 MB, free: 5.812 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.007327/0.3392, allocations: 5.073 MB / 497.1 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.3409, allocations: 0.9117 MB / 498 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/0.3413, allocations: 270.7 kB / 498.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.512e-05/0.3414, allocations: 8.656 kB / 498.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.3414, allocations: 39.22 kB / 498.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.785e-06/0.3414, allocations: 4 kB / 498.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.003216/0.3447, allocations: 1.237 MB / 499.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.3447, allocations: 56.06 kB / 499.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000887/0.3456, allocations: 0.5537 MB / 0.4885 GB, free: 13.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.3456, allocations: 41.7 kB / 0.4885 GB, free: 12.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.346, allocations: 372.6 kB / 0.4889 GB, free: 12.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/0.3464, allocations: 281.5 kB / 0.4891 GB, free: 12.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.3466, allocations: 130.6 kB / 0.4893 GB, free: 12.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.3468, allocations: 378.7 kB / 0.4896 GB, free: 11.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.3472, allocations: 221.9 kB / 0.4898 GB, free: 11.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/0.3477, allocations: 328.3 kB / 0.4901 GB, free: 11.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009396/0.3486, allocations: 0.5898 MB / 0.4907 GB, free: 10.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.3486, allocations: 4 kB / 0.4907 GB, free: 10.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001774/0.3504, allocations: 0.8605 MB / 0.4916 GB, free: 9.766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.3504, allocations: 8 kB / 0.4916 GB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3504, allocations: 0 / 0.4916 GB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006802/0.3511, allocations: 181 kB / 0.4917 GB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008067/0.3519, allocations: 203.8 kB / 0.4919 GB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003681/0.3556, allocations: 2.528 MB / 0.4944 GB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007905/0.3564, allocations: 51.73 kB / 0.4945 GB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.3564, allocations: 24 kB / 0.4945 GB, free: 6.637 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.0003764/0.3568, allocations: 225.7 kB / 0.4947 GB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.357, allocations: 83.5 kB / 0.4948 GB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.3585, allocations: 0.7906 MB / 0.4955 GB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.3585, allocations: 8 kB / 0.4955 GB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.3585, allocations: 7.984 kB / 0.4956 GB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.3585, allocations: 7.922 kB / 0.4956 GB, free: 5.496 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.002878/0.3614, allocations: 1.843 MB / 0.4974 GB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3614, allocations: 96 / 0.4974 GB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007215/0.3621, allocations: 167.8 kB / 0.4975 GB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005412/0.3627, allocations: 176.4 kB / 0.4977 GB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/0.3627, allocations: 16 kB / 0.4977 GB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003899/0.3666, allocations: 2.532 MB / 0.5002 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3666, allocations: 0 / 0.5002 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.3682, allocations: 0.8513 MB / 0.501 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/0.3687, allocations: 232.5 kB / 0.5012 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.902e-05/0.3688, allocations: 12 kB / 0.5012 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/0.3693, allocations: 23.98 kB / 0.5013 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.521e-05/0.3693, allocations: 48.53 kB / 0.5013 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.3694, allocations: 16 kB / 0.5013 GB, free: 15.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000567/0.3699, allocations: 390.8 kB / 0.5017 GB, free: 14.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3699, allocations: 0 / 0.5017 GB, free: 14.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00102/0.371, allocations: 307.8 kB / 0.502 GB, free: 14.65 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.002075/0.373, allocations: 1.469 MB / 0.5034 GB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.3747, allocations: 0.7797 MB / 0.5042 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3747, allocations: 8.125 kB / 0.5042 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008275/0.3755, allocations: 0.4902 MB / 0.5047 GB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007348/0.3762, allocations: 113.5 kB / 0.5048 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009325/0.3856, allocations: 5.824 MB / 0.5105 GB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006612/0.3862, allocations: 0.9425 MB / 0.5114 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004639/0.3867, allocations: 97.27 kB / 0.5115 GB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/0.3871, allocations: 279.3 kB / 0.5118 GB, free: 4.43 MB / 382.1 MB Notification: Performance of SimCode: time 1.763e-06/0.3871, allocations: 0 / 0.5118 GB, free: 4.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05272/0.4399, allocations: 17.57 MB / 0.5289 GB, free: 2.844 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.49, allocations: 11.92 kB / 0.5289 GB, free: 2.832 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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.122526089660823]