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.00182/0.00182, allocations: 110 kB / 20.43 MB, free: 1.453 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.002166/0.002166, allocations: 210.7 kB / 23.74 MB, free: 4.66 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.454/1.454, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.001931/0.001931, allocations: 55.91 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.263, allocations: 53.41 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01131/0.2743, allocations: 9.201 MB / 440.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005618/0.28, allocations: 2.674 MB / 443.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.2813, allocations: 79.62 kB / 443.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008792/0.2901, allocations: 3.761 MB / 446.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003394/0.2935, allocations: 0.765 MB / 447.7 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.2962, allocations: 0.953 MB / 448.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005433/0.3016, allocations: 3.653 MB / 452.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01013/0.3117, allocations: 6.187 MB / 458.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003368/0.3151, allocations: 2.135 MB / 460.6 MB, free: 9.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004138/0.3192, allocations: 2.387 MB / 463 MB, free: 6.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001375/0.3206, allocations: 0.5859 MB / 463.6 MB, free: 6.141 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.3226, allocations: 0.8161 MB / 464.4 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.3238, allocations: 1.114 MB / 465.5 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003602/0.3274, allocations: 2.284 MB / 467.8 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009921/0.3373, allocations: 7.932 MB / 475.7 MB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.3373, allocations: 0 / 475.7 MB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3373, allocations: 0 / 475.7 MB, free: 9.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001857/0.3375, allocations: 0 / 475.7 MB, free: 9.957 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.01926/0.3568, allocations: 4.857 MB / 480.6 MB, free: 5.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/0.3569, allocations: 12.03 kB / 480.6 MB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002493/0.3593, allocations: 0.5923 MB / 481.2 MB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/0.3705, allocations: 1.286 MB / 482.5 MB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006813/0.3773, allocations: 2.313 MB / 484.8 MB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004981/0.3778, allocations: 312.4 kB / 485.1 MB, free: 496 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001963/0.3797, allocations: 416 kB / 485.5 MB, free: 80 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02007/0.3998, allocations: 5.481 MB / 491 MB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002339/0.4, allocations: 0 / 491 MB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001483/0.4015, allocations: 172 kB / 491.1 MB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003094/0.4018, allocations: 176.6 kB / 491.3 MB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/0.415, allocations: 4.808 MB / 496.1 MB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03594/0.451, allocations: 18.55 MB / 0.5026 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004241/0.4552, allocations: 1.78 MB / 0.5043 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.4566, allocations: 0.7113 MB / 0.505 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/0.4568, allocations: 48.86 kB / 0.5051 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/0.4569, allocations: 47.55 kB / 0.5051 GB, free: 15.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 2.745e-06/0.4569, allocations: 3.938 kB / 0.5051 GB, free: 15.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.00279/0.4597, allocations: 1.558 MB / 0.5067 GB, free: 14.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.4598, allocations: 60.41 kB / 0.5067 GB, free: 14.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/0.4622, allocations: 1.342 MB / 0.508 GB, free: 12.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.008e-05/0.4623, allocations: 41.7 kB / 0.5081 GB, free: 12.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001466/0.4637, allocations: 1.831 MB / 0.5099 GB, free: 10.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003929/0.4641, allocations: 376.9 kB / 0.5102 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007251/0.4649, allocations: 463.6 kB / 0.5107 GB, free: 9.949 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.465, allocations: 349.9 kB / 0.511 GB, free: 9.602 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.4664, allocations: 0.8279 MB / 0.5118 GB, free: 8.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002321/0.4687, allocations: 1.823 MB / 0.5136 GB, free: 6.465 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003848/0.4726, allocations: 2.802 MB / 0.5163 GB, free: 3.191 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-05/0.4726, allocations: 8 kB / 0.5163 GB, free: 3.184 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004575/0.4772, allocations: 2.747 MB / 0.519 GB, free: 436 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.4772, allocations: 20 kB / 0.519 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.702e-05/0.4773, allocations: 32 kB / 0.5191 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.127e-05/0.4774, allocations: 48 kB / 0.5191 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.4791, allocations: 0.5186 MB / 0.5196 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.912e-05/0.4791, allocations: 71.72 kB / 0.5197 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.4804, allocations: 298.4 kB / 0.52 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.4806, allocations: 119.9 kB / 0.5201 GB, free: 15.33 MB / 446.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.002337/0.483, allocations: 1.484 MB / 0.5215 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.4832, allocations: 127.2 kB / 0.5216 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/0.4856, allocations: 1.454 MB / 0.5231 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001534/0.4872, allocations: 1.045 MB / 0.5241 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4872, allocations: 0 / 0.5241 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.4872, allocations: 7.969 kB / 0.5241 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2298/0.717, allocations: 11.06 MB / 0.5349 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.389e-05/0.717, allocations: 20.84 kB / 0.5349 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.7181, allocations: 230.8 kB / 0.5351 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.767e-05/0.7182, allocations: 27.19 kB / 0.5352 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/0.7183, allocations: 54.27 kB / 0.5352 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.767e-05/0.7184, allocations: 41.97 kB / 0.5353 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.884e-05/0.7184, allocations: 32.44 kB / 0.5353 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003404/0.7218, allocations: 2.675 MB / 0.5379 GB, free: 93.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007141/0.7225, allocations: 263.3 kB / 0.5381 GB, free: 93.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.7227, allocations: 51.38 kB / 0.5382 GB, free: 93.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008108/0.7235, allocations: 70.89 kB / 0.5383 GB, free: 93.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/0.7237, allocations: 150.5 kB / 0.5384 GB, free: 93.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.759e-05/0.7238, allocations: 58.94 kB / 0.5385 GB, free: 93.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001182/0.725, allocations: 0.9119 MB / 0.5394 GB, free: 93.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.725, allocations: 0 / 0.5394 GB, free: 93.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002384/0.7274, allocations: 0.8762 MB / 0.5402 GB, free: 93.63 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.003257/0.7306, allocations: 3.311 MB / 0.5434 GB, free: 91.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002444/0.7331, allocations: 1.844 MB / 0.5452 GB, free: 90.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/0.7331, allocations: 3.281 kB / 0.5452 GB, free: 90.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006783/0.7338, allocations: 0.6246 MB / 0.5459 GB, free: 90.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.7355, allocations: 350.4 kB / 0.5462 GB, free: 90.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01913/0.7547, allocations: 18.6 MB / 0.5644 GB, free: 76.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001911/0.7566, allocations: 2.807 MB / 0.5671 GB, free: 74.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001346/0.7579, allocations: 0.7675 MB / 0.5678 GB, free: 73.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009718/0.7589, allocations: 1.144 MB / 0.569 GB, free: 72.44 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.7589, allocations: 0 / 0.569 GB, free: 72.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07283/0.8317, allocations: 41.58 MB / 0.6096 GB, free: 31.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.27, allocations: 7.469 kB / 0.6096 GB, free: 31.01 MB / 446.1 MB " [Timeout remaining time 646] (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: 16.829913483998098]