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.001286/0.001286, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001544/0.001544, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9085/0.9085, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.463e-06/1.463e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.029e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.006375/0.006395, allocations: 8.021 MB / 332.5 MB, free: 7.824 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00361/0.01001, allocations: 2.542 MB / 335.1 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004905/0.0105, allocations: 79.62 kB / 335.2 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00336/0.01386, allocations: 3.68 MB / 338.8 MB, free: 1.508 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.01504, allocations: 0.7762 MB / 339.6 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009653/0.016, allocations: 0.8947 MB / 340.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002281/0.01829, allocations: 3.788 MB / 344.3 MB, free: 12.03 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004682/0.02297, allocations: 6.136 MB / 350.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00256/0.02553, allocations: 3.191 MB / 353.6 MB, free: 2.617 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.0271, allocations: 2.051 MB / 355.7 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004482/0.02755, allocations: 0.586 MB / 356.3 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008091/0.02836, allocations: 0.8042 MB / 357.1 MB, free: 15.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007969/0.02916, allocations: 1.122 MB / 358.2 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001647/0.0308, allocations: 1.524 MB / 359.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00674/0.03754, allocations: 8.01 MB / 367.7 MB, free: 4.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.403e-06/0.03755, allocations: 0 / 367.7 MB, free: 4.488 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.03755, allocations: 0 / 367.7 MB, free: 4.488 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002658/0.03782, allocations: 0 / 367.7 MB, free: 4.488 MB / 330.7 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.01069/0.04851, allocations: 4.828 MB / 372.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.04856, allocations: 11.98 kB / 372.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001036/0.0496, allocations: 0.5962 MB / 373.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004125/0.05372, allocations: 1.279 MB / 374.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/0.05697, allocations: 2.309 MB / 376.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.05716, allocations: 310.3 kB / 377 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006849/0.05784, allocations: 415.9 kB / 377.4 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00802/0.06586, allocations: 5.502 MB / 383 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.008e-05/0.06593, allocations: 7.938 kB / 383 MB, free: 5.078 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003409/0.06627, allocations: 172 kB / 383.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.0664, allocations: 180.5 kB / 383.3 MB, free: 4.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007026/0.07343, allocations: 4.796 MB / 388.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01902/0.09244, allocations: 17.09 MB / 405.2 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/0.09499, allocations: 1.749 MB / 406.9 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007996/0.09579, allocations: 0.7188 MB / 407.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.0959, allocations: 44.95 kB / 407.7 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.09593, allocations: 43.56 kB / 407.7 MB, free: 11.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 2.955e-06/0.09594, allocations: 3.938 kB / 407.8 MB, free: 11.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.001742/0.09768, allocations: 1.561 MB / 409.3 MB, free: 10.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.09772, allocations: 68.39 kB / 409.4 MB, free: 10.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.09924, allocations: 1.404 MB / 410.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.293e-05/0.09929, allocations: 37.7 kB / 410.8 MB, free: 8.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.1004, allocations: 1.815 MB / 412.6 MB, free: 6.758 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.1007, allocations: 376.9 kB / 413 MB, free: 6.387 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004193/0.1011, allocations: 455.6 kB / 413.4 MB, free: 5.934 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1012, allocations: 349.9 kB / 413.8 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008471/0.102, allocations: 0.8356 MB / 414.6 MB, free: 4.746 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.1033, allocations: 1.816 MB / 416.4 MB, free: 2.449 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002961/0.1062, allocations: 2.798 MB / 419.2 MB, free: 15.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.637e-05/0.1063, allocations: 12 kB / 419.3 MB, free: 15.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003178/0.1095, allocations: 2.747 MB / 422 MB, free: 12.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.1095, allocations: 27.88 kB / 422 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-05/0.1096, allocations: 32 kB / 422.1 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.475e-05/0.1096, allocations: 48 kB / 422.1 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000978/0.1106, allocations: 0.5231 MB / 422.6 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.523e-05/0.1106, allocations: 71.73 kB / 422.7 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009462/0.1116, allocations: 290 kB / 423 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.1117, allocations: 124 kB / 423.1 MB, free: 11.3 MB / 394.7 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.001667/0.1134, allocations: 1.484 MB / 424.6 MB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.1135, allocations: 123.2 kB / 424.7 MB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.1152, allocations: 1.458 MB / 426.2 MB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009482/0.1162, allocations: 1.049 MB / 427.2 MB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1162, allocations: 0 / 427.2 MB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.1162, allocations: 3.984 kB / 427.2 MB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.1268, allocations: 10.93 MB / 438.1 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/0.1268, allocations: 24 kB / 438.2 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004407/0.1272, allocations: 235.7 kB / 438.4 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.75e-05/0.1273, allocations: 28 kB / 438.4 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/0.1273, allocations: 51.92 kB / 438.5 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.03e-05/0.1273, allocations: 47.8 kB / 438.5 MB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.454e-05/0.1273, allocations: 31.88 kB / 438.6 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.1297, allocations: 2.629 MB / 441.2 MB, free: 8.512 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/0.13, allocations: 266.8 kB / 441.4 MB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.1301, allocations: 47.98 kB / 441.5 MB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.1306, allocations: 67.94 kB / 441.6 MB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.1307, allocations: 151.3 kB / 441.7 MB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.913e-05/0.1308, allocations: 63.98 kB / 441.8 MB, free: 7.926 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009548/0.1318, allocations: 0.9062 MB / 442.7 MB, free: 7.012 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1318, allocations: 0 / 442.7 MB, free: 7.012 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001879/0.1336, allocations: 0.8792 MB / 443.6 MB, free: 6.129 MB / 410.7 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.003015/0.1367, allocations: 3.263 MB / 446.8 MB, free: 2.555 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002627/0.1393, allocations: 1.837 MB / 448.7 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-05/0.1393, allocations: 4 kB / 448.7 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006283/0.1399, allocations: 0.6209 MB / 449.3 MB, free: 100 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1395/0.2794, allocations: 329 kB / 449.6 MB, free: 114 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/0.2985, allocations: 18.5 MB / 468.1 MB, free: 101.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001899/0.3004, allocations: 2.25 MB / 470.4 MB, free: 99.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001174/0.3015, allocations: 0.7617 MB / 471.1 MB, free: 98.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008585/0.3024, allocations: 1.152 MB / 472.3 MB, free: 97.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/0.3024, allocations: 3.719 kB / 472.3 MB, free: 97.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04323/0.3456, allocations: 40.49 MB / 0.5007 GB, free: 57.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/8.136, allocations: 7.938 kB / 0.5008 GB, free: 57.23 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/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: 9.92581728566438]