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.001843/0.001843, allocations: 118 kB / 18.45 MB, free: 4.566 MB / 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.002245/0.002245, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.461/1.461, allocations: 207.6 MB / 231.8 MB, free: 4.055 MB / 174.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.001842/0.001842, allocations: 47.94 kB / 342.3 MB, free: 9.984 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08805/0.08989, allocations: 49.13 MB / 391.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01146/0.1014, allocations: 9.746 MB / 401.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005568/0.1069, allocations: 2.765 MB / 403.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.1081, allocations: 67.69 kB / 404 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008364/0.1164, allocations: 3.796 MB / 407.8 MB, free: 8.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00345/0.1199, allocations: 0.909 MB / 408.7 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.1223, allocations: 0.9503 MB / 409.7 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005198/0.1275, allocations: 3.914 MB / 413.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01056/0.1381, allocations: 7.407 MB / 421 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003197/0.1413, allocations: 2.264 MB / 423.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004321/0.1456, allocations: 2.554 MB / 425.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002681/0.1483, allocations: 0.6054 MB / 426.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.1515, allocations: 0.8201 MB / 427.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001932/0.1535, allocations: 1.196 MB / 428.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004353/0.1578, allocations: 2.428 MB / 430.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.1686, allocations: 8.161 MB / 439 MB, free: 8.875 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1686, allocations: 0 / 439 MB, free: 8.875 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1686, allocations: 0 / 439 MB, free: 8.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002301/0.1688, allocations: 0 / 439 MB, free: 8.875 MB / 366.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.01601/0.1848, allocations: 5.25 MB / 444.3 MB, free: 3.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.1849, allocations: 8.031 kB / 444.3 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001533/0.1864, allocations: 0.6416 MB / 444.9 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01614/0.2025, allocations: 2.589 MB / 447.5 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00478/0.2073, allocations: 2.174 MB / 449.7 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000311/0.2076, allocations: 341.1 kB / 450 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/0.2088, allocations: 440 kB / 450.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01566/0.2245, allocations: 6.099 MB / 456.5 MB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000158/0.2246, allocations: 7.953 kB / 456.5 MB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001095/0.2257, allocations: 188 kB / 456.7 MB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002563/0.226, allocations: 217.3 kB / 456.9 MB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/0.2389, allocations: 5.783 MB / 462.7 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2222/0.4611, allocations: 21.2 MB / 483.9 MB, free: 46.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006229/0.4673, allocations: 8.823 MB / 492.7 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.4688, allocations: 0.8936 MB / 493.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004504/0.4733, allocations: 3.564 MB / 497.2 MB, free: 34.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.4733, allocations: 34.77 kB / 497.2 MB, free: 34.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.415e-06/0.4733, allocations: 0 / 497.2 MB, free: 34.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.000921/0.4742, allocations: 0.6565 MB / 497.9 MB, free: 33.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.4742, allocations: 55.34 kB / 497.9 MB, free: 33.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/0.4763, allocations: 1.987 MB / 499.9 MB, free: 32.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.4763, allocations: 29.7 kB / 500 MB, free: 32.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007685/0.4771, allocations: 2.273 MB / 0.4905 GB, free: 31.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.726e-05/0.4772, allocations: 155.6 kB / 0.4906 GB, free: 30.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006276/0.4778, allocations: 0.5416 MB / 0.4911 GB, free: 30.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.532e-05/0.4779, allocations: 353.5 kB / 0.4915 GB, free: 30.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009357/0.4788, allocations: 0.8734 MB / 0.4923 GB, free: 29.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.4802, allocations: 2.246 MB / 0.4945 GB, free: 27.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002318/0.4825, allocations: 3.074 MB / 0.4975 GB, free: 24.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.489e-05/0.4826, allocations: 11 kB / 0.4975 GB, free: 24.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.003915/0.4865, allocations: 3.134 MB / 0.5006 GB, free: 21.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.4865, allocations: 32.19 kB / 0.5006 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4e-05/0.4866, allocations: 52 kB / 0.5007 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.677e-05/0.4866, allocations: 67.98 kB / 0.5007 GB, free: 21.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.4882, allocations: 0.5888 MB / 0.5013 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.346e-05/0.4882, allocations: 95.59 kB / 0.5014 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.4901, allocations: 417.3 kB / 0.5018 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.4903, allocations: 144 kB / 0.5019 GB, free: 20.59 MB / 382.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.002039/0.4923, allocations: 1.562 MB / 0.5035 GB, free: 19.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/0.4926, allocations: 139.1 kB / 0.5036 GB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009116/0.4935, allocations: 0.6039 MB / 0.5042 GB, free: 18.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003583/0.4939, allocations: 325.5 kB / 0.5045 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4939, allocations: 0 / 0.5045 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4939, allocations: 4 kB / 0.5045 GB, free: 17.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00485/0.4987, allocations: 3.976 MB / 0.5084 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.525e-06/0.4987, allocations: 7.984 kB / 0.5084 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.499, allocations: 59.91 kB / 0.5085 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.499, allocations: 4 kB / 0.5085 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.499, allocations: 8 kB / 0.5085 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.499, allocations: 15.92 kB / 0.5085 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.499, allocations: 4 kB / 0.5085 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008389/0.4998, allocations: 0.8918 MB / 0.5094 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003531/0.5002, allocations: 260.1 kB / 0.5096 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.5003, allocations: 23.88 kB / 0.5096 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005464/0.5009, allocations: 39.95 kB / 0.5097 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.5009, allocations: 33.97 kB / 0.5097 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.501, allocations: 16 kB / 0.5097 GB, free: 12.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00141/0.5024, allocations: 1.335 MB / 0.511 GB, free: 11.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5024, allocations: 0 / 0.511 GB, free: 11.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002365/0.5047, allocations: 0.9338 MB / 0.5119 GB, free: 10.07 MB / 382.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.001193/0.5059, allocations: 1.488 MB / 0.5134 GB, free: 8.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002186/0.5081, allocations: 1.591 MB / 0.5149 GB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5081, allocations: 0 / 0.5149 GB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.5083, allocations: 176.9 kB / 0.5151 GB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.5098, allocations: 302.2 kB / 0.5154 GB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02687/0.5367, allocations: 19.37 MB / 0.5343 GB, free: 1.348 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003444/0.5401, allocations: 2.897 MB / 0.5371 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002186/0.5423, allocations: 0.7709 MB / 0.5379 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001847/0.5442, allocations: 1.218 MB / 0.5391 GB, free: 12.42 MB / 414.1 MB Notification: Performance of SimCode: time 1.804e-06/0.5442, allocations: 4 kB / 0.5391 GB, free: 12.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08361/0.6278, allocations: 41.66 MB / 0.5798 GB, free: 2.633 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.42, allocations: 7.875 kB / 0.5798 GB, free: 2.625 MB / 446.1 MB " [Timeout remaining time 648] (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: 13.944863045006059]