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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, 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.001118/0.001118, allocations: 195.8 kB / 16.14 MB, free: 6.656 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.098/1.098, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05515/0.05515, 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.001277/0.001277, allocations: 83.81 kB / 344.5 MB, free: 19.73 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06185/0.06314, allocations: 50.12 MB / 394.6 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.004009/0.06717, allocations: 4.308 MB / 398.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002841/0.07003, allocations: 2.455 MB / 401.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.07027, allocations: 11.94 kB / 401.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005226/0.0708, allocations: 211.1 kB / 401.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.07274, allocations: 1.054 MB / 402.7 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.07314, allocations: 238.9 kB / 402.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009036/0.07405, allocations: 0.9416 MB / 403.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.07417, allocations: 57.05 kB / 403.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002777/0.07446, allocations: 246.8 kB / 404.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.07472, allocations: 254.8 kB / 404.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.07477, allocations: 12 kB / 404.4 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004075/0.07518, allocations: 235.8 kB / 404.6 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.07524, allocations: 67.58 kB / 404.7 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.07545, allocations: 234.7 kB / 404.9 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006335/0.07609, allocations: 0.6857 MB / 405.6 MB, free: 6.547 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.0761, allocations: 0 / 405.6 MB, free: 6.547 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.0761, allocations: 4 kB / 405.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.07612, allocations: 0 / 405.6 MB, free: 6.543 MB / 302.1 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.001941/0.07806, allocations: 0.9355 MB / 406.5 MB, free: 5.559 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.0781, allocations: 8.031 kB / 406.5 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.182e-05/0.07816, allocations: 70.72 kB / 406.6 MB, free: 5.473 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002811/0.07845, allocations: 72.34 kB / 406.7 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.07897, allocations: 416.4 kB / 407.1 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.079, allocations: 29.12 kB / 407.1 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.07904, allocations: 32 kB / 407.2 MB, free: 4.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.07951, allocations: 353 kB / 407.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.07953, allocations: 11.92 kB / 407.5 MB, free: 4.508 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.07956, allocations: 16 kB / 407.5 MB, free: 4.492 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.07958, allocations: 23.92 kB / 407.5 MB, free: 4.469 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004061/0.07999, allocations: 290.4 kB / 407.8 MB, free: 4.184 MB / 302.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.001716/0.08171, allocations: 2.313 MB / 410.1 MB, free: 1.578 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/0.08249, allocations: 449.3 kB / 410.6 MB, free: 1.113 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.08266, allocations: 117.4 kB / 410.7 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.08269, allocations: 8 kB / 410.7 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.08272, allocations: 38.42 kB / 410.7 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.383e-06/0.08272, allocations: 0 / 410.7 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001937/0.08467, allocations: 0.7249 MB / 411.5 MB, free: 192 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.0847, allocations: 55.41 kB / 411.5 MB, free: 124 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.08498, allocations: 309.7 kB / 411.8 MB, free: 15.81 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.08501, allocations: 33.7 kB / 411.9 MB, free: 15.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.08512, allocations: 212.2 kB / 412.1 MB, free: 15.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.969e-05/0.08521, allocations: 126.1 kB / 412.2 MB, free: 15.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-05/0.0853, allocations: 61.69 kB / 412.2 MB, free: 15.37 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.08539, allocations: 342.8 kB / 412.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.08553, allocations: 89 kB / 412.7 MB, free: 14.94 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.0857, allocations: 140.7 kB / 412.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.08602, allocations: 255.6 kB / 413.1 MB, free: 14.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.08603, allocations: 0 / 413.1 MB, free: 14.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008905/0.08692, allocations: 449.1 kB / 413.5 MB, free: 14.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.08694, allocations: 8 kB / 413.5 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.08696, allocations: 8.062 kB / 413.5 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/0.0876, allocations: 148.6 kB / 413.7 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.08787, allocations: 71.89 kB / 413.7 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.09016, allocations: 2.027 MB / 415.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.09039, allocations: 27.77 kB / 415.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.09042, allocations: 8 kB / 415.8 MB, free: 11.65 MB / 318.1 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 (30): * Single equations (assignments): 29 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.09056, allocations: 165.7 kB / 416 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.09064, allocations: 43.53 kB / 416 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009003/0.09154, allocations: 455.1 kB / 416.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.09156, allocations: 7.938 kB / 416.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.09156, allocations: 0 / 416.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.09157, allocations: 0 / 416.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.09291, allocations: 0.9745 MB / 417.4 MB, free: 9.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.09292, allocations: 0 / 417.4 MB, free: 9.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.09315, allocations: 59.97 kB / 417.5 MB, free: 9.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005909/0.09375, allocations: 148.6 kB / 417.6 MB, free: 9.719 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.09378, allocations: 8 kB / 417.6 MB, free: 9.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.09584, allocations: 1.992 MB / 419.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.09586, allocations: 7.938 kB / 419.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008587/0.09672, allocations: 0.5116 MB / 420.1 MB, free: 7.039 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.09685, allocations: 140.6 kB / 420.3 MB, free: 6.883 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.0969, allocations: 4 kB / 420.3 MB, free: 6.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.09711, allocations: 11.94 kB / 420.3 MB, free: 6.867 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.09717, allocations: 27.95 kB / 420.3 MB, free: 6.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.0972, allocations: 16 kB / 420.3 MB, free: 6.824 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.09738, allocations: 223.2 kB / 420.6 MB, free: 6.609 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.09739, allocations: 0 / 420.6 MB, free: 6.609 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004055/0.0978, allocations: 143.8 kB / 420.7 MB, free: 6.469 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 (24): * Single equations (assignments): 23 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001131/0.09894, allocations: 1.103 MB / 421.8 MB, free: 5.336 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005903/0.09954, allocations: 426.2 kB / 422.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.09955, allocations: 256 / 422.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003708/0.09993, allocations: 319 kB / 422.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.1003, allocations: 60.92 kB / 422.6 MB, free: 4.523 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.004214/0.1045, allocations: 3.51 MB / 426.1 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.1048, allocations: 0.804 MB / 426.9 MB, free: 80 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000162/0.105, allocations: 39.02 kB / 426.9 MB, free: 40 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1058/0.2108, allocations: 116.6 kB / 427.1 MB, free: 37.58 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2109, allocations: 0.8125 kB / 427.1 MB, free: 37.58 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.2307, allocations: 9.244 MB / 436.3 MB, free: 35.69 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/0.2309, allocations: 209.1 kB / 436.5 MB, free: 35.44 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/1.867, allocations: 0 / 436.5 MB, free: 35.44 MB / 318.1 MB (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 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches