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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 193 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.134/1.134, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05456/0.05456, allocations: 14.16 MB / 283.5 MB, free: 7.293 MB / 238.1 MB 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.001224/0.001224, allocations: 75.06 kB / 344.5 MB, free: 19.75 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0643/0.06554, allocations: 50.12 MB / 394.6 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.005903/0.07147, allocations: 7.309 MB / 401.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003677/0.07516, allocations: 3.526 MB / 405.5 MB, free: 6.699 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.07542, allocations: 19.94 kB / 405.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006495/0.07609, allocations: 362.5 kB / 405.8 MB, free: 6.324 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002345/0.07844, allocations: 1.462 MB / 407.3 MB, free: 4.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008199/0.07927, allocations: 0.5528 MB / 407.8 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.08078, allocations: 1.84 MB / 409.7 MB, free: 2.469 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.08097, allocations: 122.5 kB / 409.8 MB, free: 2.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004135/0.08139, allocations: 477.6 kB / 410.3 MB, free: 1.871 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.08184, allocations: 0.5171 MB / 410.8 MB, free: 1.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.681e-05/0.08191, allocations: 28 kB / 410.8 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005688/0.08248, allocations: 367.7 kB / 411.2 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.414e-05/0.08257, allocations: 111.2 kB / 411.3 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000354/0.08293, allocations: 481.3 kB / 411.8 MB, free: 392 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.08397, allocations: 1.297 MB / 413.1 MB, free: 15.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.08399, allocations: 7.938 kB / 413.1 MB, free: 15.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.08399, allocations: 3.938 kB / 413.1 MB, free: 15.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.084, allocations: 0 / 413.1 MB, free: 15.07 MB / 318.1 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.003811/0.08782, allocations: 1.614 MB / 414.7 MB, free: 13.4 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.08786, allocations: 15.97 kB / 414.7 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.08798, allocations: 126.7 kB / 414.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004933/0.08848, allocations: 143.7 kB / 415 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008291/0.08932, allocations: 0.6336 MB / 415.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.08936, allocations: 54.12 kB / 415.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.891e-05/0.08944, allocations: 68 kB / 415.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009787/0.09043, allocations: 0.7592 MB / 416.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.09045, allocations: 0 / 416.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/0.09051, allocations: 32 kB / 416.5 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.09053, allocations: 20 kB / 416.5 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009252/0.09146, allocations: 0.6714 MB / 417.2 MB, free: 10.8 MB / 318.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.003687/0.09516, allocations: 4.808 MB / 422 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.09658, allocations: 0.9512 MB / 422.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.09696, allocations: 299.1 kB / 423.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.481e-05/0.09701, allocations: 8.656 kB / 423.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.09704, allocations: 39.22 kB / 423.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 1.623e-06/0.09704, allocations: 0 / 423.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.003996/0.101, allocations: 1.565 MB / 424.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.1011, allocations: 60.06 kB / 424.9 MB, free: 2.453 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004582/0.1016, allocations: 0.4951 MB / 425.4 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.1016, allocations: 33.7 kB / 425.4 MB, free: 1.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.1018, allocations: 363.8 kB / 425.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.102, allocations: 260.2 kB / 426 MB, free: 1.289 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.1021, allocations: 130.5 kB / 426.2 MB, free: 1.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1023, allocations: 382.8 kB / 426.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.1026, allocations: 205.9 kB / 426.8 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.1029, allocations: 334 kB / 427.1 MB, free: 208 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.119/0.222, allocations: 0.5817 MB / 427.7 MB, free: 37.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.222, allocations: 0 / 427.7 MB, free: 37.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001788/0.2238, allocations: 0.9436 MB / 428.6 MB, free: 37.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2238, allocations: 5.531 kB / 428.6 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.2239, allocations: 7.188 kB / 428.6 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.2249, allocations: 294.7 kB / 428.9 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/0.2256, allocations: 164.8 kB / 429.1 MB, free: 37.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003778/0.2293, allocations: 3.034 MB / 432.1 MB, free: 35.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005424/0.2299, allocations: 54.28 kB / 432.2 MB, free: 35.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.2299, allocations: 28.67 kB / 432.2 MB, free: 35.57 MB / 318.1 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 (71): * Single equations (assignments): 70 * 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,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0002476/0.2302, allocations: 225.4 kB / 432.4 MB, free: 35.38 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.2303, allocations: 73.47 kB / 432.5 MB, free: 35.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.2319, allocations: 0.8886 MB / 433.4 MB, free: 34.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.2319, allocations: 8.422 kB / 433.4 MB, free: 34.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.2319, allocations: 0 / 433.4 MB, free: 34.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.232, allocations: 4.078 kB / 433.4 MB, free: 34.95 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/0.2344, allocations: 1.802 MB / 435.2 MB, free: 33.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2344, allocations: 1.688 kB / 435.2 MB, free: 33.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004905/0.2349, allocations: 127.1 kB / 435.3 MB, free: 33.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009469/0.2359, allocations: 288.3 kB / 435.6 MB, free: 33.89 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.2359, allocations: 15.59 kB / 435.6 MB, free: 33.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003348/0.2393, allocations: 2.968 MB / 438.6 MB, free: 31.78 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2393, allocations: 4.547 kB / 438.6 MB, free: 31.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.2408, allocations: 0.9458 MB / 439.5 MB, free: 31.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.241, allocations: 197 kB / 439.7 MB, free: 31.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.352e-05/0.2411, allocations: 15.75 kB / 439.7 MB, free: 31.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.2415, allocations: 36.92 kB / 439.8 MB, free: 31.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.2416, allocations: 57.38 kB / 439.8 MB, free: 31.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.2416, allocations: 17.44 kB / 439.8 MB, free: 31.1 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004066/0.242, allocations: 345.4 kB / 440.2 MB, free: 30.94 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.242, allocations: 0.5938 kB / 440.2 MB, free: 30.94 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007362/0.2428, allocations: 299.4 kB / 440.5 MB, free: 30.9 MB / 318.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 (51): * Single equations (assignments): 50 * 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,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001756/0.2445, allocations: 1.55 MB / 442 MB, free: 29.88 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.001291/0.2458, allocations: 0.8551 MB / 442.9 MB, free: 29.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2459, allocations: 5.062 kB / 442.9 MB, free: 29.48 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created simulation system equations: time 0.0008003/0.2467, allocations: 0.5703 MB / 443.4 MB, free: 29.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.2472, allocations: 85.22 kB / 443.5 MB, free: 29.13 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007628/0.2548, allocations: 6.209 MB / 449.7 MB, free: 25.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.2551, allocations: 0.9438 MB / 450.7 MB, free: 24.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003301/0.2554, allocations: 77.19 kB / 450.8 MB, free: 24.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.2557, allocations: 257.8 kB / 451 MB, free: 24.51 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2557, allocations: 1.312 kB / 451 MB, free: 24.51 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.2789, allocations: 16.8 MB / 467.8 MB, free: 9.797 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/0.279, allocations: 235.9 kB / 468 MB, free: 9.539 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.078, allocations: 0 / 468 MB, free: 9.539 MB / 318.1 MB (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 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches