Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.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.OneBusImpedanceOneVariableLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad",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.001215/0.001215, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 194.1 kB / 16.53 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.768/1.768, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06435/0.06435, allocations: 14.17 MB / 283.9 MB, free: 7.07 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.001487/0.001488, allocations: 74.66 kB / 345.2 MB, free: 19.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1285, allocations: 50.12 MB / 395.3 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad): time 0.007501/0.136, allocations: 6.93 MB / 402.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005579/0.1416, allocations: 3.413 MB / 405.6 MB, free: 6.746 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000613/0.1423, allocations: 15.94 kB / 405.7 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.1434, allocations: 373.8 kB / 406 MB, free: 6.363 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003514/0.1469, allocations: 1.5 MB / 407.5 MB, free: 4.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000688/0.1476, allocations: 314.7 kB / 407.8 MB, free: 4.562 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002154/0.1498, allocations: 1.86 MB / 409.7 MB, free: 2.695 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.15, allocations: 130.2 kB / 409.8 MB, free: 2.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007823/0.1508, allocations: 0.6265 MB / 410.4 MB, free: 1.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006946/0.1515, allocations: 0.6303 MB / 411.1 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.1516, allocations: 68 kB / 411.1 MB, free: 1.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008383/0.1525, allocations: 343.8 kB / 411.5 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.1527, allocations: 159.2 kB / 411.6 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006046/0.1534, allocations: 0.5403 MB / 412.2 MB, free: 200 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.1549, allocations: 1.352 MB / 413.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.155, allocations: 0 / 413.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.155, allocations: 0 / 413.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.155, allocations: 4 kB / 413.5 MB, free: 14.83 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004607/0.1596, allocations: 1.625 MB / 415.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.1597, allocations: 8.031 kB / 415.2 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001348/0.1598, allocations: 110.7 kB / 415.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005742/0.1604, allocations: 155.5 kB / 415.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.1616, allocations: 0.6799 MB / 416.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.756e-05/0.1617, allocations: 46 kB / 416.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.827e-05/0.1618, allocations: 64 kB / 416.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.163, allocations: 0.6707 MB / 416.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.163, allocations: 0 / 416.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.776e-05/0.1631, allocations: 32 kB / 416.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.1631, allocations: 16 kB / 416.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.1643, allocations: 0.6388 MB / 417.6 MB, free: 10.67 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.006543/0.1709, allocations: 4.48 MB / 422 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.1726, allocations: 1.159 MB / 423.2 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/0.173, allocations: 273.6 kB / 423.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/0.1731, allocations: 11.98 kB / 423.5 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.1731, allocations: 46.5 kB / 423.5 MB, free: 4.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 3.206e-06/0.1732, allocations: 0 / 423.5 MB, free: 4.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.00397/0.1771, allocations: 1.435 MB / 425 MB, free: 2.535 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.1772, allocations: 85.11 kB / 425 MB, free: 2.434 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007944/0.178, allocations: 0.5538 MB / 425.6 MB, free: 1.871 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.1781, allocations: 37.7 kB / 425.6 MB, free: 1.828 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.1783, allocations: 320.5 kB / 426 MB, free: 1.508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/0.1786, allocations: 272 kB / 426.2 MB, free: 1.238 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.1788, allocations: 110.6 kB / 426.3 MB, free: 1.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.179, allocations: 378.8 kB / 426.7 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.1794, allocations: 193.9 kB / 426.9 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.1798, allocations: 257.3 kB / 427.1 MB, free: 300 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2393/0.4191, allocations: 0.4964 MB / 427.6 MB, free: 37.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.4192, allocations: 0 / 427.6 MB, free: 37.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002518/0.4217, allocations: 0.865 MB / 428.5 MB, free: 37.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.4218, allocations: 5.5 kB / 428.5 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4218, allocations: 3 kB / 428.5 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.4231, allocations: 278.7 kB / 428.8 MB, free: 37.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005754/0.4237, allocations: 125.2 kB / 428.9 MB, free: 37.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005725/0.4294, allocations: 4.239 MB / 433.1 MB, free: 34.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009311/0.4304, allocations: 52.88 kB / 433.2 MB, free: 34.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.446e-05/0.4304, allocations: 20.02 kB / 433.2 MB, free: 34.28 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,7), (3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003518/0.4308, allocations: 216.3 kB / 433.4 MB, free: 34.1 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.4309, allocations: 77.38 kB / 433.5 MB, free: 34.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.4331, allocations: 0.8958 MB / 434.4 MB, free: 33.7 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.4331, allocations: 8.562 kB / 434.4 MB, free: 33.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.4331, allocations: 0 / 434.4 MB, free: 33.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.4332, allocations: 5.594 kB / 434.4 MB, free: 33.7 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 postOpt removeSimpleEquations (simulation): time 0.003773/0.4369, allocations: 2.239 MB / 436.6 MB, free: 32.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.437, allocations: 0.75 kB / 436.6 MB, free: 32.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004564/0.4374, allocations: 122.8 kB / 436.8 MB, free: 32.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.4386, allocations: 269.2 kB / 437 MB, free: 32.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.4386, allocations: 15.56 kB / 437 MB, free: 32.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004984/0.4436, allocations: 4.146 MB / 441.2 MB, free: 28.78 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.4436, allocations: 1.875 kB / 441.2 MB, free: 28.78 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/0.4462, allocations: 1.029 MB / 442.2 MB, free: 28.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/0.4466, allocations: 229.5 kB / 442.4 MB, free: 28.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.856e-05/0.4467, allocations: 11.28 kB / 442.5 MB, free: 28.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.4473, allocations: 29.67 kB / 442.5 MB, free: 28.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/0.4475, allocations: 57.86 kB / 442.5 MB, free: 28.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/0.4476, allocations: 17.22 kB / 442.6 MB, free: 28.03 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006495/0.4482, allocations: 395.9 kB / 442.9 MB, free: 27.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4482, allocations: 0 / 442.9 MB, free: 27.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001868/0.4501, allocations: 315.2 kB / 443.3 MB, free: 27.8 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,7), (3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00291/0.453, allocations: 1.644 MB / 444.9 MB, free: 26.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00239/0.4554, allocations: 0.9196 MB / 445.8 MB, free: 26.24 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4555, allocations: 0 / 445.8 MB, free: 26.24 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.4567, allocations: 0.6511 MB / 446.5 MB, free: 25.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.4577, allocations: 132.6 kB / 446.6 MB, free: 25.79 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.009884/0.4676, allocations: 6.133 MB / 452.7 MB, free: 22.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.4681, allocations: 0.944 MB / 453.7 MB, free: 21.64 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004242/0.4685, allocations: 81.17 kB / 453.8 MB, free: 21.62 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.4688, allocations: 272.3 kB / 454 MB, free: 21.42 MB / 318.1 MB Notification: Performance of SimCode: time 1.693e-06/0.4689, allocations: 0 / 454 MB, free: 21.42 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04274/0.5116, allocations: 19.78 MB / 473.8 MB, free: 3.402 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.6, allocations: 15.14 kB / 473.8 MB, free: 3.391 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches