Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001235, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 58.59 kB / 307.1 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08274/0.0839, allocations: 50.54 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01012/0.09405, allocations: 9.132 MB / 366.7 MB, free: 4.836 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004548/0.09863, allocations: 2.639 MB / 369.4 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.09968, allocations: 67.81 kB / 369.4 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1521/0.2518, allocations: 3.722 MB / 373.1 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002823/0.2547, allocations: 0.7486 MB / 373.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.2567, allocations: 0.9279 MB / 374.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003455/0.2601, allocations: 3.603 MB / 378.4 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01009/0.2702, allocations: 9.54 MB / 388 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002607/0.2729, allocations: 2.088 MB / 390.1 MB, free: 4.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002673/0.2756, allocations: 2.379 MB / 392.4 MB, free: 2.887 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006893/0.2763, allocations: 0.588 MB / 393 MB, free: 2.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.2776, allocations: 0.8184 MB / 393.8 MB, free: 2.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007491/0.2784, allocations: 1.106 MB / 394.9 MB, free: 2.023 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001978/0.2804, allocations: 2.279 MB / 397.2 MB, free: 480 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006773/0.2872, allocations: 7.906 MB / 405.1 MB, free: 10.24 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2872, allocations: 0 / 405.1 MB, free: 10.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2872, allocations: 0 / 405.1 MB, free: 10.24 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.693e-05/0.2873, allocations: 0 / 405.1 MB, free: 10.24 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01072/0.298, allocations: 4.852 MB / 410 MB, free: 5.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2981, allocations: 16.03 kB / 410 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007563/0.2988, allocations: 0.5905 MB / 410.6 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008005/0.3068, allocations: 1.289 MB / 411.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003401/0.3103, allocations: 2.24 MB / 414.1 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/0.3105, allocations: 316 kB / 414.4 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005761/0.3111, allocations: 412 kB / 414.8 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008884/0.32, allocations: 5.466 MB / 420.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.239e-05/0.32, allocations: 3.906 kB / 420.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003758/0.3204, allocations: 170.7 kB / 420.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.3206, allocations: 180.6 kB / 420.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007457/0.3281, allocations: 4.804 MB / 425.4 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.024/0.3521, allocations: 19.54 MB / 445 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004552/0.3566, allocations: 3.883 MB / 448.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.3579, allocations: 0.7798 MB / 449.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/0.3581, allocations: 199.1 kB / 449.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.3581, allocations: 43.5 kB / 449.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 2.805e-06/0.3582, allocations: 0 / 449.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.002297/0.3605, allocations: 1.553 MB / 451.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.3605, allocations: 60.41 kB / 451.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.3622, allocations: 1.33 MB / 452.8 MB, free: 9.285 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.3623, allocations: 41.7 kB / 452.9 MB, free: 9.238 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009385/0.3632, allocations: 1.761 MB / 454.6 MB, free: 7.461 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/0.3635, allocations: 368.7 kB / 455 MB, free: 7.105 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005497/0.3641, allocations: 447.3 kB / 455.4 MB, free: 6.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3642, allocations: 353.9 kB / 455.8 MB, free: 6.309 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.3653, allocations: 0.8239 MB / 456.6 MB, free: 5.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.3671, allocations: 1.827 MB / 458.4 MB, free: 3.172 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002967/0.37, allocations: 2.794 MB / 461.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/0.3701, allocations: 12 kB / 461.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003753/0.3738, allocations: 2.734 MB / 464 MB, free: 13.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.3739, allocations: 16 kB / 464 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.488e-05/0.3739, allocations: 36 kB / 464 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.188e-05/0.374, allocations: 48 kB / 464.1 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.3756, allocations: 0.5186 MB / 464.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.428e-05/0.3757, allocations: 67.78 kB / 464.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.3769, allocations: 293.5 kB / 464.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.377, allocations: 112 kB / 465 MB, free: 12.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * 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.001928/0.3789, allocations: 1.492 MB / 466.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.3791, allocations: 122.4 kB / 466.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.3813, allocations: 1.462 MB / 468.1 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001376/0.3827, allocations: 1.037 MB / 469.2 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3827, allocations: 3.938 kB / 469.2 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.3827, allocations: 7.984 kB / 469.2 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/0.3985, allocations: 13.73 MB / 482.9 MB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-05/0.3986, allocations: 24 kB / 482.9 MB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007834/0.3994, allocations: 231.5 kB / 483.1 MB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.531e-05/0.3994, allocations: 28 kB / 483.2 MB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.174e-05/0.3995, allocations: 48 kB / 483.2 MB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.754e-05/0.3995, allocations: 39.86 kB / 483.3 MB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-05/0.3995, allocations: 35.81 kB / 483.3 MB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/0.4025, allocations: 2.656 MB / 486 MB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/0.403, allocations: 331.2 kB / 486.3 MB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.4032, allocations: 47.98 kB / 486.3 MB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000738/0.4039, allocations: 67.94 kB / 486.4 MB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.4041, allocations: 151.4 kB / 486.5 MB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/0.4042, allocations: 56 kB / 486.6 MB, free: 5.176 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001137/0.4053, allocations: 0.9062 MB / 487.5 MB, free: 4.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4053, allocations: 0 / 487.5 MB, free: 4.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002305/0.4077, allocations: 0.8623 MB / 488.4 MB, free: 3.395 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (106): * Single equations (assignments): 105 * 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.003365/0.411, allocations: 3.303 MB / 491.7 MB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00261/0.4137, allocations: 1.921 MB / 493.6 MB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.4137, allocations: 4 kB / 493.6 MB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000806/0.4145, allocations: 0.6345 MB / 494.2 MB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.4164, allocations: 347.8 kB / 494.6 MB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02382/0.4402, allocations: 19.12 MB / 0.5016 GB, free: 7.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00278/0.443, allocations: 2.809 MB / 0.5044 GB, free: 4.996 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001845/0.4449, allocations: 0.7615 MB / 0.5051 GB, free: 4.227 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/0.4463, allocations: 1.148 MB / 0.5063 GB, free: 3.078 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4463, allocations: 0 / 0.5063 GB, free: 3.078 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2082/0.6545, allocations: 38.02 MB / 0.5434 GB, free: 140.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.39, allocations: 8 kB / 0.5434 GB, free: 140.5 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.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_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches