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.001658/0.001658, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002287/0.002287, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.492/2.492, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.519/0.5213, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01876/0.5401, allocations: 9.132 MB / 419.1 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007246/0.5474, allocations: 2.643 MB / 421.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.5494, allocations: 67.81 kB / 421.8 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01467/0.5642, allocations: 3.733 MB / 425.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005197/0.5694, allocations: 0.745 MB / 426.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004084/0.5735, allocations: 0.9259 MB / 427.2 MB, free: 268 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007994/0.5815, allocations: 3.626 MB / 430.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02944/0.6111, allocations: 9.51 MB / 440.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/0.6218, allocations: 2.1 MB / 442.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01143/0.6333, allocations: 2.379 MB / 444.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004752/0.6382, allocations: 0.582 MB / 445.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00831/0.6466, allocations: 0.8162 MB / 446.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005049/0.6517, allocations: 1.11 MB / 447.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01262/0.6644, allocations: 2.28 MB / 449.6 MB, free: 9.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02262/0.6872, allocations: 7.912 MB / 457.5 MB, free: 1.797 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.461e-05/0.6873, allocations: 0 / 457.5 MB, free: 1.797 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.969e-06/0.6874, allocations: 0 / 457.5 MB, free: 1.797 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004797/0.6879, allocations: 0 / 457.5 MB, free: 1.797 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.03072/0.7186, allocations: 4.849 MB / 462.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001139/0.7188, allocations: 12.03 kB / 462.4 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01605/0.7348, allocations: 1.296 MB / 463.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008738/0.7436, allocations: 2.303 MB / 466 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005661/0.7443, allocations: 312.4 kB / 466.3 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002439/0.7467, allocations: 415.9 kB / 466.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01982/0.7666, allocations: 5.469 MB / 472.1 MB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002771/0.7669, allocations: 7.906 kB / 472.1 MB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001746/0.7687, allocations: 168 kB / 472.3 MB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003159/0.769, allocations: 180.6 kB / 472.5 MB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01855/0.7876, allocations: 4.796 MB / 477.3 MB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07955/0.8672, allocations: 19.3 MB / 496.6 MB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/0.878, allocations: 3.876 MB / 0.4887 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002713/0.8808, allocations: 0.777 MB / 0.4895 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004039/0.8813, allocations: 199.2 kB / 0.4897 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/0.8814, allocations: 39.56 kB / 0.4897 GB, free: 4.422 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 5.991e-06/0.8814, allocations: 4 kB / 0.4897 GB, free: 4.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.005001/0.8864, allocations: 1.553 MB / 0.4912 GB, free: 2.855 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.601e-05/0.8865, allocations: 64.41 kB / 0.4913 GB, free: 2.781 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003878/0.8904, allocations: 1.33 MB / 0.4926 GB, free: 1.434 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.8906, allocations: 41.7 kB / 0.4926 GB, free: 1.387 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002138/0.8928, allocations: 1.761 MB / 0.4943 GB, free: 15.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006925/0.8935, allocations: 367 kB / 0.4947 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001402/0.8949, allocations: 447.3 kB / 0.4951 GB, free: 14.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003233/0.8953, allocations: 357.9 kB / 0.4955 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00248/0.8978, allocations: 0.8279 MB / 0.4963 GB, free: 13.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003417/0.9012, allocations: 1.823 MB / 0.4981 GB, free: 11.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006772/0.908, allocations: 2.794 MB / 0.5008 GB, free: 8.027 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.968e-05/0.9082, allocations: 12 kB / 0.5008 GB, free: 8.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.008742/0.9169, allocations: 2.727 MB / 0.5035 GB, free: 5.285 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.942e-05/0.9171, allocations: 27.22 kB / 0.5035 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001/0.9172, allocations: 32 kB / 0.5035 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/0.9173, allocations: 48 kB / 0.5036 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003447/0.9208, allocations: 0.5264 MB / 0.5041 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001179/0.9209, allocations: 67.78 kB / 0.5041 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/0.9241, allocations: 281.2 kB / 0.5044 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004623/0.9246, allocations: 120 kB / 0.5045 GB, free: 4.195 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.004531/0.9292, allocations: 1.496 MB / 0.506 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005836/0.9298, allocations: 118.5 kB / 0.5061 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004558/0.9343, allocations: 1.446 MB / 0.5075 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00276/0.9371, allocations: 1.037 MB / 0.5085 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.9372, allocations: 0 / 0.5085 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.373e-05/0.9372, allocations: 7.984 kB / 0.5085 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03298/0.9702, allocations: 13.75 MB / 0.522 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-05/0.9703, allocations: 24 kB / 0.522 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.9718, allocations: 231.5 kB / 0.5222 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-05/0.9719, allocations: 28 kB / 0.5222 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.9721, allocations: 44 kB / 0.5223 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.347e-05/0.9721, allocations: 39.86 kB / 0.5223 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-05/0.9722, allocations: 36.31 kB / 0.5223 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005582/0.9778, allocations: 2.67 MB / 0.5249 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.979, allocations: 331.3 kB / 0.5253 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/0.9794, allocations: 51.86 kB / 0.5253 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/0.9808, allocations: 67.94 kB / 0.5254 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002949/0.9812, allocations: 155.3 kB / 0.5255 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.9813, allocations: 56 kB / 0.5256 GB, free: 13.24 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002537/0.9839, allocations: 0.9062 MB / 0.5265 GB, free: 12.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.52e-07/0.9839, allocations: 0 / 0.5265 GB, free: 12.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00531/0.9892, allocations: 0.8585 MB / 0.5273 GB, free: 11.46 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.0008004/0.9901, allocations: 210.7 kB / 0.5275 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005669/0.9958, allocations: 1.915 MB / 0.5294 GB, free: 9.328 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.987e-05/0.9959, allocations: 8.062 kB / 0.5294 GB, free: 9.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001649/0.9975, allocations: 0.6249 MB / 0.53 GB, free: 8.699 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004171/1.002, allocations: 335 kB / 0.5303 GB, free: 8.379 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/1.024, allocations: 6.296 MB / 0.5365 GB, free: 1.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5008/1.525, allocations: 2.735 MB / 0.5391 GB, free: 121.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009424/1.526, allocations: 131.2 kB / 0.5393 GB, free: 121.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.172e-06/1.526, allocations: 0.5938 kB / 0.5393 GB, free: 121.3 MB / 462.1 MB Notification: Performance of Templates: time 0.08577/1.611, allocations: 35.86 MB / 0.5743 GB, free: 96.49 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