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.001351/0.001351, allocations: 100 kB / 21.18 MB, free: 0.6484 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.001406/0.001406, allocations: 184.9 kB / 24.45 MB, free: 3.961 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.426/1.426, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.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.00163/0.00163, allocations: 59.84 kB / 371.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2579, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01121/0.2692, allocations: 7.991 MB / 431.8 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006094/0.2752, allocations: 2.476 MB / 434.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.2765, allocations: 79.62 kB / 434.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008995/0.2855, allocations: 3.477 MB / 437.9 MB, free: 412 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003878/0.2894, allocations: 0.8971 MB / 438.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.2918, allocations: 0.7674 MB / 439.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005814/0.2977, allocations: 3.657 MB / 443.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01053/0.3082, allocations: 6.124 MB / 449.3 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004057/0.3123, allocations: 2.135 MB / 451.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004641/0.3169, allocations: 2.297 MB / 453.7 MB, free: 412 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002129/0.319, allocations: 0.586 MB / 454.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003324/0.3223, allocations: 0.781 MB / 455.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001827/0.3242, allocations: 1.114 MB / 456.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003988/0.3282, allocations: 1.763 MB / 458 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.3393, allocations: 7.954 MB / 465.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.3393, allocations: 0 / 465.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3393, allocations: 0 / 465.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002593/0.3395, allocations: 0 / 465.9 MB, free: 4.172 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.01621/0.3557, allocations: 4.861 MB / 470.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.3558, allocations: 11.97 kB / 470.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008349/0.3641, allocations: 1.286 MB / 472.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0061/0.3702, allocations: 2.309 MB / 474.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000347/0.3706, allocations: 316.4 kB / 474.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001462/0.3721, allocations: 408 kB / 475.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01553/0.3876, allocations: 5.498 MB / 480.6 MB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001269/0.3877, allocations: 3.953 kB / 480.6 MB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008233/0.3885, allocations: 168 kB / 480.8 MB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000231/0.3888, allocations: 176.6 kB / 480.9 MB, free: 5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.3998, allocations: 4.785 MB / 485.7 MB, free: 204 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03231/0.4321, allocations: 16.3 MB / 0.4903 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004163/0.4363, allocations: 1.737 MB / 0.492 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.4376, allocations: 0.7184 MB / 0.4927 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.4377, allocations: 40.91 kB / 0.4927 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.943e-05/0.4378, allocations: 43.56 kB / 0.4927 GB, free: 12.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.747e-06/0.4378, allocations: 0 / 0.4927 GB, free: 12.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002734/0.4405, allocations: 1.55 MB / 0.4942 GB, free: 11.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.4406, allocations: 68.39 kB / 0.4943 GB, free: 11.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002277/0.4429, allocations: 1.403 MB / 0.4957 GB, free: 9.766 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.443, allocations: 41.7 kB / 0.4957 GB, free: 9.719 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.4447, allocations: 1.819 MB / 0.4975 GB, free: 7.879 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004474/0.4451, allocations: 380.9 kB / 0.4979 GB, free: 7.504 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007233/0.4459, allocations: 455.6 kB / 0.4983 GB, free: 7.051 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.4461, allocations: 353.9 kB / 0.4986 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.4474, allocations: 0.8279 MB / 0.4994 GB, free: 5.867 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/0.4499, allocations: 1.819 MB / 0.5012 GB, free: 3.566 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00422/0.4541, allocations: 2.798 MB / 0.504 GB, free: 304 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.184e-05/0.4541, allocations: 8 kB / 0.504 GB, free: 296 kB / 414.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.00493/0.4591, allocations: 2.742 MB / 0.5066 GB, free: 13.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.653e-05/0.4591, allocations: 20 kB / 0.5067 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.28e-05/0.4592, allocations: 32 kB / 0.5067 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-05/0.4593, allocations: 48.72 kB / 0.5067 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.461, allocations: 0.5226 MB / 0.5072 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.562e-05/0.4611, allocations: 71.72 kB / 0.5073 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.4627, allocations: 294 kB / 0.5076 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.4629, allocations: 112 kB / 0.5077 GB, free: 12.45 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.003139/0.466, allocations: 1.488 MB / 0.5092 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/0.4663, allocations: 123.2 kB / 0.5093 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002687/0.469, allocations: 1.465 MB / 0.5107 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001637/0.4707, allocations: 1.041 MB / 0.5117 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.4707, allocations: 4 kB / 0.5117 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.4707, allocations: 3.984 kB / 0.5117 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/0.4875, allocations: 10.06 MB / 0.5215 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.011e-05/0.4875, allocations: 24 kB / 0.5216 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008442/0.4884, allocations: 231.5 kB / 0.5218 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-05/0.4884, allocations: 28 kB / 0.5218 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-05/0.4885, allocations: 48 kB / 0.5219 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.994e-05/0.4885, allocations: 43.84 kB / 0.5219 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.683e-05/0.4886, allocations: 36.28 kB / 0.5219 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003911/0.4925, allocations: 2.66 MB / 0.5245 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008889/0.4934, allocations: 262.8 kB / 0.5248 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.4936, allocations: 47.94 kB / 0.5248 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008154/0.4944, allocations: 71.94 kB / 0.5249 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.4946, allocations: 143.3 kB / 0.525 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.4947, allocations: 64.05 kB / 0.5251 GB, free: 9.934 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001438/0.4961, allocations: 0.9021 MB / 0.526 GB, free: 9.023 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4961, allocations: 0 / 0.526 GB, free: 9.023 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002766/0.4989, allocations: 0.8909 MB / 0.5269 GB, free: 8.129 MB / 446.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.0004753/0.4994, allocations: 206.6 kB / 0.5271 GB, free: 7.914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003329/0.5027, allocations: 1.828 MB / 0.5288 GB, free: 6.086 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.531e-05/0.5027, allocations: 7.938 kB / 0.5288 GB, free: 6.078 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.5038, allocations: 0.6209 MB / 0.5294 GB, free: 5.461 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.5061, allocations: 337.3 kB / 0.5298 GB, free: 5.141 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1927/0.6987, allocations: 6.387 MB / 0.536 GB, free: 105.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002373/0.7011, allocations: 2.186 MB / 0.5381 GB, free: 105.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004604/0.7016, allocations: 132.9 kB / 0.5383 GB, free: 105.4 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.7016, allocations: 0 / 0.5383 GB, free: 105.4 MB / 446.1 MB Notification: Performance of Templates: time 0.03577/0.7373, allocations: 36.92 MB / 0.5743 GB, free: 75.99 MB / 446.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.431364606134593]