Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 123.9 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 185.2 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 47.92 kB / 365.6 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09993/0.1014, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01093/0.1123, allocations: 9.166 MB / 427 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005452/0.1178, allocations: 2.581 MB / 429.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.1189, allocations: 67.81 kB / 429.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00853/0.1274, allocations: 3.76 MB / 433.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003586/0.131, allocations: 0.9201 MB / 434.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.1332, allocations: 0.7903 MB / 435.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005214/0.1385, allocations: 3.63 MB / 438.7 MB, free: 7.598 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01258/0.151, allocations: 7.383 MB / 446.1 MB, free: 132 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2165/0.3675, allocations: 2.083 MB / 448.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003037/0.3705, allocations: 2.385 MB / 450.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001096/0.3716, allocations: 0.5845 MB / 451.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.3735, allocations: 0.7991 MB / 451.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.3745, allocations: 1.104 MB / 453 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00278/0.3773, allocations: 2.28 MB / 455.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009501/0.3868, allocations: 7.905 MB / 463.2 MB, free: 9.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3868, allocations: 4 kB / 463.2 MB, free: 9.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3868, allocations: 0 / 463.2 MB, free: 9.922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.00026/0.3871, allocations: 0 / 463.2 MB, free: 9.922 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01575/0.4028, allocations: 4.938 MB / 468.2 MB, free: 7.402 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.4029, allocations: 9.125 kB / 468.2 MB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001057/0.4039, allocations: 0.5911 MB / 468.8 MB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007055/0.411, allocations: 1.281 MB / 470.1 MB, free: 6.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005426/0.4164, allocations: 2.316 MB / 472.4 MB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002648/0.4167, allocations: 313.9 kB / 472.7 MB, free: 4.738 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/0.4177, allocations: 414.6 kB / 473.1 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.428, allocations: 5.471 MB / 478.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.232e-05/0.4281, allocations: 3.484 kB / 478.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003683/0.4285, allocations: 174.1 kB / 478.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/0.4286, allocations: 181 kB / 478.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007779/0.4364, allocations: 4.804 MB / 483.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0316/0.468, allocations: 19.09 MB / 0.491 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004914/0.4729, allocations: 3.792 MB / 0.4947 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.4742, allocations: 0.7143 MB / 0.4954 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.4744, allocations: 113 kB / 0.4955 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.4744, allocations: 43.56 kB / 0.4956 GB, free: 8.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 2.756e-06/0.4744, allocations: 0 / 0.4956 GB, free: 8.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=100): time 0.002551/0.477, allocations: 1.561 MB / 0.4971 GB, free: 7.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.477, allocations: 60.41 kB / 0.4971 GB, free: 7.156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/0.4792, allocations: 1.338 MB / 0.4985 GB, free: 5.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.899e-05/0.4793, allocations: 41.7 kB / 0.4985 GB, free: 5.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001439/0.4807, allocations: 1.833 MB / 0.5003 GB, free: 3.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003784/0.4811, allocations: 373.7 kB / 0.5006 GB, free: 3.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006646/0.4818, allocations: 454.2 kB / 0.5011 GB, free: 3.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.482, allocations: 349.9 kB / 0.5014 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.4832, allocations: 0.8369 MB / 0.5022 GB, free: 1.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00209/0.4853, allocations: 1.825 MB / 0.504 GB, free: 15.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/0.4887, allocations: 2.79 MB / 0.5067 GB, free: 12.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-05/0.4887, allocations: 8 kB / 0.5067 GB, free: 12.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004136/0.4928, allocations: 2.74 MB / 0.5094 GB, free: 9.953 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.4929, allocations: 20 kB / 0.5094 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.807e-05/0.4929, allocations: 37 kB / 0.5095 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-05/0.493, allocations: 51.38 kB / 0.5095 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/0.4946, allocations: 0.5186 MB / 0.51 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.507e-05/0.4947, allocations: 70.12 kB / 0.5101 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.4961, allocations: 286 kB / 0.5104 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/0.4963, allocations: 124 kB / 0.5105 GB, free: 8.914 MB / 414.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.002461/0.4987, allocations: 1.483 MB / 0.5119 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.499, allocations: 129.2 kB / 0.5121 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.5014, allocations: 1.459 MB / 0.5135 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001476/0.5028, allocations: 1.033 MB / 0.5145 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.5029, allocations: 0 / 0.5145 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.5029, allocations: 3.984 kB / 0.5145 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/0.5215, allocations: 12.3 MB / 0.5265 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.72e-05/0.5216, allocations: 24 kB / 0.5265 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000821/0.5224, allocations: 229.8 kB / 0.5267 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.63e-05/0.5224, allocations: 28 kB / 0.5268 GB, free: 7.738 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.331e-05/0.5225, allocations: 48 kB / 0.5268 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.03e-05/0.5225, allocations: 42.67 kB / 0.5269 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-05/0.5226, allocations: 34.78 kB / 0.5269 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003885/0.5265, allocations: 2.659 MB / 0.5295 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008834/0.5273, allocations: 343.9 kB / 0.5298 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.5275, allocations: 43.98 kB / 0.5299 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000811/0.5284, allocations: 75.94 kB / 0.5299 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.5285, allocations: 149.6 kB / 0.5301 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.383e-05/0.5286, allocations: 56 kB / 0.5301 GB, free: 4.031 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001452/0.5301, allocations: 0.9062 MB / 0.531 GB, free: 3.117 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5301, allocations: 0 / 0.531 GB, free: 3.117 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002922/0.533, allocations: 0.8832 MB / 0.5319 GB, free: 2.23 MB / 430.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.004617/0.5376, allocations: 3.306 MB / 0.5351 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003339/0.541, allocations: 1.825 MB / 0.5369 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.659e-05/0.541, allocations: 4 kB / 0.5369 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009578/0.5419, allocations: 0.621 MB / 0.5375 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.5441, allocations: 348.6 kB / 0.5378 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02943/0.5735, allocations: 18.62 MB / 0.556 GB, free: 7.918 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003018/0.5765, allocations: 2.805 MB / 0.5588 GB, free: 5.078 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001856/0.5784, allocations: 0.7671 MB / 0.5595 GB, free: 4.312 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/0.5799, allocations: 1.14 MB / 0.5606 GB, free: 3.172 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5799, allocations: 0 / 0.5606 GB, free: 3.172 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08149/0.6614, allocations: 39.66 MB / 0.5993 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.67, allocations: 7.938 kB / 0.5994 GB, free: 11.75 MB / 0.4981 GB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 13.149284990038723]