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: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001133, allocations: 117.7 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00116/0.00116, allocations: 208.8 kB / 19.4 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2805, allocations: 50.55 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009976/0.2905, allocations: 9.132 MB / 419.1 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005209/0.2957, allocations: 2.639 MB / 421.7 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009249/0.2967, allocations: 67.81 kB / 421.8 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007582/0.3043, allocations: 3.725 MB / 425.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002761/0.3071, allocations: 0.7529 MB / 426.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.3093, allocations: 0.93 MB / 427.2 MB, free: 288 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004219/0.3136, allocations: 3.622 MB / 430.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01237/0.3259, allocations: 9.521 MB / 440.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002681/0.3287, allocations: 2.092 MB / 442.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003528/0.3322, allocations: 2.375 MB / 444.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001293/0.3335, allocations: 0.5859 MB / 445.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.3357, allocations: 0.8123 MB / 446.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009802/0.3367, allocations: 1.114 MB / 447.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002292/0.339, allocations: 2.276 MB / 449.6 MB, free: 9.754 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006586/0.3456, allocations: 7.912 MB / 457.5 MB, free: 1.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3456, allocations: 0 / 457.5 MB, free: 1.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3457, allocations: 0 / 457.5 MB, free: 1.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001653/0.3458, allocations: 0 / 457.5 MB, free: 1.82 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.01168/0.3575, allocations: 4.853 MB / 462.3 MB, free: 12.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3576, allocations: 8.031 kB / 462.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007747/0.3653, allocations: 1.296 MB / 463.7 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004189/0.3695, allocations: 2.303 MB / 466 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/0.3698, allocations: 324.3 kB / 466.3 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008315/0.3706, allocations: 408 kB / 466.7 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009667/0.3803, allocations: 5.469 MB / 472.1 MB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.896e-05/0.3804, allocations: 3.906 kB / 472.1 MB, free: 2.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003929/0.3808, allocations: 176 kB / 472.3 MB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/0.381, allocations: 176.6 kB / 472.5 MB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008255/0.3892, allocations: 4.796 MB / 477.3 MB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02459/0.4139, allocations: 19.29 MB / 496.6 MB, free: 9.848 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004302/0.4182, allocations: 3.883 MB / 0.4887 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.4194, allocations: 0.777 MB / 0.4895 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/0.4196, allocations: 195.2 kB / 0.4897 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.4196, allocations: 47.5 kB / 0.4897 GB, free: 4.438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.895e-06/0.4196, allocations: 4 kB / 0.4897 GB, free: 4.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002097/0.4217, allocations: 1.541 MB / 0.4912 GB, free: 2.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.4218, allocations: 64.41 kB / 0.4913 GB, free: 2.809 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.4233, allocations: 1.338 MB / 0.4926 GB, free: 1.453 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.4234, allocations: 41.7 kB / 0.4926 GB, free: 1.406 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008841/0.4243, allocations: 1.757 MB / 0.4944 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.4245, allocations: 363 kB / 0.4947 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000527/0.4251, allocations: 455.3 kB / 0.4951 GB, free: 14.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4252, allocations: 353.9 kB / 0.4955 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.4263, allocations: 0.8279 MB / 0.4963 GB, free: 13.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/0.428, allocations: 1.823 MB / 0.4981 GB, free: 11.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0028/0.4308, allocations: 2.794 MB / 0.5008 GB, free: 8.047 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.791e-05/0.4309, allocations: 11.98 kB / 0.5008 GB, free: 8.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003637/0.4345, allocations: 2.731 MB / 0.5035 GB, free: 5.301 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.4345, allocations: 28 kB / 0.5035 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/0.4346, allocations: 32 kB / 0.5035 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.961e-05/0.4346, allocations: 48 kB / 0.5036 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.4361, allocations: 0.5186 MB / 0.5041 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.357e-05/0.4362, allocations: 71.77 kB / 0.5041 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.4374, allocations: 289.2 kB / 0.5044 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.4375, allocations: 120 kB / 0.5045 GB, free: 4.203 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.002008/0.4395, allocations: 1.492 MB / 0.506 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.4398, allocations: 118.5 kB / 0.5061 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.4418, allocations: 1.45 MB / 0.5075 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001268/0.4431, allocations: 1.037 MB / 0.5085 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4431, allocations: 0 / 0.5085 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.4431, allocations: 7.984 kB / 0.5085 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.4587, allocations: 13.74 MB / 0.522 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.15e-05/0.4588, allocations: 20 kB / 0.522 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007771/0.4596, allocations: 227.6 kB / 0.5222 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.289e-05/0.4596, allocations: 28 kB / 0.5222 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.238e-05/0.4597, allocations: 47.98 kB / 0.5223 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.654e-05/0.4597, allocations: 40.45 kB / 0.5223 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-05/0.4597, allocations: 35.81 kB / 0.5223 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/0.4626, allocations: 2.663 MB / 0.5249 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005444/0.4632, allocations: 339.2 kB / 0.5253 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.4633, allocations: 51.92 kB / 0.5253 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007501/0.4641, allocations: 71.94 kB / 0.5254 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.4643, allocations: 143.4 kB / 0.5255 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.428e-05/0.4644, allocations: 59.98 kB / 0.5256 GB, free: 13.26 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001188/0.4655, allocations: 0.9023 MB / 0.5265 GB, free: 12.35 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4656, allocations: 0 / 0.5265 GB, free: 12.35 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002404/0.468, allocations: 0.8663 MB / 0.5273 GB, free: 11.48 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.0003621/0.4683, allocations: 206.7 kB / 0.5275 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002709/0.4711, allocations: 1.919 MB / 0.5294 GB, free: 9.344 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/0.4711, allocations: 4 kB / 0.5294 GB, free: 9.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008402/0.4719, allocations: 0.6208 MB / 0.53 GB, free: 8.723 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.474, allocations: 340.5 kB / 0.5303 GB, free: 8.398 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.4843, allocations: 6.288 MB / 0.5364 GB, free: 1.777 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2009/0.6852, allocations: 2.736 MB / 0.5391 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006256/0.6859, allocations: 132.1 kB / 0.5392 GB, free: 121.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6859, allocations: 0 / 0.5392 GB, free: 121.4 MB / 462.1 MB Notification: Performance of Templates: time 0.04321/0.7291, allocations: 35.4 MB / 0.5738 GB, free: 97.01 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (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 & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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