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.001139/0.001139, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.291, allocations: 50.54 MB / 408.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009249/0.3003, allocations: 9.147 MB / 417.9 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005123/0.3055, allocations: 2.647 MB / 420.5 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.3069, allocations: 63.88 kB / 420.6 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007587/0.3145, allocations: 3.733 MB / 424.3 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.3176, allocations: 0.7416 MB / 425.1 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.3198, allocations: 0.9261 MB / 426 MB, free: 244 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004137/0.3239, allocations: 3.622 MB / 429.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01116/0.3351, allocations: 9.512 MB / 439.1 MB, free: 3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003088/0.3382, allocations: 2.096 MB / 441.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003734/0.342, allocations: 2.379 MB / 443.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009899/0.343, allocations: 0.582 MB / 444.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.3448, allocations: 0.8201 MB / 445 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009813/0.3458, allocations: 1.107 MB / 446.1 MB, free: 12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002688/0.3485, allocations: 2.284 MB / 448.4 MB, free: 9.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007576/0.3561, allocations: 7.903 MB / 456.3 MB, free: 1.781 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3561, allocations: 0 / 456.3 MB, free: 1.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3561, allocations: 3.938 kB / 456.3 MB, free: 1.777 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001811/0.3563, allocations: 0 / 456.3 MB, free: 1.777 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.01382/0.3702, allocations: 4.853 MB / 461.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.3702, allocations: 12.03 kB / 461.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001181/0.3714, allocations: 0.5923 MB / 461.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008115/0.3795, allocations: 1.288 MB / 463.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005409/0.385, allocations: 2.314 MB / 465.4 MB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002459/0.3853, allocations: 308.4 kB / 465.7 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/0.3863, allocations: 408 kB / 466.1 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.3964, allocations: 5.469 MB / 471.5 MB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.804e-05/0.3965, allocations: 7.906 kB / 471.6 MB, free: 2.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003663/0.3969, allocations: 175.9 kB / 471.7 MB, free: 2.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/0.397, allocations: 180.6 kB / 471.9 MB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00877/0.4058, allocations: 4.796 MB / 476.7 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02837/0.4342, allocations: 19.29 MB / 496 MB, free: 9.199 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00465/0.4389, allocations: 3.88 MB / 499.9 MB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.4402, allocations: 0.7809 MB / 0.4889 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002337/0.4404, allocations: 195.2 kB / 0.4891 GB, free: 3.844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.4405, allocations: 47.56 kB / 0.4891 GB, free: 3.789 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.975e-06/0.4405, allocations: 0 / 0.4891 GB, free: 3.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002276/0.4428, allocations: 1.553 MB / 0.4907 GB, free: 2.227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.4428, allocations: 60.41 kB / 0.4907 GB, free: 2.156 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.4446, allocations: 1.334 MB / 0.492 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.808e-05/0.4447, allocations: 45.64 kB / 0.4921 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.4461, allocations: 1.765 MB / 0.4938 GB, free: 14.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003596/0.4465, allocations: 359.1 kB / 0.4941 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006252/0.4471, allocations: 451.3 kB / 0.4946 GB, free: 14.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4473, allocations: 353.9 kB / 0.4949 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.4485, allocations: 0.8279 MB / 0.4957 GB, free: 12.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.4505, allocations: 1.827 MB / 0.4975 GB, free: 10.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/0.4536, allocations: 2.79 MB / 0.5002 GB, free: 7.395 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.752e-05/0.4537, allocations: 12 kB / 0.5002 GB, free: 7.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003997/0.4577, allocations: 2.731 MB / 0.5029 GB, free: 4.648 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.4578, allocations: 24.03 kB / 0.5029 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.102e-05/0.4578, allocations: 36 kB / 0.503 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.799e-05/0.4579, allocations: 52 kB / 0.503 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.4595, allocations: 0.5186 MB / 0.5035 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.667e-05/0.4595, allocations: 71.72 kB / 0.5036 GB, free: 3.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.4608, allocations: 289.2 kB / 0.5039 GB, free: 3.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.461, allocations: 115.9 kB / 0.504 GB, free: 3.551 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.002156/0.4631, allocations: 1.488 MB / 0.5054 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/0.4634, allocations: 118.5 kB / 0.5055 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.4656, allocations: 1.454 MB / 0.5069 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001312/0.4669, allocations: 1.033 MB / 0.508 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.4669, allocations: 0 / 0.508 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.467, allocations: 7.984 kB / 0.508 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/0.4835, allocations: 13.75 MB / 0.5214 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.2e-05/0.4836, allocations: 20 kB / 0.5214 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007725/0.4844, allocations: 239.5 kB / 0.5216 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.828e-05/0.4844, allocations: 28 kB / 0.5217 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/0.4845, allocations: 44 kB / 0.5217 GB, free: 324 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.629e-05/0.4845, allocations: 40.45 kB / 0.5217 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.029e-05/0.4845, allocations: 35.86 kB / 0.5218 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/0.4875, allocations: 2.667 MB / 0.5244 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006146/0.4881, allocations: 323.3 kB / 0.5247 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.4882, allocations: 55.92 kB / 0.5247 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007296/0.489, allocations: 67.94 kB / 0.5248 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.4892, allocations: 155.3 kB / 0.525 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/0.4892, allocations: 52 kB / 0.525 GB, free: 12.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001159/0.4904, allocations: 0.9101 MB / 0.5259 GB, free: 11.69 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4904, allocations: 0 / 0.5259 GB, free: 11.69 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002518/0.4929, allocations: 0.8623 MB / 0.5267 GB, free: 10.82 MB / 462.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.003588/0.4965, allocations: 3.289 MB / 0.53 GB, free: 7.215 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002896/0.4994, allocations: 1.915 MB / 0.5318 GB, free: 5.301 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.59e-05/0.4995, allocations: 4 kB / 0.5318 GB, free: 5.297 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008474/0.5003, allocations: 0.6287 MB / 0.5324 GB, free: 4.672 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.5024, allocations: 343.3 kB / 0.5328 GB, free: 4.348 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2418/0.7442, allocations: 18.52 MB / 0.5509 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002143/0.7463, allocations: 2.802 MB / 0.5536 GB, free: 115.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001487/0.7478, allocations: 0.7671 MB / 0.5543 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/0.7489, allocations: 1.142 MB / 0.5555 GB, free: 113.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7489, allocations: 4 kB / 0.5555 GB, free: 113.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05566/0.8045, allocations: 39.07 MB / 0.5936 GB, free: 75.81 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/13.02, allocations: 14.34 kB / 0.5936 GB, free: 75.8 MB / 462.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