Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.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.001808/0.001808, allocations: 117.1 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.00248/0.00248, 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.877/1.877, allocations: 207.6 MB / 230.5 MB, free: 4.027 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.0697/0.0697, allocations: 14.41 MB / 296.8 MB, free: 1.883 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.OneBusOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad",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.002057/0.002057, allocations: 71.91 kB / 416.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3535, allocations: 52.87 MB / 469 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.005899/0.3594, allocations: 4.174 MB / 473.2 MB, free: 8.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004893/0.3643, allocations: 2.477 MB / 475.7 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006948/0.365, allocations: 9.531 kB / 475.7 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.366, allocations: 244.8 kB / 475.9 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.3693, allocations: 1.12 MB / 477 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000635/0.3699, allocations: 251.1 kB / 477.3 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.3715, allocations: 0.9456 MB / 478.2 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.3717, allocations: 32.89 kB / 478.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006545/0.3724, allocations: 338.8 kB / 478.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000615/0.373, allocations: 310.7 kB / 478.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.668e-05/0.3731, allocations: 28 kB / 478.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000819/0.3739, allocations: 279.8 kB / 479.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.48e-05/0.374, allocations: 79.62 kB / 479.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.3744, allocations: 266.7 kB / 479.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.3757, allocations: 0.7844 MB / 480.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3757, allocations: 4 kB / 480.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3757, allocations: 0 / 480.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.3757, allocations: 0 / 480.3 MB, free: 2.418 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.002697/0.3784, allocations: 0.9768 MB / 481.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3785, allocations: 8.031 kB / 481.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.529e-05/0.3785, allocations: 13.19 kB / 481.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.402e-05/0.3786, allocations: 70.72 kB / 481.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003528/0.3789, allocations: 88.52 kB / 481.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007652/0.3797, allocations: 421 kB / 481.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.3797, allocations: 28.94 kB / 481.9 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.3798, allocations: 36 kB / 482 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005879/0.3804, allocations: 360.9 kB / 482.3 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3804, allocations: 4 kB / 482.3 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.3804, allocations: 12 kB / 482.3 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.3804, allocations: 12 kB / 482.3 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/0.3809, allocations: 298.4 kB / 482.6 MB, free: 4 kB / 334.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.003086/0.384, allocations: 2.489 MB / 485.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009063/0.3849, allocations: 424.7 kB / 485.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.3851, allocations: 100.8 kB / 485.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.3851, allocations: 4 kB / 485.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.3852, allocations: 38.55 kB / 485.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.733e-06/0.3852, allocations: 4 kB / 485.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002274/0.3874, allocations: 0.7226 MB / 486.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.3875, allocations: 60.44 kB / 486.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004424/0.3879, allocations: 353.6 kB / 486.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.3879, allocations: 29.7 kB / 486.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.3881, allocations: 204.6 kB / 487 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.3883, allocations: 130.8 kB / 487.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.3884, allocations: 65.64 kB / 487.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3885, allocations: 346.8 kB / 487.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.3887, allocations: 87.91 kB / 487.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.3889, allocations: 140.7 kB / 487.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.3893, allocations: 244.2 kB / 488 MB, free: 10.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3893, allocations: 3.938 kB / 488 MB, free: 10.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001035/0.3903, allocations: 445.1 kB / 488.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.3903, allocations: 11.94 kB / 488.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.3903, allocations: 0 / 488.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007526/0.3911, allocations: 144.8 kB / 488.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.3914, allocations: 71.95 kB / 488.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003256/0.3946, allocations: 2.229 MB / 490.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.395, allocations: 19.89 kB / 490.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.395, allocations: 12 kB / 490.9 MB, free: 7.102 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 29 * 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 {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002208/0.3952, allocations: 161.7 kB / 491.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.263e-05/0.3953, allocations: 39.77 kB / 491.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.3964, allocations: 450 kB / 491.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3964, allocations: 8 kB / 491.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.3964, allocations: 0 / 491.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3964, allocations: 0 / 491.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.3982, allocations: 1.034 MB / 492.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3982, allocations: 4 kB / 492.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.3985, allocations: 55.91 kB / 492.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006471/0.3991, allocations: 144.7 kB / 492.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.3991, allocations: 11.94 kB / 492.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002874/0.402, allocations: 2.184 MB / 495 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.402, allocations: 0 / 495 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.403, allocations: 0.5166 MB / 495.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.4032, allocations: 148.8 kB / 495.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/0.4033, allocations: 11.94 kB / 495.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.4035, allocations: 8 kB / 495.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.4036, allocations: 27.95 kB / 495.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.4036, allocations: 8 kB / 495.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002978/0.4039, allocations: 251.2 kB / 496 MB, free: 1.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4039, allocations: 3.938 kB / 496 MB, free: 1.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006143/0.4045, allocations: 163.8 kB / 496.1 MB, free: 1.629 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 (24): * Single equations (assignments): 23 * 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 {(2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001541/0.4061, allocations: 1.091 MB / 497.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008644/0.4069, allocations: 410.9 kB / 497.6 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4069, allocations: 0 / 497.6 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004752/0.4074, allocations: 314.5 kB / 497.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.4079, allocations: 68.58 kB / 498 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005754/0.4137, allocations: 3.485 MB / 0.4897 GB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.4142, allocations: 0.7962 MB / 0.4905 GB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002111/0.4144, allocations: 51 kB / 0.4906 GB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.4146, allocations: 123.3 kB / 0.4907 GB, free: 11.12 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4146, allocations: 0 / 0.4907 GB, free: 11.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04126/0.4558, allocations: 10.96 MB / 0.5014 GB, free: 156 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.04, allocations: 19.8 kB / 0.5014 GB, free: 136 kB / 366.1 MB " [Timeout remaining time 647] (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.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.212559352978133]