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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001456/0.001456, allocations: 207.1 kB / 23.73 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 59.91 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2309, allocations: 53.4 MB / 431.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01076/0.2416, allocations: 8.007 MB / 439.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005582/0.2472, allocations: 2.538 MB / 441.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008394/0.2481, allocations: 75.69 kB / 441.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008246/0.2563, allocations: 3.471 MB / 445.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.2587, allocations: 0.7455 MB / 446 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.2608, allocations: 0.91 MB / 446.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004323/0.2651, allocations: 3.642 MB / 450.5 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008735/0.2738, allocations: 6.128 MB / 456.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002834/0.2767, allocations: 2.151 MB / 458.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003432/0.2801, allocations: 2.289 MB / 461.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009175/0.281, allocations: 0.5859 MB / 461.7 MB, free: 7.758 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.2826, allocations: 0.8006 MB / 462.5 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.2837, allocations: 1.111 MB / 463.6 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002371/0.2861, allocations: 1.778 MB / 465.4 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008684/0.2947, allocations: 7.959 MB / 473.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2947, allocations: 0 / 473.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2948, allocations: 0 / 473.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001492/0.2949, allocations: 0 / 473.3 MB, free: 12.07 MB / 382.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.01194/0.3068, allocations: 4.861 MB / 478.2 MB, free: 7.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3069, allocations: 11.98 kB / 478.2 MB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008927/0.3078, allocations: 0.6001 MB / 478.8 MB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007828/0.3156, allocations: 1.282 MB / 480.1 MB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00502/0.3206, allocations: 2.321 MB / 482.4 MB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002747/0.3209, allocations: 308.4 kB / 482.7 MB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007156/0.3216, allocations: 415.9 kB / 483.1 MB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009865/0.3315, allocations: 5.502 MB / 488.6 MB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.775e-05/0.3316, allocations: 0 / 488.6 MB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004197/0.332, allocations: 172 kB / 488.8 MB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001927/0.3322, allocations: 176.6 kB / 489 MB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008298/0.3405, allocations: 4.792 MB / 493.8 MB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0276/0.3681, allocations: 17.09 MB / 0.4989 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00423/0.3723, allocations: 1.752 MB / 0.5006 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.3736, allocations: 0.7191 MB / 0.5013 GB, free: 3.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.3738, allocations: 48.91 kB / 0.5013 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.3738, allocations: 47.55 kB / 0.5014 GB, free: 3.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.076e-06/0.3738, allocations: 0 / 0.5014 GB, free: 3.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002611/0.3764, allocations: 1.558 MB / 0.5029 GB, free: 1.699 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.3765, allocations: 64.41 kB / 0.503 GB, free: 1.621 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.3785, allocations: 1.4 MB / 0.5043 GB, free: 208 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.094e-05/0.3786, allocations: 41.7 kB / 0.5044 GB, free: 160 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001395/0.3799, allocations: 1.823 MB / 0.5061 GB, free: 14.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/0.3803, allocations: 381 kB / 0.5065 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006416/0.3809, allocations: 451.7 kB / 0.5069 GB, free: 13.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002409/0.3812, allocations: 353.9 kB / 0.5073 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.3825, allocations: 0.8356 MB / 0.5081 GB, free: 12.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/0.3847, allocations: 1.823 MB / 0.5099 GB, free: 9.992 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003925/0.3886, allocations: 2.798 MB / 0.5126 GB, free: 6.723 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-05/0.3886, allocations: 8 kB / 0.5126 GB, free: 6.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004405/0.393, allocations: 2.75 MB / 0.5153 GB, free: 3.953 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/0.3931, allocations: 22.5 kB / 0.5153 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.226e-05/0.3931, allocations: 32 kB / 0.5154 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.31e-05/0.3932, allocations: 48 kB / 0.5154 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.3949, allocations: 0.5193 MB / 0.5159 GB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.525e-05/0.395, allocations: 75.72 kB / 0.516 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.3963, allocations: 294 kB / 0.5163 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.3964, allocations: 119.9 kB / 0.5164 GB, free: 2.855 MB / 430.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.002218/0.3986, allocations: 1.48 MB / 0.5178 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.3989, allocations: 127.2 kB / 0.5179 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.4013, allocations: 1.462 MB / 0.5194 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001569/0.4028, allocations: 1.041 MB / 0.5204 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4028, allocations: 0 / 0.5204 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.4028, allocations: 15.91 kB / 0.5204 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01688/0.4197, allocations: 10.94 MB / 0.5311 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.697e-05/0.4197, allocations: 20 kB / 0.5311 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008405/0.4206, allocations: 239.7 kB / 0.5313 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.769e-05/0.4206, allocations: 28 kB / 0.5314 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.336e-05/0.4207, allocations: 48 kB / 0.5314 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-05/0.4207, allocations: 47.78 kB / 0.5314 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.974e-05/0.4208, allocations: 39.8 kB / 0.5315 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003583/0.4244, allocations: 2.672 MB / 0.5341 GB, free: 0 / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/0.4254, allocations: 265.2 kB / 0.5343 GB, free: 96.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/0.4256, allocations: 53.11 kB / 0.5344 GB, free: 96.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000914/0.4265, allocations: 68.06 kB / 0.5345 GB, free: 96.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/0.4267, allocations: 149.7 kB / 0.5346 GB, free: 96.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.4268, allocations: 57.05 kB / 0.5347 GB, free: 96.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001309/0.4282, allocations: 0.9049 MB / 0.5355 GB, free: 96.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4282, allocations: 0 / 0.5355 GB, free: 96.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002255/0.4304, allocations: 0.8759 MB / 0.5364 GB, free: 96.65 MB / 446.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.002955/0.4334, allocations: 3.308 MB / 0.5396 GB, free: 94.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002418/0.4358, allocations: 1.847 MB / 0.5414 GB, free: 94.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/0.4358, allocations: 3.609 kB / 0.5414 GB, free: 94.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007038/0.4365, allocations: 0.6211 MB / 0.542 GB, free: 93.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.4384, allocations: 338.9 kB / 0.5424 GB, free: 93.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01766/0.456, allocations: 18.61 MB / 0.5605 GB, free: 79.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00176/0.4578, allocations: 2.254 MB / 0.5627 GB, free: 78.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001387/0.4592, allocations: 0.7623 MB / 0.5635 GB, free: 77.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009891/0.4602, allocations: 1.151 MB / 0.5646 GB, free: 76.4 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4602, allocations: 0 / 0.5646 GB, free: 76.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06769/0.5279, allocations: 40.45 MB / 0.6041 GB, free: 36.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.73, allocations: 2.531 kB / 0.6041 GB, free: 36.19 MB / 446.1 MB " [Timeout remaining time 647] (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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.391886439174414]