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: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 112.6 kB / 17.69 MB, free: 5.441 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.001583/0.001583, allocations: 191 kB / 18.63 MB, free: 4.508 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.321/1.321, allocations: 222.9 MB / 242.3 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009752/0.0009753, allocations: 48.53 kB / 302.1 MB, free: 5.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08444/0.08543, allocations: 49.45 MB / 351.5 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009902/0.09537, allocations: 9.12 MB / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00497/0.1004, allocations: 2.573 MB / 363.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009354/0.1013, allocations: 67.81 kB / 363.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007661/0.109, allocations: 3.736 MB / 367 MB, free: 4.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003054/0.1121, allocations: 0.8972 MB / 367.9 MB, free: 3.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.1139, allocations: 0.7862 MB / 368.7 MB, free: 2.473 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.164/0.2779, allocations: 3.634 MB / 372.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01254/0.2905, allocations: 9.516 MB / 381.8 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003057/0.2936, allocations: 2.084 MB / 383.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003599/0.2972, allocations: 2.374 MB / 386.3 MB, free: 5.918 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000837/0.2981, allocations: 0.5926 MB / 386.9 MB, free: 5.914 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.2996, allocations: 0.7945 MB / 387.7 MB, free: 5.859 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000762/0.3004, allocations: 1.108 MB / 388.8 MB, free: 5.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002106/0.3025, allocations: 2.278 MB / 391.1 MB, free: 3.531 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00552/0.308, allocations: 7.892 MB / 399 MB, free: 15.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.308, allocations: 0 / 399 MB, free: 15.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3081, allocations: 0 / 399 MB, free: 15.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001482/0.3082, allocations: 0 / 399 MB, free: 15.93 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.01273/0.3209, allocations: 4.856 MB / 403.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/0.321, allocations: 11.89 kB / 403.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007542/0.3286, allocations: 1.264 MB / 405.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00515/0.3338, allocations: 2.309 MB / 407.4 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/0.334, allocations: 319.6 kB / 407.7 MB, free: 7.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009644/0.335, allocations: 406.7 kB / 408.1 MB, free: 7.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009724/0.3447, allocations: 5.469 MB / 413.6 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.883e-05/0.3449, allocations: 15.89 kB / 413.6 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003786/0.3452, allocations: 171.4 kB / 413.8 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000182/0.3454, allocations: 176.6 kB / 413.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.3563, allocations: 4.795 MB / 418.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04477/0.4011, allocations: 19.04 MB / 437.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006975/0.4082, allocations: 3.894 MB / 441.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001856/0.41, allocations: 0.7763 MB / 442.4 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/0.4103, allocations: 113.1 kB / 442.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.4104, allocations: 47.56 kB / 442.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=100): time 4.288e-06/0.4104, allocations: 0 / 442.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.003533/0.4139, allocations: 1.548 MB / 444.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.414, allocations: 64.41 kB / 444.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/0.4167, allocations: 1.33 MB / 445.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.632e-05/0.4168, allocations: 45.7 kB / 445.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001533/0.4183, allocations: 1.76 MB / 447.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003916/0.4188, allocations: 364.9 kB / 447.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009046/0.4197, allocations: 447.3 kB / 448.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.4199, allocations: 353.9 kB / 448.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/0.4217, allocations: 0.8279 MB / 449.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00269/0.4244, allocations: 1.823 MB / 451.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004573/0.429, allocations: 2.793 MB / 453.9 MB, free: 7.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.352e-05/0.4291, allocations: 12 kB / 453.9 MB, free: 7.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.006048/0.4351, allocations: 2.736 MB / 456.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.4352, allocations: 20 kB / 456.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.192e-05/0.4352, allocations: 32 kB / 456.7 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.178e-05/0.4353, allocations: 51.94 kB / 456.8 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/0.4379, allocations: 0.5208 MB / 457.3 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.791e-05/0.438, allocations: 68.72 kB / 457.4 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/0.44, allocations: 297.3 kB / 457.7 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/0.4402, allocations: 108 kB / 457.8 MB, free: 4.359 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 (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.002967/0.4432, allocations: 1.485 MB / 459.2 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/0.4435, allocations: 118.5 kB / 459.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003268/0.4468, allocations: 1.461 MB / 460.8 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002172/0.449, allocations: 1.033 MB / 461.9 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.449, allocations: 4 kB / 461.9 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.449, allocations: 10.97 kB / 461.9 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02437/0.4734, allocations: 12.28 MB / 474.1 MB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.841e-05/0.4735, allocations: 20 kB / 474.2 MB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.4746, allocations: 230.3 kB / 474.4 MB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.625e-05/0.4747, allocations: 27.94 kB / 474.4 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.4748, allocations: 56.64 kB / 474.5 MB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-05/0.4749, allocations: 43.14 kB / 474.5 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.129e-05/0.4749, allocations: 39.48 kB / 474.6 MB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004651/0.4796, allocations: 2.639 MB / 477.2 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008288/0.4804, allocations: 339.1 kB / 477.5 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.4807, allocations: 51.89 kB / 477.6 MB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.4819, allocations: 72.02 kB / 477.6 MB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.4822, allocations: 137.9 kB / 477.8 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.4823, allocations: 67.92 kB / 477.8 MB, free: 15.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001746/0.484, allocations: 0.9023 MB / 478.8 MB, free: 14.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4841, allocations: 0 / 478.8 MB, free: 14.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003862/0.4879, allocations: 0.8701 MB / 479.6 MB, free: 13.7 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 (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.0004503/0.4884, allocations: 220.2 kB / 479.8 MB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003998/0.4924, allocations: 1.918 MB / 481.8 MB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/0.4924, allocations: 4 kB / 481.8 MB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.4937, allocations: 0.6292 MB / 482.4 MB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/0.4967, allocations: 328.3 kB / 482.7 MB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.5079, allocations: 6.392 MB / 489.1 MB, free: 4.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002826/0.5107, allocations: 2.813 MB / 491.9 MB, free: 1.324 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001734/0.5125, allocations: 0.7654 MB / 492.7 MB, free: 0.5508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/0.5128, allocations: 107.4 kB / 492.8 MB, free: 456 kB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5128, allocations: 4 kB / 492.8 MB, free: 452 kB / 398.1 MB Notification: Performance of Templates: time 0.03066/0.5435, allocations: 16.53 MB / 0.4974 GB, free: 92 kB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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