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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000909/0.0009091, allocations: 93.14 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 195.8 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.185/1.185, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002068/0.0002068, allocations: 11.98 kB / 307.8 MB, free: 0.7031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07598/0.0762, allocations: 51.52 MB / 359.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.007094/0.08333, allocations: 8.409 MB / 367.8 MB, free: 4.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003005/0.08634, allocations: 2.601 MB / 370.4 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.0867, allocations: 63.81 kB / 370.4 MB, free: 2.059 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007558/0.08746, allocations: 0.5289 MB / 371 MB, free: 1.527 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.08876, allocations: 0.6488 MB / 371.6 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.09018, allocations: 0.8699 MB / 372.5 MB, free: 12 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1335/0.2237, allocations: 3.449 MB / 375.9 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01236/0.2361, allocations: 9.877 MB / 385.8 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/0.2381, allocations: 1.458 MB / 387.3 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.2398, allocations: 1.754 MB / 389 MB, free: 4.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000311/0.2401, allocations: 242.2 kB / 389.3 MB, free: 4.875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00088/0.241, allocations: 477.7 kB / 389.7 MB, free: 4.801 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004453/0.2415, allocations: 0.6681 MB / 390.4 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.2428, allocations: 1.808 MB / 392.2 MB, free: 3.188 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004408/0.2472, allocations: 7.438 MB / 399.6 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2472, allocations: 0 / 399.6 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2473, allocations: 0 / 399.6 MB, free: 15.19 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.941e-05/0.2473, allocations: 0 / 399.6 MB, free: 15.19 MB / 318.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.008426/0.2557, allocations: 4.001 MB / 403.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2558, allocations: 12.03 kB / 403.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007057/0.2565, allocations: 0.5992 MB / 404.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007123/0.2636, allocations: 1.3 MB / 405.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.2664, allocations: 2.235 MB / 407.8 MB, free: 7.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.2666, allocations: 316.4 kB / 408.1 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000546/0.2672, allocations: 411.7 kB / 408.5 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007926/0.2751, allocations: 5.484 MB / 414 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-05/0.2752, allocations: 11.98 kB / 414 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003473/0.2755, allocations: 167.7 kB / 414.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/0.2757, allocations: 176.6 kB / 414.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006773/0.2825, allocations: 4.82 MB / 419.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0212/0.3037, allocations: 19.59 MB / 438.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004207/0.3079, allocations: 3.936 MB / 442.7 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.3091, allocations: 0.8199 MB / 443.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/0.3092, allocations: 199.1 kB / 443.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.3093, allocations: 47.5 kB / 443.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 2.605e-06/0.3093, allocations: 0 / 443.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.002163/0.3115, allocations: 1.67 MB / 445.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.3115, allocations: 68.41 kB / 445.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.313, allocations: 1.334 MB / 446.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.933e-05/0.313, allocations: 45.7 kB / 446.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008747/0.3139, allocations: 1.75 MB / 448.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.3142, allocations: 385.5 kB / 449 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.3144, allocations: 174 kB / 449.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3145, allocations: 345.9 kB / 449.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.3156, allocations: 0.8748 MB / 450.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.3172, allocations: 1.866 MB / 452.2 MB, free: 9.836 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002761/0.32, allocations: 2.87 MB / 455.1 MB, free: 6.504 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.32, allocations: 8 kB / 455.1 MB, free: 6.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.00343/0.3234, allocations: 2.813 MB / 457.9 MB, free: 3.672 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.3235, allocations: 18.97 kB / 457.9 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/0.3235, allocations: 36 kB / 458 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-05/0.3236, allocations: 56.05 kB / 458 MB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.325, allocations: 0.5186 MB / 458.5 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.686e-05/0.325, allocations: 67.78 kB / 458.6 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.3261, allocations: 281.2 kB / 458.9 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.3263, allocations: 120 kB / 459 MB, free: 2.586 MB / 366.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 (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001732/0.328, allocations: 1.496 MB / 460.5 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.3281, allocations: 126.3 kB / 460.6 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.3302, allocations: 1.544 MB / 462.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001346/0.3316, allocations: 1.111 MB / 463.3 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3316, allocations: 4 kB / 463.3 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.3316, allocations: 3.984 kB / 463.3 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/0.3453, allocations: 13.84 MB / 477.1 MB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.579e-05/0.3453, allocations: 20.19 kB / 477.1 MB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007059/0.346, allocations: 235.5 kB / 477.4 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.502e-05/0.346, allocations: 27.94 kB / 477.4 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-05/0.3461, allocations: 52 kB / 477.5 MB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.891e-05/0.3462, allocations: 47.73 kB / 477.5 MB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.846e-05/0.3462, allocations: 31.88 kB / 477.5 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.3491, allocations: 2.801 MB / 480.3 MB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/0.3495, allocations: 343.1 kB / 480.7 MB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.3497, allocations: 55.92 kB / 480.7 MB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007139/0.3504, allocations: 67.94 kB / 480.8 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.3506, allocations: 143.4 kB / 480.9 MB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-05/0.3507, allocations: 59.98 kB / 481 MB, free: 11.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001022/0.3517, allocations: 0.9023 MB / 481.9 MB, free: 10.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3517, allocations: 4 kB / 481.9 MB, free: 10.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00204/0.3537, allocations: 0.874 MB / 482.8 MB, free: 9.449 MB / 398.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 (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.003275/0.357, allocations: 3.42 MB / 486.2 MB, free: 5.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002374/0.3594, allocations: 1.961 MB / 488.1 MB, free: 3.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.3594, allocations: 4 kB / 488.2 MB, free: 3.758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008015/0.3602, allocations: 0.673 MB / 488.8 MB, free: 3.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004294/0.3645, allocations: 336.7 kB / 489.2 MB, free: 2.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02325/0.3878, allocations: 21.04 MB / 0.4982 GB, free: 11.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002546/0.3904, allocations: 2.809 MB / 0.501 GB, free: 8.934 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001721/0.3921, allocations: 0.7617 MB / 0.5017 GB, free: 8.164 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/0.3934, allocations: 1.14 MB / 0.5028 GB, free: 7.023 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3934, allocations: 0 / 0.5028 GB, free: 7.023 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.477/6.871, allocations: 37.68 MB / 0.5396 GB, free: 142.6 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/6.871, allocations: 223.8 kB / 0.5398 GB, free: 142.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.956/9.827, allocations: 0 / 0.5398 GB, free: 142.3 MB / 446.1 MB (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 --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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches