Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001706/0.001706, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00202/0.00202, allocations: 214.3 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 67.89 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2583, allocations: 53.4 MB / 431.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01118/0.2695, allocations: 9.205 MB / 440.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005425/0.2749, allocations: 2.667 MB / 443.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.2762, allocations: 75.69 kB / 443.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008434/0.2847, allocations: 3.772 MB / 446.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.2876, allocations: 0.7723 MB / 447.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.2902, allocations: 0.9492 MB / 448.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004769/0.295, allocations: 3.654 MB / 452.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01025/0.3052, allocations: 6.186 MB / 458.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003253/0.3085, allocations: 2.143 MB / 460.6 MB, free: 9.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004046/0.3125, allocations: 2.387 MB / 463 MB, free: 6.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001316/0.3138, allocations: 0.5859 MB / 463.6 MB, free: 6.141 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.316, allocations: 0.8123 MB / 464.4 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.3176, allocations: 1.114 MB / 465.5 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004548/0.3221, allocations: 2.284 MB / 467.8 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009993/0.3321, allocations: 7.925 MB / 475.7 MB, free: 9.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3321, allocations: 0 / 475.7 MB, free: 9.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3321, allocations: 0 / 475.7 MB, free: 9.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002283/0.3324, allocations: 0 / 475.7 MB, free: 9.969 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.01284/0.3452, allocations: 4.861 MB / 480.6 MB, free: 5.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.3453, allocations: 8.031 kB / 480.6 MB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001011/0.3463, allocations: 0.5923 MB / 481.2 MB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007898/0.3542, allocations: 1.29 MB / 482.5 MB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004487/0.3587, allocations: 2.309 MB / 484.8 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/0.3589, allocations: 316.4 kB / 485.1 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000776/0.3597, allocations: 411.9 kB / 485.5 MB, free: 92 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009817/0.3695, allocations: 5.481 MB / 491 MB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.831e-05/0.3696, allocations: 0 / 491 MB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003691/0.37, allocations: 172 kB / 491.1 MB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/0.3701, allocations: 176.6 kB / 491.3 MB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008642/0.3788, allocations: 4.812 MB / 496.1 MB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0279/0.4067, allocations: 18.54 MB / 0.5026 GB, free: 2.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003798/0.4105, allocations: 1.776 MB / 0.5043 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.4118, allocations: 0.7113 MB / 0.505 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/0.4119, allocations: 56.86 kB / 0.5051 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.412, allocations: 47.5 kB / 0.5051 GB, free: 15.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 3.136e-06/0.412, allocations: 0 / 0.5051 GB, free: 15.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.002524/0.4145, allocations: 1.558 MB / 0.5067 GB, free: 14.13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.4146, allocations: 68.39 kB / 0.5067 GB, free: 14.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.4165, allocations: 1.334 MB / 0.508 GB, free: 12.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.837e-05/0.4166, allocations: 41.7 kB / 0.5081 GB, free: 12.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.4179, allocations: 1.831 MB / 0.5098 GB, free: 10.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/0.4183, allocations: 377 kB / 0.5102 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006175/0.4189, allocations: 455.6 kB / 0.5106 GB, free: 9.973 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4191, allocations: 353.9 kB / 0.511 GB, free: 9.621 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.4203, allocations: 0.8357 MB / 0.5118 GB, free: 8.781 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002055/0.4223, allocations: 1.823 MB / 0.5136 GB, free: 6.477 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003413/0.4258, allocations: 2.794 MB / 0.5163 GB, free: 3.211 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.91e-05/0.4258, allocations: 8 kB / 0.5163 GB, free: 3.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004315/0.4301, allocations: 2.751 MB / 0.519 GB, free: 452 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.4301, allocations: 20 kB / 0.519 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-05/0.4302, allocations: 36 kB / 0.5191 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.574e-05/0.4302, allocations: 48.06 kB / 0.5191 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.4319, allocations: 0.5264 MB / 0.5196 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.561e-05/0.4319, allocations: 63.78 kB / 0.5197 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.4332, allocations: 298 kB / 0.52 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/0.4334, allocations: 119.9 kB / 0.5201 GB, free: 15.34 MB / 446.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.002353/0.4358, allocations: 1.488 MB / 0.5215 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/0.436, allocations: 127.2 kB / 0.5216 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.4384, allocations: 1.458 MB / 0.5231 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00151/0.4399, allocations: 1.045 MB / 0.5241 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4399, allocations: 0 / 0.5241 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.4399, allocations: 3.984 kB / 0.5241 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2322/0.6721, allocations: 11.06 MB / 0.5349 GB, free: 94.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.9e-05/0.6722, allocations: 21.47 kB / 0.5349 GB, free: 94.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.6732, allocations: 238 kB / 0.5351 GB, free: 94.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-05/0.6733, allocations: 27.5 kB / 0.5352 GB, free: 94.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.6734, allocations: 48.86 kB / 0.5352 GB, free: 94.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.861e-05/0.6734, allocations: 39.05 kB / 0.5353 GB, free: 94.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.278e-05/0.6734, allocations: 38.19 kB / 0.5353 GB, free: 94.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/0.6767, allocations: 2.674 MB / 0.5379 GB, free: 93.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006393/0.6773, allocations: 265.9 kB / 0.5382 GB, free: 93.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.6775, allocations: 47.11 kB / 0.5382 GB, free: 93.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007257/0.6782, allocations: 70.22 kB / 0.5383 GB, free: 93.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.6784, allocations: 146 kB / 0.5384 GB, free: 93.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.206e-05/0.6784, allocations: 64.47 kB / 0.5385 GB, free: 93.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00118/0.6796, allocations: 0.9046 MB / 0.5394 GB, free: 93.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6796, allocations: 0 / 0.5394 GB, free: 93.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002254/0.6819, allocations: 0.8803 MB / 0.5402 GB, free: 93.6 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.003178/0.6851, allocations: 3.314 MB / 0.5434 GB, free: 91.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002361/0.6874, allocations: 1.839 MB / 0.5452 GB, free: 90.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.6874, allocations: 3.969 kB / 0.5452 GB, free: 90.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006199/0.688, allocations: 0.6207 MB / 0.5459 GB, free: 90.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.6897, allocations: 345.7 kB / 0.5462 GB, free: 90.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02157/0.7113, allocations: 18.61 MB / 0.5644 GB, free: 76.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001971/0.7133, allocations: 2.809 MB / 0.5671 GB, free: 74.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001412/0.7147, allocations: 0.7591 MB / 0.5678 GB, free: 73.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.7157, allocations: 1.148 MB / 0.569 GB, free: 72.44 MB / 446.1 MB Notification: Performance of SimCode: time 1.362e-06/0.7157, allocations: 4 kB / 0.569 GB, free: 72.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06947/0.7852, allocations: 41.57 MB / 0.6096 GB, free: 31.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.32, allocations: 7.469 kB / 0.6096 GB, free: 31.01 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/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_trunk_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: 16.86625640001148]