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.0009562/0.0009562, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007511/0.007511, allocations: 170.5 kB / 16.27 MB, free: 6.32 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.193/1.193, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05617/0.05617, allocations: 14.16 MB / 284.9 MB, free: 7.035 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.0005214/0.0005214, allocations: 12.22 kB / 346.9 MB, free: 19.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07167/0.0722, allocations: 51.11 MB / 398 MB, free: 280 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad): time 0.005715/0.07796, allocations: 6.676 MB / 404.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004401/0.08238, allocations: 3.355 MB / 408 MB, free: 6.191 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003366/0.08274, allocations: 15.94 kB / 408 MB, free: 6.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006897/0.08344, allocations: 330.5 kB / 408.4 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.08607, allocations: 1.404 MB / 409.8 MB, free: 4.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005222/0.0866, allocations: 278.8 kB / 410 MB, free: 4.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001783/0.08839, allocations: 1.868 MB / 411.9 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.0886, allocations: 118.2 kB / 412 MB, free: 2.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005789/0.08919, allocations: 0.4935 MB / 412.5 MB, free: 1.684 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004889/0.08969, allocations: 0.5015 MB / 413 MB, free: 1.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.275e-05/0.08975, allocations: 24 kB / 413 MB, free: 1.156 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005246/0.09028, allocations: 279.8 kB / 413.3 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.224e-05/0.09038, allocations: 115.2 kB / 413.4 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003865/0.09078, allocations: 0.4951 MB / 413.9 MB, free: 272 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.09186, allocations: 1.211 MB / 415.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.09187, allocations: 0 / 415.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09188, allocations: 0 / 415.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.09189, allocations: 0 / 415.1 MB, free: 15.05 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.003447/0.09535, allocations: 1.384 MB / 416.5 MB, free: 13.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.09539, allocations: 15.97 kB / 416.5 MB, free: 13.6 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.09551, allocations: 106.7 kB / 416.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005219/0.09604, allocations: 151.6 kB / 416.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009242/0.09697, allocations: 0.6524 MB / 417.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.09703, allocations: 54 kB / 417.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.897e-05/0.09711, allocations: 60 kB / 417.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.09812, allocations: 0.6746 MB / 418.2 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.09815, allocations: 0 / 418.2 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.275e-05/0.09821, allocations: 28 kB / 418.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.09823, allocations: 16 kB / 418.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.09926, allocations: 0.6389 MB / 418.9 MB, free: 11.15 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.003447/0.1027, allocations: 4.098 MB / 423 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.1041, allocations: 1.164 MB / 424.2 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004129/0.1045, allocations: 277.6 kB / 424.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.706e-05/0.1046, allocations: 12 kB / 424.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.1046, allocations: 42.5 kB / 424.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 2.064e-06/0.1046, allocations: 0 / 424.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.003748/0.1083, allocations: 1.443 MB / 425.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.1084, allocations: 85.11 kB / 426 MB, free: 3.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/0.1089, allocations: 499.1 kB / 426.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.109, allocations: 37.7 kB / 426.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.1092, allocations: 336.5 kB / 426.9 MB, free: 2.414 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.1094, allocations: 267.9 kB / 427.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.527e-05/0.1095, allocations: 61.69 kB / 427.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1097, allocations: 370.8 kB / 427.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.11, allocations: 197.9 kB / 427.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.1104, allocations: 277.2 kB / 428 MB, free: 1.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007758/0.1112, allocations: 0.4955 MB / 428.5 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1112, allocations: 0 / 428.5 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.1393/0.2505, allocations: 0.856 MB / 429.4 MB, free: 26.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.2505, allocations: 6.812 kB / 429.4 MB, free: 26.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2506, allocations: 2.625 kB / 429.4 MB, free: 26.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.2518, allocations: 285.6 kB / 429.6 MB, free: 26.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005427/0.2523, allocations: 131.7 kB / 429.8 MB, free: 26.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003961/0.2563, allocations: 3.868 MB / 433.6 MB, free: 23.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000564/0.2569, allocations: 53.64 kB / 433.7 MB, free: 23.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/0.2569, allocations: 24.75 kB / 433.7 MB, free: 23.82 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.0002922/0.2572, allocations: 220.2 kB / 433.9 MB, free: 23.71 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.2573, allocations: 76.75 kB / 434 MB, free: 23.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.2593, allocations: 0.908 MB / 434.9 MB, free: 23.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2593, allocations: 8.406 kB / 434.9 MB, free: 23.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.2593, allocations: 1.312 kB / 434.9 MB, free: 23.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.2593, allocations: 4.266 kB / 434.9 MB, free: 23.63 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.002777/0.2621, allocations: 2.12 MB / 437.1 MB, free: 22.83 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2621, allocations: 0 / 437.1 MB, free: 22.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/0.2625, allocations: 116.8 kB / 437.2 MB, free: 22.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/0.2636, allocations: 272.6 kB / 437.4 MB, free: 22.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.2636, allocations: 15.16 kB / 437.4 MB, free: 22.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003372/0.267, allocations: 3.798 MB / 441.2 MB, free: 20.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.267, allocations: 0 / 441.2 MB, free: 20.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.2688, allocations: 1.033 MB / 442.3 MB, free: 19.97 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.269, allocations: 199.7 kB / 442.5 MB, free: 19.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.639e-05/0.269, allocations: 17.11 kB / 442.5 MB, free: 19.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/0.2695, allocations: 44.7 kB / 442.5 MB, free: 19.83 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.2696, allocations: 54.31 kB / 442.6 MB, free: 19.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.2697, allocations: 17.2 kB / 442.6 MB, free: 19.83 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003402/0.27, allocations: 348.6 kB / 442.9 MB, free: 19.74 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.27, allocations: 0 / 442.9 MB, free: 19.74 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007311/0.2708, allocations: 283.7 kB / 443.2 MB, free: 19.73 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.001963/0.2727, allocations: 1.647 MB / 444.9 MB, free: 18.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.2742, allocations: 0.8867 MB / 445.8 MB, free: 18.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2742, allocations: 4.062 kB / 445.8 MB, free: 18.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009283/0.2752, allocations: 0.6532 MB / 446.4 MB, free: 17.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.2758, allocations: 103.6 kB / 446.5 MB, free: 17.83 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.008004/0.2838, allocations: 6.147 MB / 452.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.2842, allocations: 0.9428 MB / 453.6 MB, free: 13.63 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003603/0.2846, allocations: 85.14 kB / 453.7 MB, free: 13.6 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.2849, allocations: 259.1 kB / 453.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of SimCode: time 6.62e-07/0.2849, allocations: 1.422 kB / 453.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.3103, allocations: 16.62 MB / 470.6 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/0.3105, allocations: 240.1 kB / 470.8 MB, free: 0.707 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/2.398, allocations: 0 / 470.8 MB, free: 0.707 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","../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches