Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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) 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(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",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.001133/0.001133, allocations: 104.2 kB / 17.58 MB, free: 5.559 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.001101/0.001101, allocations: 192 kB / 18.51 MB, free: 4.641 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.421/1.421, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.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.001678/0.001678, allocations: 55.92 kB / 280.8 MB, free: 3.055 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08106/0.08275, allocations: 46.63 MB / 327.4 MB, free: 4.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01053/0.09332, allocations: 9.697 MB / 337.1 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005302/0.09865, allocations: 2.746 MB / 339.8 MB, free: 7.848 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.09982, allocations: 59.81 kB / 339.9 MB, free: 7.789 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008202/0.108, allocations: 3.761 MB / 343.7 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004257/0.1123, allocations: 1.068 MB / 344.7 MB, free: 2.938 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002639/0.115, allocations: 0.8063 MB / 345.5 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004688/0.1197, allocations: 3.883 MB / 349.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01342/0.1331, allocations: 9.6 MB / 359 MB, free: 4.547 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003058/0.1362, allocations: 2.205 MB / 361.2 MB, free: 2.336 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003947/0.1402, allocations: 2.554 MB / 363.8 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001683/0.1419, allocations: 0.6016 MB / 364.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.1443, allocations: 0.8161 MB / 365.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001708/0.146, allocations: 1.204 MB / 366.4 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003542/0.1495, allocations: 2.42 MB / 368.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007608/0.1572, allocations: 8.082 MB / 376.9 MB, free: 2.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1572, allocations: 4 kB / 376.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1572, allocations: 4 kB / 376.9 MB, free: 2.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001585/0.1574, allocations: 0 / 376.9 MB, free: 2.605 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.1389/0.2963, allocations: 5.152 MB / 382.1 MB, free: 48.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.2963, allocations: 12.16 kB / 382.1 MB, free: 48.55 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001337/0.2977, allocations: 0.6428 MB / 382.7 MB, free: 48.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01582/0.3135, allocations: 2.565 MB / 385.3 MB, free: 47.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004851/0.3184, allocations: 2.154 MB / 387.4 MB, free: 46.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003402/0.3187, allocations: 347.2 kB / 387.8 MB, free: 46.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001497/0.3203, allocations: 440.1 kB / 388.2 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/0.3318, allocations: 6.114 MB / 394.3 MB, free: 43.15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.81e-05/0.3319, allocations: 5.312 kB / 394.3 MB, free: 43.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003904/0.3323, allocations: 179.8 kB / 394.5 MB, free: 43.01 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001926/0.3325, allocations: 216.8 kB / 394.7 MB, free: 42.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008674/0.3412, allocations: 5.781 MB / 400.5 MB, free: 39.44 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0221/0.3633, allocations: 21.41 MB / 421.9 MB, free: 17.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00617/0.3695, allocations: 8.948 MB / 430.8 MB, free: 7.176 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.3708, allocations: 0.9722 MB / 431.8 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004152/0.375, allocations: 3.554 MB / 435.4 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.375, allocations: 38.73 kB / 435.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=28): time 2.255e-06/0.375, allocations: 0 / 435.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.000912/0.3759, allocations: 0.6404 MB / 436 MB, free: 1.699 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.376, allocations: 59.41 kB / 436.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/0.3787, allocations: 1.986 MB / 438.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.3787, allocations: 29.7 kB / 438.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001551/0.3803, allocations: 2.182 MB / 440.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.3805, allocations: 150.5 kB / 440.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007974/0.3813, allocations: 0.5392 MB / 441 MB, free: 12.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3814, allocations: 353.9 kB / 441.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.3827, allocations: 0.8754 MB / 442.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.3853, allocations: 2.246 MB / 444.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003973/0.3893, allocations: 3.071 MB / 447.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.971e-05/0.3894, allocations: 12 kB / 447.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.005161/0.3946, allocations: 3.118 MB / 450.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/0.3946, allocations: 35.34 kB / 450.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.953e-05/0.3947, allocations: 51.98 kB / 450.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.252e-05/0.3948, allocations: 64 kB / 450.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.3965, allocations: 0.5927 MB / 451.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.1e-05/0.3966, allocations: 91.66 kB / 451.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.3984, allocations: 412.1 kB / 451.9 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/0.3986, allocations: 155.9 kB / 452 MB, free: 276 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (317): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002017/0.4007, allocations: 1.562 MB / 453.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.4009, allocations: 130.3 kB / 453.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009417/0.4018, allocations: 0.6095 MB / 454.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004053/0.4022, allocations: 317.5 kB / 454.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4023, allocations: 3.938 kB / 454.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4023, allocations: 3.938 kB / 454.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005826/0.4081, allocations: 3.976 MB / 458.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.4081, allocations: 4 kB / 458.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.4084, allocations: 51.91 kB / 458.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.4084, allocations: 8 kB / 458.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.4084, allocations: 12 kB / 458.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/0.4084, allocations: 11.92 kB / 458.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.4085, allocations: 12.47 kB / 458.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.4095, allocations: 0.8958 MB / 459.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/0.4099, allocations: 255.3 kB / 459.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.4101, allocations: 11.98 kB / 459.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006006/0.4107, allocations: 43.89 kB / 459.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.4108, allocations: 35.91 kB / 460 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.4108, allocations: 16 kB / 460 MB, free: 8.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001748/0.4126, allocations: 1.339 MB / 461.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4126, allocations: 0 / 461.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002425/0.415, allocations: 0.922 MB / 462.2 MB, free: 5.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001416/0.4164, allocations: 1.496 MB / 463.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002344/0.4188, allocations: 1.669 MB / 465.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.4188, allocations: 8.062 kB / 465.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000256/0.4191, allocations: 175.6 kB / 465.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.4206, allocations: 306.8 kB / 465.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02747/0.4481, allocations: 20.01 MB / 485.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00324/0.4514, allocations: 2.887 MB / 488.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001991/0.4534, allocations: 0.7748 MB / 489.6 MB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001725/0.4551, allocations: 1.218 MB / 490.8 MB, free: 7.105 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4551, allocations: 0 / 490.8 MB, free: 7.105 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1302/0.5853, allocations: 40.16 MB / 0.5185 GB, free: 14.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.927/9.512, allocations: 19.7 kB / 0.5185 GB, free: 14.8 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches