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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 114.7 kB / 18.46 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 196.2 kB / 21.4 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 51.92 kB / 366.8 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09605/0.09764, allocations: 52.14 MB / 418.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.0109/0.1085, allocations: 9.173 MB / 428.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005543/0.1141, allocations: 2.589 MB / 430.7 MB, free: 288 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.1157, allocations: 63.88 kB / 430.8 MB, free: 224 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008742/0.1245, allocations: 3.756 MB / 434.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.1281, allocations: 0.9088 MB / 435.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.1305, allocations: 0.802 MB / 436.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004867/0.1353, allocations: 3.629 MB / 439.9 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.213/0.3483, allocations: 7.375 MB / 447.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.3514, allocations: 2.087 MB / 449.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004218/0.3556, allocations: 2.384 MB / 451.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001938/0.3575, allocations: 0.5851 MB / 452.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/0.3608, allocations: 0.7983 MB / 453.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001906/0.3627, allocations: 1.111 MB / 454.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004539/0.3672, allocations: 2.282 MB / 456.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.3788, allocations: 7.907 MB / 464.4 MB, free: 8.645 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.3788, allocations: 2.062 kB / 464.4 MB, free: 8.645 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3788, allocations: 0 / 464.4 MB, free: 8.645 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002754/0.3791, allocations: 0 / 464.4 MB, free: 8.645 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.01688/0.396, allocations: 4.929 MB / 469.3 MB, free: 6.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.3961, allocations: 14.55 kB / 469.3 MB, free: 6.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008631/0.4047, allocations: 1.292 MB / 470.6 MB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005853/0.4105, allocations: 2.315 MB / 473 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003835/0.4109, allocations: 317.3 kB / 473.3 MB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001845/0.4128, allocations: 414.5 kB / 473.7 MB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01473/0.4275, allocations: 5.469 MB / 479.1 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/0.4276, allocations: 8.016 kB / 479.1 MB, free: 476 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006698/0.4283, allocations: 167.1 kB / 479.3 MB, free: 344 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001708/0.4285, allocations: 180.4 kB / 479.5 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01203/0.4405, allocations: 4.796 MB / 484.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03685/0.4773, allocations: 19.1 MB / 0.4916 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005265/0.4826, allocations: 3.794 MB / 0.4953 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.4841, allocations: 0.7158 MB / 0.496 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/0.4843, allocations: 109.5 kB / 0.4961 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/0.4843, allocations: 48.06 kB / 0.4961 GB, free: 8.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 3.527e-06/0.4843, allocations: 4 kB / 0.4961 GB, free: 8.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=100): time 0.002952/0.4873, allocations: 1.561 MB / 0.4977 GB, free: 6.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.4873, allocations: 60.41 kB / 0.4977 GB, free: 6.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002993/0.4903, allocations: 1.334 MB / 0.499 GB, free: 5.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.4905, allocations: 45.7 kB / 0.4991 GB, free: 5.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001597/0.492, allocations: 1.824 MB / 0.5008 GB, free: 3.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005166/0.4926, allocations: 378.7 kB / 0.5012 GB, free: 2.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009065/0.4935, allocations: 451.7 kB / 0.5016 GB, free: 2.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.4937, allocations: 345.9 kB / 0.502 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.4951, allocations: 0.8318 MB / 0.5028 GB, free: 1.332 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.4974, allocations: 1.83 MB / 0.5046 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003807/0.5012, allocations: 2.798 MB / 0.5073 GB, free: 11.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-05/0.5013, allocations: 12 kB / 0.5073 GB, free: 11.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005011/0.5063, allocations: 2.734 MB / 0.51 GB, free: 9.359 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.5063, allocations: 20 kB / 0.51 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.665e-05/0.5064, allocations: 36 kB / 0.51 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.048e-05/0.5064, allocations: 49.88 kB / 0.5101 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.5082, allocations: 0.5247 MB / 0.5106 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-05/0.5083, allocations: 70.5 kB / 0.5107 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.51, allocations: 294.6 kB / 0.5109 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/0.5102, allocations: 108 kB / 0.511 GB, free: 8.324 MB / 414.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.003072/0.5133, allocations: 1.489 MB / 0.5125 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/0.5137, allocations: 127.2 kB / 0.5126 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.5165, allocations: 1.465 MB / 0.514 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001588/0.518, allocations: 1.029 MB / 0.5151 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.5181, allocations: 4 kB / 0.5151 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.5181, allocations: 3.984 kB / 0.5151 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/0.5388, allocations: 12.29 MB / 0.5271 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.199e-05/0.5389, allocations: 23.94 kB / 0.5271 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009503/0.5399, allocations: 229.4 kB / 0.5273 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.245e-05/0.5399, allocations: 31.94 kB / 0.5273 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/0.54, allocations: 48 kB / 0.5274 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.829e-05/0.5401, allocations: 47.31 kB / 0.5274 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.699e-05/0.5401, allocations: 42.77 kB / 0.5275 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003836/0.5439, allocations: 2.654 MB / 0.5301 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009223/0.5449, allocations: 339.8 kB / 0.5304 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000356/0.5452, allocations: 52.81 kB / 0.5304 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.5463, allocations: 67.95 kB / 0.5305 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.5465, allocations: 137.6 kB / 0.5306 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.5466, allocations: 59.94 kB / 0.5307 GB, free: 3.434 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001864/0.5484, allocations: 0.9101 MB / 0.5316 GB, free: 2.516 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5484, allocations: 0 / 0.5316 GB, free: 2.516 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0034/0.5518, allocations: 0.8832 MB / 0.5324 GB, free: 1.629 MB / 430.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.0005927/0.5524, allocations: 222.9 kB / 0.5327 GB, free: 1.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003685/0.5561, allocations: 1.826 MB / 0.5344 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-05/0.5561, allocations: 1 kB / 0.5344 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.5573, allocations: 0.6163 MB / 0.535 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/0.56, allocations: 348.1 kB / 0.5354 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/0.5755, allocations: 6.382 MB / 0.5416 GB, free: 8.215 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004905/0.5804, allocations: 2.731 MB / 0.5443 GB, free: 5.449 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005839/0.581, allocations: 131.4 kB / 0.5444 GB, free: 5.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.164e-06/0.581, allocations: 7.938 kB / 0.5444 GB, free: 5.312 MB / 446.1 MB Notification: Performance of Templates: time 0.05971/0.6407, allocations: 35.63 MB / 0.5792 GB, free: 1.777 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.551949562010122]