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.001042/0.001042, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007918/0.0007918, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8975/0.8975, allocations: 158.6 MB / 184.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.0371/0.0371, allocations: 10.66 MB / 247.1 MB, free: 4.707 MB / 234.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 368.1 MB, free: 6.371 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.409e-05, allocations: 2.281 kB / 368.1 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.003741/0.003765, allocations: 3.797 MB / 371.9 MB, free: 2.547 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002741/0.006506, allocations: 2.252 MB / 374.2 MB, free: 292 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.006731, allocations: 11.88 kB / 374.2 MB, free: 280 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004976/0.007229, allocations: 234.5 kB / 374.4 MB, free: 44 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.008689, allocations: 1.068 MB / 375.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.008981, allocations: 247 kB / 375.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008561/0.009837, allocations: 1.004 MB / 376.7 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.009969, allocations: 33.27 kB / 376.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005113/0.01048, allocations: 482.8 kB / 377.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.01077, allocations: 255.2 kB / 377.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.01082, allocations: 32 kB / 377.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.01123, allocations: 259.6 kB / 377.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.01128, allocations: 79.61 kB / 377.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.01142, allocations: 191.4 kB / 378 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007369/0.01216, allocations: 0.779 MB / 378.8 MB, free: 11.63 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.01216, allocations: 3.938 kB / 378.8 MB, free: 11.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01216, allocations: 0 / 378.8 MB, free: 11.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.01217, allocations: 0 / 378.8 MB, free: 11.63 MB / 314.7 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.001379/0.01355, allocations: 0.8985 MB / 379.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.01359, allocations: 12.02 kB / 379.7 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.505e-05/0.01365, allocations: 74.66 kB / 379.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.01381, allocations: 80.59 kB / 379.9 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.01432, allocations: 372.9 kB / 380.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.01434, allocations: 25.38 kB / 380.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.01436, allocations: 32.38 kB / 380.3 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.01476, allocations: 365 kB / 380.6 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.01477, allocations: 4 kB / 380.6 MB, free: 9.691 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.0148, allocations: 16 kB / 380.7 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.01481, allocations: 15.98 kB / 380.7 MB, free: 9.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.01513, allocations: 286.4 kB / 380.9 MB, free: 9.383 MB / 314.7 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.001633/0.01676, allocations: 1.383 MB / 382.3 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.01735, allocations: 355.1 kB / 382.7 MB, free: 7.582 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.01748, allocations: 100.8 kB / 382.8 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.01751, allocations: 4 kB / 382.8 MB, free: 7.477 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.01754, allocations: 38.56 kB / 382.8 MB, free: 7.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=35): time 2.886e-06/0.01755, allocations: 0 / 382.8 MB, free: 7.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001372/0.01892, allocations: 0.6777 MB / 383.5 MB, free: 6.742 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.01896, allocations: 59.34 kB / 383.6 MB, free: 6.672 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.01926, allocations: 353.6 kB / 383.9 MB, free: 6.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.01927, allocations: 33.7 kB / 383.9 MB, free: 6.281 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.01938, allocations: 204.6 kB / 384.1 MB, free: 6.074 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/0.01945, allocations: 126.9 kB / 384.3 MB, free: 5.949 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/0.01952, allocations: 61.64 kB / 384.3 MB, free: 5.883 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.01962, allocations: 350.8 kB / 384.7 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.01972, allocations: 87.95 kB / 384.7 MB, free: 5.445 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.01985, allocations: 132.2 kB / 384.9 MB, free: 5.301 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.0201, allocations: 251.6 kB / 385.1 MB, free: 5.039 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.0201, allocations: 0 / 385.1 MB, free: 5.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005677/0.02067, allocations: 465.2 kB / 385.6 MB, free: 4.574 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.02069, allocations: 9.219 kB / 385.6 MB, free: 4.566 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.02069, allocations: 4 kB / 385.6 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003869/0.02108, allocations: 152.7 kB / 385.7 MB, free: 4.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.02121, allocations: 59.91 kB / 385.8 MB, free: 4.352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.0232, allocations: 2.217 MB / 388 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.02337, allocations: 23.83 kB / 388 MB, free: 2.008 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.02339, allocations: 12 kB / 388 MB, free: 1.996 MB / 314.7 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 (28): * Single equations (assignments): 27 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.02351, allocations: 171.6 kB / 388.2 MB, free: 1.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.02356, allocations: 39.77 kB / 388.3 MB, free: 1.781 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005741/0.02414, allocations: 458.8 kB / 388.7 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.02414, allocations: 7.984 kB / 388.7 MB, free: 1.316 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.02414, allocations: 4 kB / 388.7 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.02415, allocations: 0 / 388.7 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000911/0.02506, allocations: 0.889 MB / 389.6 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.02506, allocations: 0 / 389.6 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.02517, allocations: 51.91 kB / 389.7 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00033/0.0255, allocations: 152.7 kB / 389.8 MB, free: 168 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.02552, allocations: 7.984 kB / 389.8 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.02729, allocations: 2.156 MB / 392 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.02729, allocations: 0 / 392 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005832/0.02788, allocations: 0.5249 MB / 392.5 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.028, allocations: 75.67 kB / 392.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.02803, allocations: 8 kB / 392.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.02817, allocations: 15.88 kB / 392.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.02821, allocations: 27.89 kB / 392.6 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.02823, allocations: 11.98 kB / 392.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002009/0.02843, allocations: 247.2 kB / 392.9 MB, free: 12.97 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02843, allocations: 0 / 392.9 MB, free: 12.97 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004675/0.02889, allocations: 167.9 kB / 393 MB, free: 12.8 MB / 330.7 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 (22): * Single equations (assignments): 21 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009509/0.02985, allocations: 1.091 MB / 394.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005271/0.03037, allocations: 430.3 kB / 394.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.03037, allocations: 0 / 394.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.03063, allocations: 331 kB / 394.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.03097, allocations: 63.81 kB / 394.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.03423, allocations: 3.498 MB / 398.4 MB, free: 7.246 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.03438, allocations: 200.3 kB / 398.6 MB, free: 7.023 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.03449, allocations: 42.94 kB / 398.7 MB, free: 6.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.03461, allocations: 120.4 kB / 398.8 MB, free: 6.863 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.03461, allocations: 0 / 398.8 MB, free: 6.863 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.05909, allocations: 11.78 MB / 410.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.411, allocations: 3.125 kB / 410.6 MB, free: 11.14 MB / 346.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","/var/lib/jenkins/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: 9.215121627785265]