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.001873/0.001873, allocations: 117.4 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.002314/0.002314, allocations: 214.3 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.881/1.881, allocations: 207.6 MB / 230.5 MB, free: 4 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.0683/0.0683, allocations: 14.41 MB / 296.8 MB, free: 1.879 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.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",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.002243/0.002243, allocations: 67.91 kB / 416.2 MB, free: 8.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3643, allocations: 52.87 MB / 469 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.006115/0.3704, allocations: 4.186 MB / 473.2 MB, free: 8.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004361/0.3748, allocations: 2.474 MB / 475.7 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/0.3751, allocations: 10.28 kB / 475.7 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006912/0.3758, allocations: 239.2 kB / 475.9 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.3783, allocations: 1.127 MB / 477.1 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.3788, allocations: 255.1 kB / 477.3 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.38, allocations: 0.934 MB / 478.2 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.3801, allocations: 36.89 kB / 478.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004291/0.3806, allocations: 338.8 kB / 478.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004517/0.381, allocations: 318.7 kB / 478.9 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.3811, allocations: 32 kB / 479 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006249/0.3817, allocations: 279.8 kB / 479.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.513e-05/0.3818, allocations: 75.62 kB / 479.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.382, allocations: 274.7 kB / 479.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.3831, allocations: 0.7922 MB / 480.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3831, allocations: 0 / 480.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3831, allocations: 0 / 480.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.3831, allocations: 0 / 480.4 MB, free: 2.363 MB / 334.1 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.002539/0.3857, allocations: 0.9738 MB / 481.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3857, allocations: 8.031 kB / 481.3 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.734e-05/0.3857, allocations: 13.19 kB / 481.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.747e-05/0.3858, allocations: 70.72 kB / 481.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003113/0.3861, allocations: 80.52 kB / 481.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007645/0.3869, allocations: 429 kB / 481.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.3869, allocations: 32.88 kB / 482 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.387, allocations: 32 kB / 482 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.3875, allocations: 354.3 kB / 482.3 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3875, allocations: 3.938 kB / 482.3 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.3875, allocations: 12 kB / 482.4 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3876, allocations: 8 kB / 482.4 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005126/0.3881, allocations: 314.4 kB / 482.7 MB, free: 15.95 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.003007/0.3911, allocations: 2.316 MB / 485 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.3921, allocations: 0.5134 MB / 485.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.3923, allocations: 108.8 kB / 485.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.3924, allocations: 8 kB / 485.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.3924, allocations: 34.56 kB / 485.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.513e-06/0.3924, allocations: 0 / 485.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.002321/0.3947, allocations: 0.741 MB / 486.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.3948, allocations: 56.5 kB / 486.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004406/0.3952, allocations: 340.5 kB / 486.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.3952, allocations: 29.7 kB / 486.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.3954, allocations: 196.6 kB / 487 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.3956, allocations: 138.8 kB / 487.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.3957, allocations: 61.98 kB / 487.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3958, allocations: 338.8 kB / 487.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.396, allocations: 92.62 kB / 487.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.3962, allocations: 126.9 kB / 487.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.3966, allocations: 234.2 kB / 488 MB, free: 10.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3966, allocations: 3.938 kB / 488 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001029/0.3976, allocations: 441.8 kB / 488.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3976, allocations: 4 kB / 488.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3976, allocations: 4 kB / 488.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007602/0.3984, allocations: 164.7 kB / 488.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.3987, allocations: 67.91 kB / 488.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003559/0.4022, allocations: 2.262 MB / 490.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/0.4026, allocations: 19.89 kB / 490.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.4026, allocations: 11.98 kB / 490.9 MB, free: 7.113 MB / 350.1 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 (29): * Single equations (assignments): 28 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002231/0.4029, allocations: 165.7 kB / 491.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-05/0.4029, allocations: 43.77 kB / 491.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.404, allocations: 462.6 kB / 491.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.404, allocations: 4 kB / 491.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.404, allocations: 0 / 491.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.404, allocations: 7.984 kB / 491.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.4058, allocations: 1.107 MB / 492.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.4058, allocations: 4 kB / 492.7 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.4061, allocations: 67.89 kB / 492.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006758/0.4067, allocations: 153 kB / 492.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.4068, allocations: 11.92 kB / 492.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003019/0.4098, allocations: 2.199 MB / 495.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4098, allocations: 0 / 495.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.4108, allocations: 0.5281 MB / 495.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.411, allocations: 152.8 kB / 495.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.4111, allocations: 11.94 kB / 495.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.4114, allocations: 15.92 kB / 495.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.4115, allocations: 23.97 kB / 495.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.4115, allocations: 8.109 kB / 495.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003222/0.4118, allocations: 247 kB / 496.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4118, allocations: 0 / 496.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007086/0.4125, allocations: 159.8 kB / 496.3 MB, free: 1.488 MB / 350.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 (26): * Single equations (assignments): 25 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001599/0.4141, allocations: 1.099 MB / 497.4 MB, free: 368 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.4153, allocations: 474.8 kB / 497.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4153, allocations: 0 / 497.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006998/0.416, allocations: 350 kB / 498.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/0.4165, allocations: 61.41 kB / 498.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005547/0.4221, allocations: 3.473 MB / 0.4899 GB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/0.4225, allocations: 0.804 MB / 0.4907 GB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.4227, allocations: 38.95 kB / 0.4908 GB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.4229, allocations: 123.4 kB / 0.4909 GB, free: 10.91 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4229, allocations: 0 / 0.4909 GB, free: 10.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03758/0.4605, allocations: 11.07 MB / 0.5017 GB, free: 15.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.05, allocations: 8 kB / 0.5017 GB, free: 15.82 MB / 382.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat","/var/lib/jenkins1/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: 16.181089689023793]