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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 214.5 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 54.58 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2421, allocations: 49.15 MB / 396.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.008588/0.2507, allocations: 8.468 MB / 404.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005054/0.2557, allocations: 2.656 MB / 407.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.2568, allocations: 66.84 kB / 407.5 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007595/0.2644, allocations: 3.506 MB / 411 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003535/0.2679, allocations: 0.9134 MB / 412 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.2702, allocations: 0.9076 MB / 412.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004686/0.2749, allocations: 3.944 MB / 416.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008394/0.2833, allocations: 6.216 MB / 423 MB, free: 7.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/0.2865, allocations: 2.263 MB / 425.3 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003605/0.2901, allocations: 2.472 MB / 427.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008499/0.291, allocations: 0.6055 MB / 428.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.2926, allocations: 0.8044 MB / 429.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.2936, allocations: 1.2 MB / 430.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002231/0.2959, allocations: 1.891 MB / 432.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008404/0.3043, allocations: 8.198 MB / 440.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3043, allocations: 4 kB / 440.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3043, allocations: 0 / 440.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001381/0.3044, allocations: 0 / 440.5 MB, free: 6.84 MB / 350.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.01314/0.3176, allocations: 5.179 MB / 445.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3176, allocations: 11.98 kB / 445.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001167/0.3188, allocations: 0.6416 MB / 446.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01621/0.335, allocations: 2.585 MB / 448.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005437/0.3404, allocations: 2.161 MB / 451 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000315/0.3407, allocations: 341.1 kB / 451.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001109/0.3419, allocations: 440 kB / 451.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/0.3543, allocations: 6.139 MB / 457.9 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/0.3544, allocations: 3.953 kB / 458 MB, free: 5.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004697/0.3549, allocations: 180 kB / 458.1 MB, free: 5.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002308/0.3551, allocations: 213.3 kB / 458.3 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/0.366, allocations: 5.763 MB / 464.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03312/0.3991, allocations: 18.64 MB / 482.7 MB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006516/0.4056, allocations: 2.699 MB / 485.4 MB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.4072, allocations: 0.8868 MB / 486.3 MB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005941/0.4132, allocations: 2.368 MB / 488.7 MB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.4132, allocations: 42.73 kB / 488.7 MB, free: 5.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.335e-06/0.4132, allocations: 0 / 488.7 MB, free: 5.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001195/0.4144, allocations: 0.6422 MB / 489.4 MB, free: 5.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.4144, allocations: 51.41 kB / 489.4 MB, free: 5.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003388/0.4178, allocations: 2.099 MB / 491.5 MB, free: 3.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.4179, allocations: 33.64 kB / 491.6 MB, free: 3.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.4196, allocations: 2.276 MB / 493.8 MB, free: 0.7695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.4198, allocations: 143.1 kB / 494 MB, free: 0.6289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009206/0.4207, allocations: 0.5552 MB / 494.5 MB, free: 68 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.4209, allocations: 345.9 kB / 494.9 MB, free: 15.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.4224, allocations: 0.8754 MB / 495.7 MB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002532/0.4249, allocations: 2.243 MB / 498 MB, free: 11.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003721/0.4286, allocations: 3.067 MB / 0.4893 GB, free: 8.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-05/0.4287, allocations: 16 kB / 0.4893 GB, free: 8.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.00529/0.4339, allocations: 3.134 MB / 0.4924 GB, free: 5.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.434, allocations: 27.91 kB / 0.4924 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.562e-05/0.4341, allocations: 48 kB / 0.4925 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.626e-05/0.4341, allocations: 64.72 kB / 0.4925 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/0.436, allocations: 0.5927 MB / 0.4931 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001022/0.4361, allocations: 103.6 kB / 0.4932 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.4381, allocations: 413.3 kB / 0.4936 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002117/0.4384, allocations: 144 kB / 0.4937 GB, free: 3.641 MB / 414.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.002249/0.4406, allocations: 1.566 MB / 0.4953 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/0.4409, allocations: 143 kB / 0.4954 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.4419, allocations: 0.6096 MB / 0.496 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004576/0.4424, allocations: 329.3 kB / 0.4963 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4424, allocations: 0 / 0.4963 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.4424, allocations: 3.984 kB / 0.4963 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00672/0.4491, allocations: 3.727 MB / 0.4999 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.4491, allocations: 4 kB / 0.5 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.4494, allocations: 59.91 kB / 0.5 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.4494, allocations: 4.594 kB / 0.5 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.4494, allocations: 11.94 kB / 0.5 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.4494, allocations: 15.98 kB / 0.5 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.4494, allocations: 7.938 kB / 0.5 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.4506, allocations: 0.8977 MB / 0.5009 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005132/0.4511, allocations: 195 kB / 0.5011 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.4513, allocations: 19.92 kB / 0.5011 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006164/0.4519, allocations: 39.95 kB / 0.5012 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.452, allocations: 39.83 kB / 0.5012 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.452, allocations: 16.06 kB / 0.5012 GB, free: 11.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001913/0.4539, allocations: 1.335 MB / 0.5025 GB, free: 10.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4539, allocations: 0 / 0.5025 GB, free: 10.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002615/0.4565, allocations: 0.9338 MB / 0.5034 GB, free: 9.453 MB / 430.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.001767/0.4583, allocations: 1.485 MB / 0.5049 GB, free: 7.883 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.4611, allocations: 1.575 MB / 0.5064 GB, free: 6.312 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.4611, allocations: 0 / 0.5064 GB, free: 6.312 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.4614, allocations: 181.3 kB / 0.5066 GB, free: 6.137 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.463, allocations: 293.8 kB / 0.5069 GB, free: 5.848 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03322/0.4962, allocations: 19.36 MB / 0.5258 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003638/0.4998, allocations: 2.35 MB / 0.5281 GB, free: 14.31 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002063/0.5019, allocations: 0.7748 MB / 0.5288 GB, free: 13.53 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001975/0.5039, allocations: 1.214 MB / 0.53 GB, free: 12.32 MB / 462.1 MB Notification: Performance of SimCode: time 2.084e-06/0.5039, allocations: 0 / 0.53 GB, free: 12.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2509/0.7548, allocations: 42.34 MB / 0.5714 GB, free: 144.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.2, allocations: 2.125 kB / 0.5714 GB, free: 144.9 MB / 478.1 MB " [Timeout remaining time 647] (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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.561817323789]