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.001794/0.001794, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.002077/0.002077, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.433/1.433, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001655/0.001655, allocations: 43.92 kB / 371.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2824, allocations: 52.2 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01145/0.2939, allocations: 9.189 MB / 433.1 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005824/0.2997, allocations: 2.6 MB / 435.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.3012, allocations: 75.69 kB / 435.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009388/0.3106, allocations: 3.782 MB / 439.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.3143, allocations: 0.9226 MB / 440.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.3167, allocations: 0.8021 MB / 441.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005344/0.322, allocations: 3.657 MB / 444.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0107/0.3327, allocations: 6.192 MB / 451.1 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00343/0.3362, allocations: 2.139 MB / 453.3 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003928/0.3401, allocations: 2.387 MB / 455.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001269/0.3414, allocations: 0.5859 MB / 456.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002146/0.3435, allocations: 0.7967 MB / 457 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001445/0.345, allocations: 1.114 MB / 458.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002886/0.3479, allocations: 2.276 MB / 460.4 MB, free: 9.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008294/0.3561, allocations: 7.908 MB / 468.3 MB, free: 2.059 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/0.3562, allocations: 4 kB / 468.3 MB, free: 2.055 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3562, allocations: 0 / 468.3 MB, free: 2.055 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001651/0.3563, allocations: 3.984 kB / 468.3 MB, free: 2.051 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.01185/0.3682, allocations: 4.857 MB / 473.2 MB, free: 13.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3682, allocations: 8.031 kB / 473.2 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007351/0.3756, allocations: 1.286 MB / 474.5 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005055/0.3806, allocations: 2.305 MB / 476.8 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002751/0.3809, allocations: 316.4 kB / 477.1 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008069/0.3817, allocations: 404 kB / 477.5 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.3922, allocations: 5.477 MB / 483 MB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-05/0.3923, allocations: 3.953 kB / 483 MB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004098/0.3927, allocations: 172 kB / 483.1 MB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001858/0.3929, allocations: 184.5 kB / 483.3 MB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009583/0.4024, allocations: 4.796 MB / 488.1 MB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03106/0.4335, allocations: 18.53 MB / 0.4948 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003904/0.4374, allocations: 1.76 MB / 0.4965 GB, free: 9.258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.4387, allocations: 0.7145 MB / 0.4972 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.4388, allocations: 40.94 kB / 0.4972 GB, free: 8.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.4388, allocations: 43.56 kB / 0.4973 GB, free: 8.449 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.965e-06/0.4389, allocations: 0 / 0.4973 GB, free: 8.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002557/0.4414, allocations: 1.558 MB / 0.4988 GB, free: 6.891 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.4415, allocations: 60.41 kB / 0.4988 GB, free: 6.816 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.4435, allocations: 1.342 MB / 0.5002 GB, free: 5.457 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/0.4435, allocations: 45.7 kB / 0.5002 GB, free: 5.406 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001356/0.4449, allocations: 1.819 MB / 0.502 GB, free: 3.566 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003553/0.4452, allocations: 384.9 kB / 0.5023 GB, free: 3.188 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006271/0.4459, allocations: 451.7 kB / 0.5028 GB, free: 2.738 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.446, allocations: 349.9 kB / 0.5031 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.4473, allocations: 0.8318 MB / 0.5039 GB, free: 1.555 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/0.4495, allocations: 1.823 MB / 0.5057 GB, free: 15.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003509/0.453, allocations: 2.798 MB / 0.5084 GB, free: 11.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.642e-05/0.453, allocations: 8 kB / 0.5084 GB, free: 11.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004218/0.4572, allocations: 2.731 MB / 0.5111 GB, free: 9.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.4573, allocations: 20 kB / 0.5111 GB, free: 9.211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.982e-05/0.4573, allocations: 36 kB / 0.5112 GB, free: 9.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.209e-05/0.4574, allocations: 44 kB / 0.5112 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.459, allocations: 0.5309 MB / 0.5117 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.598e-05/0.4591, allocations: 67.78 kB / 0.5118 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.4603, allocations: 290 kB / 0.5121 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.4605, allocations: 120 kB / 0.5122 GB, free: 8.133 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.002188/0.4627, allocations: 1.484 MB / 0.5136 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.4629, allocations: 127.2 kB / 0.5137 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/0.4652, allocations: 1.462 MB / 0.5152 GB, free: 5.035 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001504/0.4667, allocations: 1.037 MB / 0.5162 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4667, allocations: 0 / 0.5162 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.4667, allocations: 3.984 kB / 0.5162 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/0.4827, allocations: 10.96 MB / 0.5269 GB, free: 8.676 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-05/0.4828, allocations: 24.25 kB / 0.5269 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008115/0.4836, allocations: 231.5 kB / 0.5271 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.012e-05/0.4836, allocations: 28 kB / 0.5272 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-05/0.4837, allocations: 52 kB / 0.5272 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.957e-05/0.4837, allocations: 35.86 kB / 0.5272 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.416e-05/0.4837, allocations: 35.81 kB / 0.5273 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003386/0.4871, allocations: 2.66 MB / 0.5299 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000627/0.4878, allocations: 270.8 kB / 0.5301 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.4879, allocations: 47.98 kB / 0.5302 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007313/0.4887, allocations: 67.94 kB / 0.5302 GB, free: 4.922 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.4888, allocations: 147.3 kB / 0.5304 GB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-05/0.4889, allocations: 67.92 kB / 0.5304 GB, free: 4.711 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001251/0.4902, allocations: 0.9062 MB / 0.5313 GB, free: 3.797 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4902, allocations: 0 / 0.5313 GB, free: 3.797 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002387/0.4926, allocations: 0.8793 MB / 0.5322 GB, free: 2.914 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.0003379/0.4929, allocations: 210.5 kB / 0.5324 GB, free: 2.699 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00281/0.4957, allocations: 1.832 MB / 0.5342 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.4957, allocations: 4 kB / 0.5342 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009111/0.4966, allocations: 0.613 MB / 0.5348 GB, free: 260 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1836/0.6802, allocations: 332.7 kB / 0.5351 GB, free: 105.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009545/0.6897, allocations: 6.385 MB / 0.5413 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001887/0.6916, allocations: 2.743 MB / 0.544 GB, free: 101.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/0.692, allocations: 132 kB / 0.5441 GB, free: 101.5 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.692, allocations: 0 / 0.5441 GB, free: 101.5 MB / 446.1 MB Notification: Performance of Templates: time 0.03707/0.7291, allocations: 35.67 MB / 0.579 GB, free: 71.69 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.953577507054433]