Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.001318/0.001318, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001443/0.001443, allocations: 212.1 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 51.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2271, allocations: 53.36 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01124/0.2384, allocations: 8.007 MB / 439.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005377/0.2438, allocations: 2.538 MB / 441.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.2449, allocations: 71.69 kB / 441.7 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008875/0.2538, allocations: 3.464 MB / 445.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002942/0.2567, allocations: 0.7565 MB / 445.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002401/0.2591, allocations: 0.8996 MB / 446.8 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004703/0.2639, allocations: 3.65 MB / 450.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009105/0.273, allocations: 6.124 MB / 456.6 MB, free: 13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003064/0.276, allocations: 2.151 MB / 458.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003775/0.2798, allocations: 2.293 MB / 461 MB, free: 8.539 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001067/0.2809, allocations: 0.582 MB / 461.6 MB, free: 7.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.2826, allocations: 0.8006 MB / 462.4 MB, free: 7.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.2836, allocations: 1.114 MB / 463.5 MB, free: 6.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00239/0.286, allocations: 1.774 MB / 465.3 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00892/0.295, allocations: 7.955 MB / 473.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.295, allocations: 0 / 473.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.295, allocations: 0 / 473.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001686/0.2951, allocations: 0 / 473.3 MB, free: 12.28 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.01233/0.3075, allocations: 4.861 MB / 478.1 MB, free: 7.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.3075, allocations: 12.03 kB / 478.1 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009245/0.3084, allocations: 0.5923 MB / 478.7 MB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008086/0.3165, allocations: 1.282 MB / 480 MB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005314/0.3218, allocations: 2.325 MB / 482.3 MB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002923/0.3221, allocations: 316.4 kB / 482.7 MB, free: 2.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000817/0.3229, allocations: 411.9 kB / 483.1 MB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.3333, allocations: 5.502 MB / 488.6 MB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000128/0.3334, allocations: 4 kB / 488.6 MB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003997/0.3338, allocations: 172 kB / 488.7 MB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002097/0.334, allocations: 180.6 kB / 488.9 MB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009018/0.343, allocations: 4.792 MB / 493.7 MB, free: 7.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02894/0.372, allocations: 17.08 MB / 0.4988 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004101/0.3761, allocations: 1.749 MB / 0.5005 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.3774, allocations: 0.7223 MB / 0.5012 GB, free: 3.566 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/0.3776, allocations: 40.97 kB / 0.5013 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.3776, allocations: 51.48 kB / 0.5013 GB, free: 3.465 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.886e-06/0.3776, allocations: 0 / 0.5013 GB, free: 3.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002603/0.3802, allocations: 1.554 MB / 0.5028 GB, free: 1.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.3803, allocations: 64.41 kB / 0.5029 GB, free: 1.832 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/0.3823, allocations: 1.4 MB / 0.5043 GB, free: 424 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.562e-05/0.3823, allocations: 41.7 kB / 0.5043 GB, free: 376 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001358/0.3837, allocations: 1.831 MB / 0.5061 GB, free: 14.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003481/0.3841, allocations: 373 kB / 0.5064 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006368/0.3847, allocations: 463.7 kB / 0.5069 GB, free: 13.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.3849, allocations: 349.7 kB / 0.5072 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.3862, allocations: 0.8318 MB / 0.508 GB, free: 12.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.3883, allocations: 1.823 MB / 0.5098 GB, free: 10.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003567/0.3919, allocations: 2.798 MB / 0.5125 GB, free: 6.922 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.659e-05/0.3919, allocations: 12 kB / 0.5126 GB, free: 6.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004328/0.3963, allocations: 2.75 MB / 0.5152 GB, free: 4.152 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.3963, allocations: 20 kB / 0.5153 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.933e-05/0.3963, allocations: 32 kB / 0.5153 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.588e-05/0.3964, allocations: 48 kB / 0.5153 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.3981, allocations: 0.5193 MB / 0.5158 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.594e-05/0.3982, allocations: 75.72 kB / 0.5159 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.3995, allocations: 294 kB / 0.5162 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/0.3996, allocations: 116 kB / 0.5163 GB, free: 3.059 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.002148/0.4018, allocations: 1.488 MB / 0.5178 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.402, allocations: 127.2 kB / 0.5179 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/0.4044, allocations: 1.458 MB / 0.5193 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001582/0.406, allocations: 1.049 MB / 0.5203 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.406, allocations: 0 / 0.5203 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.406, allocations: 15.91 kB / 0.5203 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/0.4229, allocations: 10.93 MB / 0.531 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.612e-05/0.423, allocations: 20.22 kB / 0.531 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008412/0.4238, allocations: 243.5 kB / 0.5313 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.898e-05/0.4238, allocations: 28 kB / 0.5313 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.583e-05/0.4239, allocations: 44 kB / 0.5313 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.095e-05/0.424, allocations: 43.84 kB / 0.5314 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.395e-05/0.424, allocations: 35.81 kB / 0.5314 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003782/0.4278, allocations: 2.679 MB / 0.534 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1896/0.6174, allocations: 258.9 kB / 0.5343 GB, free: 97.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005784/0.618, allocations: 48.86 kB / 0.5343 GB, free: 97.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009978/0.619, allocations: 67.2 kB / 0.5344 GB, free: 97.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/0.6192, allocations: 148.5 kB / 0.5345 GB, free: 97.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.6193, allocations: 60.34 kB / 0.5346 GB, free: 97.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00151/0.6209, allocations: 0.9079 MB / 0.5355 GB, free: 96.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6209, allocations: 0 / 0.5355 GB, free: 96.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002296/0.6231, allocations: 0.8791 MB / 0.5363 GB, free: 96.9 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.00303/0.6262, allocations: 3.308 MB / 0.5396 GB, free: 95.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002566/0.6287, allocations: 1.846 MB / 0.5414 GB, free: 94.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/0.6288, allocations: 5.281 kB / 0.5414 GB, free: 94.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007499/0.6295, allocations: 0.6234 MB / 0.542 GB, free: 94.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.6314, allocations: 340.2 kB / 0.5423 GB, free: 94.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/0.6505, allocations: 18.61 MB / 0.5605 GB, free: 80.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00183/0.6523, allocations: 2.25 MB / 0.5627 GB, free: 78.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001508/0.6538, allocations: 0.7624 MB / 0.5634 GB, free: 77.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/0.6549, allocations: 1.151 MB / 0.5645 GB, free: 76.75 MB / 446.1 MB Notification: Performance of SimCode: time 1.213e-06/0.6549, allocations: 0 / 0.5645 GB, free: 76.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06589/0.7208, allocations: 40.47 MB / 0.6041 GB, free: 36.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.87, allocations: 15.16 kB / 0.6041 GB, free: 36.61 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.312134774401784]