Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.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.0007845/0.0007845, 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.0008275/0.0008275, allocations: 169.9 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.8166/0.8166, allocations: 158.6 MB / 184.2 MB, free: 3.039 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.03695/0.03695, allocations: 10.65 MB / 247.1 MB, free: 4.719 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.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 368.1 MB, free: 6.383 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.109e-05, allocations: 4.109 kB / 368.1 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.004846/0.004867, allocations: 6.352 MB / 374.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003638/0.008505, allocations: 3.265 MB / 377.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/0.00893, allocations: 19.88 kB / 377.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000788/0.009718, allocations: 385.5 kB / 378.1 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.01178, allocations: 1.575 MB / 379.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005497/0.01233, allocations: 0.556 MB / 380.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00169/0.01402, allocations: 1.968 MB / 382.2 MB, free: 8.215 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.01421, allocations: 66.42 kB / 382.3 MB, free: 8.141 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.01529, allocations: 0.9039 MB / 383.2 MB, free: 7.234 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007665/0.01606, allocations: 0.5102 MB / 383.7 MB, free: 6.723 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.01617, allocations: 60 kB / 383.8 MB, free: 6.664 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008562/0.01703, allocations: 415.4 kB / 384.2 MB, free: 6.258 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.01714, allocations: 159.2 kB / 384.3 MB, free: 6.102 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003729/0.01751, allocations: 386.8 kB / 384.7 MB, free: 5.723 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.0189, allocations: 1.5 MB / 386.2 MB, free: 4.219 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.01891, allocations: 0 / 386.2 MB, free: 4.219 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01891, allocations: 4 kB / 386.2 MB, free: 4.215 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.01893, allocations: 0 / 386.2 MB, free: 4.215 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002833/0.02176, allocations: 1.623 MB / 387.8 MB, free: 2.559 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.0218, allocations: 12.03 kB / 387.8 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.306e-05/0.02189, allocations: 118.6 kB / 387.9 MB, free: 2.422 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003295/0.02222, allocations: 152.2 kB / 388.1 MB, free: 2.273 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008069/0.02303, allocations: 0.6186 MB / 388.7 MB, free: 1.625 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.02306, allocations: 50.38 kB / 388.8 MB, free: 1.578 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.748e-05/0.02312, allocations: 72.38 kB / 388.8 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007028/0.02382, allocations: 0.7555 MB / 389.6 MB, free: 0.707 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.02383, allocations: 7.938 kB / 389.6 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.02387, allocations: 28 kB / 389.6 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.02388, allocations: 20 kB / 389.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006754/0.02456, allocations: 0.6598 MB / 390.3 MB, free: 15.99 MB / 330.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.002856/0.02741, allocations: 3.041 MB / 393.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009012/0.02831, allocations: 0.7384 MB / 394.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.02857, allocations: 250.8 kB / 394.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.02861, allocations: 12.64 kB / 394.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.02863, allocations: 43.22 kB / 394.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=77): time 2.274e-06/0.02863, allocations: 0 / 394.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=77): time 0.00253/0.03116, allocations: 1.528 MB / 395.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.0312, allocations: 60.06 kB / 396 MB, free: 10.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.03164, allocations: 0.5654 MB / 396.5 MB, free: 9.613 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.03167, allocations: 33.7 kB / 396.6 MB, free: 9.574 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.03183, allocations: 364.7 kB / 396.9 MB, free: 9.211 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.03196, allocations: 281.4 kB / 397.2 MB, free: 8.934 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.03208, allocations: 126.6 kB / 397.3 MB, free: 8.801 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.03219, allocations: 374.8 kB / 397.7 MB, free: 8.426 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.0324, allocations: 209.9 kB / 397.9 MB, free: 8.223 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.03267, allocations: 338.1 kB / 398.2 MB, free: 7.852 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/0.03319, allocations: 0.5875 MB / 398.8 MB, free: 7.223 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.0332, allocations: 0 / 398.8 MB, free: 7.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001041/0.03424, allocations: 0.9346 MB / 399.7 MB, free: 6.281 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.03426, allocations: 8.312 kB / 399.8 MB, free: 6.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.03426, allocations: 4 kB / 399.8 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000597/0.03486, allocations: 316.5 kB / 400.1 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.03516, allocations: 159.8 kB / 400.2 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002888/0.03805, allocations: 3.287 MB / 403.5 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.03836, allocations: 55.62 kB / 403.6 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.03839, allocations: 24 kB / 403.6 MB, free: 2.336 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (69): * Single equations (assignments): 68 * 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,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0001952/0.03858, allocations: 226.1 kB / 403.8 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.641e-05/0.03866, allocations: 75.53 kB / 403.9 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009785/0.03964, allocations: 0.8841 MB / 404.8 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.03964, allocations: 8 kB / 404.8 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.03964, allocations: 0 / 404.8 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.03965, allocations: 7.922 kB / 404.8 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.04128, allocations: 1.616 MB / 406.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.04128, allocations: 0 / 406.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.04153, allocations: 119.9 kB / 406.5 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005041/0.04203, allocations: 296.6 kB / 406.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.04205, allocations: 12 kB / 406.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002636/0.04469, allocations: 3.185 MB / 410 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.04469, allocations: 7.875 kB / 410 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.04569, allocations: 0.9409 MB / 410.9 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.04592, allocations: 147.4 kB / 411.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.04597, allocations: 12 kB / 411.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.04621, allocations: 31.88 kB / 411.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.04628, allocations: 52.55 kB / 411.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.0463, allocations: 16 kB / 411.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000313/0.04661, allocations: 394.8 kB / 411.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.04661, allocations: 0 / 411.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000627/0.04724, allocations: 339.8 kB / 411.9 MB, free: 9.789 MB / 346.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 (49): * Single equations (assignments): 48 * 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,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/0.04848, allocations: 1.551 MB / 413.5 MB, free: 8.207 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000963/0.04945, allocations: 0.8418 MB / 414.3 MB, free: 7.352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.04945, allocations: 0 / 414.3 MB, free: 7.352 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005056/0.04995, allocations: 0.5677 MB / 414.9 MB, free: 6.773 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.05039, allocations: 121.1 kB / 415 MB, free: 6.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005694/0.05609, allocations: 6.03 MB / 421 MB, free: 476 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.05632, allocations: 352.7 kB / 421.4 MB, free: 92 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002008/0.05652, allocations: 81.31 kB / 421.5 MB, free: 8 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.05675, allocations: 260.5 kB / 421.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.05676, allocations: 7.938 kB / 421.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.144/0.2008, allocations: 20.67 MB / 442.4 MB, free: 68.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.676, allocations: 7.953 kB / 442.4 MB, free: 68.91 MB / 362.7 MB " [Timeout remaining time 652] (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.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.356009864248335]