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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 102.9 kB / 16.51 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002039/0.002039, allocations: 194.5 kB / 17.43 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 44.16 kB / 300.1 MB, free: 6.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08943/0.0905, allocations: 49.44 MB / 349.5 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.0095/0.1, allocations: 9.012 MB / 358.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004743/0.1048, allocations: 2.57 MB / 361.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.1062, allocations: 63.81 kB / 361.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007284/0.1135, allocations: 3.55 MB / 364.7 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002746/0.1163, allocations: 0.797 MB / 365.5 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.1182, allocations: 0.7326 MB / 366.2 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003959/0.1222, allocations: 3.458 MB / 369.7 MB, free: 492 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1705/0.2927, allocations: 8.036 MB / 377.7 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00367/0.2964, allocations: 1.885 MB / 379.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004428/0.3009, allocations: 2.318 MB / 381.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001135/0.3021, allocations: 456.8 kB / 382.4 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.3038, allocations: 0.6623 MB / 383 MB, free: 6.344 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007757/0.3046, allocations: 0.9634 MB / 384 MB, free: 5.707 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002135/0.3067, allocations: 2.138 MB / 386.1 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00788/0.3146, allocations: 7.739 MB / 393.9 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.3147, allocations: 0 / 393.9 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.3147, allocations: 4 kB / 393.9 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001803/0.3149, allocations: 3.469 kB / 393.9 MB, free: 0.7656 MB / 302.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.01745/0.3323, allocations: 4.867 MB / 398.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.483e-05/0.3324, allocations: 9.781 kB / 398.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001154/0.3336, allocations: 0.5941 MB / 399.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00726/0.3409, allocations: 1.275 MB / 400.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004627/0.3455, allocations: 2.225 MB / 402.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002797/0.3458, allocations: 316.8 kB / 403.2 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.3469, allocations: 406.2 kB / 403.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.358, allocations: 5.489 MB / 409.1 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.794e-05/0.3581, allocations: 11.98 kB / 409.1 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004189/0.3585, allocations: 167.8 kB / 409.2 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000169/0.3587, allocations: 180.6 kB / 409.4 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008406/0.3671, allocations: 4.816 MB / 414.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02953/0.3967, allocations: 19.29 MB / 433.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004898/0.4016, allocations: 3.933 MB / 437.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.403, allocations: 0.8295 MB / 438.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.4032, allocations: 111.4 kB / 438.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.4032, allocations: 47.5 kB / 438.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 2.815e-06/0.4032, allocations: 0 / 438.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.002743/0.406, allocations: 1.677 MB / 440.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.406, allocations: 64.41 kB / 440.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/0.4081, allocations: 1.33 MB / 441.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.133e-05/0.4082, allocations: 45.7 kB / 441.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.4092, allocations: 1.751 MB / 443.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/0.4096, allocations: 386.7 kB / 443.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006668/0.4103, allocations: 451.5 kB / 444.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4104, allocations: 345.9 kB / 444.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.4118, allocations: 0.8748 MB / 445.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002169/0.414, allocations: 1.867 MB / 447.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003505/0.4175, allocations: 2.875 MB / 450.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-05/0.4176, allocations: 14.62 kB / 450.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004245/0.4218, allocations: 2.808 MB / 452.9 MB, free: 7.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.4219, allocations: 20 kB / 452.9 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.938e-05/0.4219, allocations: 32 kB / 452.9 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.944e-05/0.422, allocations: 51.98 kB / 453 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.4236, allocations: 0.5148 MB / 453.5 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.34e-05/0.4237, allocations: 71.78 kB / 453.6 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.4251, allocations: 297.1 kB / 453.9 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.4252, allocations: 116 kB / 454 MB, free: 6.781 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.002163/0.4274, allocations: 1.488 MB / 455.5 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/0.4277, allocations: 125 kB / 455.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/0.4301, allocations: 1.536 MB / 457.1 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001543/0.4316, allocations: 1.114 MB / 458.2 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4317, allocations: 0 / 458.2 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.4317, allocations: 3.984 kB / 458.2 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/0.4478, allocations: 12.39 MB / 470.6 MB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.367e-05/0.4479, allocations: 24 kB / 470.7 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008359/0.4487, allocations: 225.9 kB / 470.9 MB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.112e-05/0.4487, allocations: 28 kB / 470.9 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.432e-05/0.4488, allocations: 50.91 kB / 471 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.129e-05/0.4489, allocations: 44.92 kB / 471 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.987e-05/0.4489, allocations: 30.94 kB / 471 MB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003434/0.4524, allocations: 2.795 MB / 473.8 MB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006473/0.453, allocations: 339.2 kB / 474.2 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/0.4533, allocations: 51.92 kB / 474.2 MB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009333/0.4542, allocations: 71.94 kB / 474.3 MB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/0.4544, allocations: 145 kB / 474.4 MB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.4546, allocations: 60 kB / 474.5 MB, free: 1.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00165/0.4562, allocations: 0.9062 MB / 475.4 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4562, allocations: 0 / 475.4 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003001/0.4592, allocations: 0.8701 MB / 476.3 MB, free: 15.72 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.004206/0.4635, allocations: 3.447 MB / 479.7 MB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003164/0.4666, allocations: 1.954 MB / 481.7 MB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/0.4667, allocations: 4 kB / 481.7 MB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.4677, allocations: 0.678 MB / 482.3 MB, free: 9.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.47, allocations: 337.9 kB / 482.7 MB, free: 9.246 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0356/0.5056, allocations: 20.99 MB / 0.4919 GB, free: 2.465 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005182/0.5108, allocations: 2.814 MB / 0.4946 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002025/0.5129, allocations: 0.7578 MB / 0.4953 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/0.5147, allocations: 1.136 MB / 0.4965 GB, free: 13.71 MB / 430.1 MB Notification: Performance of SimCode: time 1.323e-06/0.5147, allocations: 4 kB / 0.4965 GB, free: 13.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2052/0.7199, allocations: 38.24 MB / 0.5338 GB, free: 143.8 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.7202, allocations: 219.8 kB / 0.534 GB, free: 143.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/3.168, allocations: 1.094 kB / 0.534 GB, free: 143.5 MB / 446.1 MB (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 --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) 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) Reference file matches