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.001395/0.001395, allocations: 107.9 kB / 18.48 MB, free: 4.543 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.001273/0.001273, allocations: 198.5 kB / 21.43 MB, free: 1.609 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.397/1.397, allocations: 225.6 MB / 249.8 MB, free: 3.621 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 43.94 kB / 366.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.099/0.1005, allocations: 52.15 MB / 418.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01109/0.1116, allocations: 9.161 MB / 427.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005563/0.1171, allocations: 2.589 MB / 430.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.1183, allocations: 79.62 kB / 430.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00816/0.1264, allocations: 3.76 MB / 434.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003196/0.1296, allocations: 0.9166 MB / 435 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.1317, allocations: 0.7866 MB / 435.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004478/0.1361, allocations: 3.634 MB / 439.4 MB, free: 7.676 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01198/0.1481, allocations: 7.379 MB / 446.8 MB, free: 220 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1871/0.3352, allocations: 2.12 MB / 448.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002646/0.3379, allocations: 2.386 MB / 451.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008428/0.3387, allocations: 0.5856 MB / 451.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.3401, allocations: 0.7921 MB / 452.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009276/0.3411, allocations: 1.109 MB / 453.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00263/0.3437, allocations: 2.284 MB / 456.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009068/0.3528, allocations: 7.908 MB / 464 MB, free: 9.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3528, allocations: 2.594 kB / 464 MB, free: 9.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3528, allocations: 3.438 kB / 464 MB, free: 9.922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002102/0.353, allocations: 0 / 464 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.01238/0.3654, allocations: 4.931 MB / 468.9 MB, free: 7.402 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3654, allocations: 13.69 kB / 468.9 MB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001445/0.3656, allocations: 110.8 kB / 469 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009249/0.3665, allocations: 0.5933 MB / 469.6 MB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007244/0.3737, allocations: 1.286 MB / 470.9 MB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004525/0.3783, allocations: 2.323 MB / 473.2 MB, free: 4.863 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/0.3785, allocations: 316.4 kB / 473.5 MB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008032/0.3793, allocations: 411.1 kB / 473.9 MB, free: 4.582 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01019/0.3895, allocations: 5.47 MB / 479.4 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.74e-05/0.3896, allocations: 6.516 kB / 479.4 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003812/0.39, allocations: 175 kB / 479.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001603/0.3901, allocations: 179 kB / 479.8 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008125/0.3982, allocations: 4.8 MB / 484.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02869/0.4269, allocations: 19.1 MB / 0.4919 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004932/0.4319, allocations: 3.794 MB / 0.4956 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.4331, allocations: 0.7113 MB / 0.4963 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.4333, allocations: 114 kB / 0.4964 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.4333, allocations: 49.25 kB / 0.4964 GB, free: 8.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 3.076e-06/0.4333, allocations: 0 / 0.4964 GB, free: 8.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=100): time 0.002528/0.4359, allocations: 1.554 MB / 0.4979 GB, free: 7.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.4359, allocations: 64.41 kB / 0.498 GB, free: 7.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/0.4379, allocations: 1.346 MB / 0.4993 GB, free: 5.684 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.062e-05/0.438, allocations: 45.7 kB / 0.4994 GB, free: 5.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.4393, allocations: 1.819 MB / 0.5011 GB, free: 3.809 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/0.4397, allocations: 383.8 kB / 0.5015 GB, free: 3.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000692/0.4403, allocations: 447.7 kB / 0.5019 GB, free: 2.992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.4406, allocations: 357 kB / 0.5023 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.4418, allocations: 0.8279 MB / 0.5031 GB, free: 1.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/0.4439, allocations: 1.824 MB / 0.5049 GB, free: 15.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/0.4473, allocations: 2.795 MB / 0.5076 GB, free: 12.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/0.4473, allocations: 8 kB / 0.5076 GB, free: 12.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004234/0.4516, allocations: 2.741 MB / 0.5103 GB, free: 9.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.4516, allocations: 20 kB / 0.5103 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-05/0.4517, allocations: 32 kB / 0.5103 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.661e-05/0.4517, allocations: 48 kB / 0.5104 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.4534, allocations: 0.5195 MB / 0.5109 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.339e-05/0.4535, allocations: 74.5 kB / 0.5109 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.455, allocations: 294 kB / 0.5112 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/0.4552, allocations: 116 kB / 0.5113 GB, free: 8.801 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.002548/0.4577, allocations: 1.481 MB / 0.5128 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.458, allocations: 131.2 kB / 0.5129 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.4604, allocations: 1.464 MB / 0.5143 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001508/0.4619, allocations: 1.033 MB / 0.5153 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.4619, allocations: 0 / 0.5153 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.462, allocations: 7.969 kB / 0.5153 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/0.4792, allocations: 12.28 MB / 0.5273 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.762e-05/0.4792, allocations: 28 kB / 0.5274 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008039/0.48, allocations: 238.1 kB / 0.5276 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.817e-05/0.48, allocations: 28 kB / 0.5276 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.26e-05/0.4801, allocations: 47.98 kB / 0.5277 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.888e-05/0.4801, allocations: 39.02 kB / 0.5277 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-05/0.4802, allocations: 38.78 kB / 0.5277 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003461/0.4836, allocations: 2.658 MB / 0.5303 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007018/0.4843, allocations: 339.9 kB / 0.5307 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.4845, allocations: 51.98 kB / 0.5307 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007652/0.4853, allocations: 67.94 kB / 0.5308 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.4855, allocations: 145.1 kB / 0.5309 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-05/0.4856, allocations: 55.98 kB / 0.531 GB, free: 3.926 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001514/0.4871, allocations: 0.9137 MB / 0.5319 GB, free: 3.008 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4871, allocations: 0 / 0.5319 GB, free: 3.008 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002715/0.4898, allocations: 0.8793 MB / 0.5327 GB, free: 2.125 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.004137/0.494, allocations: 3.296 MB / 0.5359 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002978/0.4969, allocations: 1.841 MB / 0.5377 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/0.497, allocations: 4 kB / 0.5377 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008795/0.4978, allocations: 0.6127 MB / 0.5383 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/0.4999, allocations: 343.2 kB / 0.5387 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02893/0.5289, allocations: 18.63 MB / 0.5569 GB, free: 7.812 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003372/0.5322, allocations: 2.809 MB / 0.5596 GB, free: 4.969 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001895/0.5341, allocations: 0.7551 MB / 0.5603 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/0.5357, allocations: 1.148 MB / 0.5615 GB, free: 3.066 MB / 462.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5357, allocations: 0 / 0.5615 GB, free: 3.066 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07389/0.6096, allocations: 39.73 MB / 0.6003 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.8, allocations: 15.69 kB / 0.6003 GB, free: 11.59 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.544094112992752]