Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 214.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 55.91 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2455, allocations: 53.36 MB / 432.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01048/0.256, allocations: 8.019 MB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005671/0.2617, allocations: 2.53 MB / 442.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.2629, allocations: 75.69 kB / 443 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008331/0.2712, allocations: 3.466 MB / 446.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003063/0.2743, allocations: 0.7455 MB / 447.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.2766, allocations: 0.9133 MB / 448.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004644/0.2812, allocations: 3.646 MB / 451.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008685/0.2899, allocations: 6.117 MB / 457.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003134/0.2931, allocations: 2.159 MB / 460 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003665/0.2967, allocations: 2.289 MB / 462.3 MB, free: 8.559 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.2978, allocations: 0.582 MB / 462.9 MB, free: 7.977 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.2995, allocations: 0.8006 MB / 463.7 MB, free: 7.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009886/0.3005, allocations: 1.114 MB / 464.8 MB, free: 6.059 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002092/0.3026, allocations: 1.771 MB / 466.6 MB, free: 4.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008168/0.3108, allocations: 7.97 MB / 474.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3108, allocations: 0 / 474.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3108, allocations: 0 / 474.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000178/0.3109, allocations: 0 / 474.5 MB, free: 12.29 MB / 382.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.01283/0.3238, allocations: 4.861 MB / 479.4 MB, free: 7.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.3238, allocations: 12.03 kB / 479.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007602/0.3314, allocations: 1.286 MB / 480.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00536/0.3368, allocations: 2.313 MB / 483 MB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002792/0.3371, allocations: 308.4 kB / 483.3 MB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00102/0.3381, allocations: 412 kB / 483.7 MB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/0.3489, allocations: 5.514 MB / 489.2 MB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/0.349, allocations: 0 / 489.2 MB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003838/0.3494, allocations: 176 kB / 489.4 MB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001882/0.3496, allocations: 176.6 kB / 489.6 MB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00897/0.3586, allocations: 4.792 MB / 494.4 MB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02881/0.3874, allocations: 16.31 MB / 0.4987 GB, free: 7.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004053/0.3915, allocations: 1.749 MB / 0.5004 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.3928, allocations: 0.7183 MB / 0.5011 GB, free: 4.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/0.3929, allocations: 44.97 kB / 0.5012 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.393, allocations: 43.56 kB / 0.5012 GB, free: 4.883 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.576e-06/0.393, allocations: 0 / 0.5012 GB, free: 4.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002608/0.3956, allocations: 1.569 MB / 0.5027 GB, free: 3.312 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.3956, allocations: 64.41 kB / 0.5028 GB, free: 3.234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/0.3978, allocations: 1.396 MB / 0.5042 GB, free: 1.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.417e-05/0.3979, allocations: 45.69 kB / 0.5042 GB, free: 1.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001384/0.3993, allocations: 1.831 MB / 0.506 GB, free: 15.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003684/0.3997, allocations: 373 kB / 0.5063 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006754/0.4003, allocations: 459.7 kB / 0.5068 GB, free: 15.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4005, allocations: 349.7 kB / 0.5071 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.4019, allocations: 0.8357 MB / 0.5079 GB, free: 13.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/0.4042, allocations: 1.823 MB / 0.5097 GB, free: 11.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003568/0.4077, allocations: 2.798 MB / 0.5124 GB, free: 8.324 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.966e-05/0.4078, allocations: 12 kB / 0.5125 GB, free: 8.312 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004469/0.4122, allocations: 2.743 MB / 0.5151 GB, free: 5.562 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.597e-05/0.4123, allocations: 23.98 kB / 0.5152 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.788e-05/0.4123, allocations: 32 kB / 0.5152 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-05/0.4124, allocations: 51.94 kB / 0.5152 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.4142, allocations: 0.5186 MB / 0.5157 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.008e-05/0.4142, allocations: 68.31 kB / 0.5158 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.4157, allocations: 290 kB / 0.5161 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/0.4159, allocations: 120 kB / 0.5162 GB, free: 4.469 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.002461/0.4184, allocations: 1.488 MB / 0.5176 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/0.4187, allocations: 127.1 kB / 0.5178 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.4211, allocations: 1.465 MB / 0.5192 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001548/0.4227, allocations: 1.045 MB / 0.5202 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4227, allocations: 4 kB / 0.5202 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.4227, allocations: 7.922 kB / 0.5202 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/0.4392, allocations: 10.18 MB / 0.5302 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.284e-05/0.4392, allocations: 20 kB / 0.5302 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009158/0.4402, allocations: 235.5 kB / 0.5304 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-05/0.4402, allocations: 32.06 kB / 0.5304 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/0.4403, allocations: 51.98 kB / 0.5305 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.461e-05/0.4403, allocations: 35.86 kB / 0.5305 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.087e-05/0.4404, allocations: 35.81 kB / 0.5306 GB, free: 5.379 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004045/0.4444, allocations: 2.668 MB / 0.5332 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007945/0.4452, allocations: 274.8 kB / 0.5334 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/0.4455, allocations: 51.98 kB / 0.5335 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009192/0.4464, allocations: 67.88 kB / 0.5335 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.4466, allocations: 151.3 kB / 0.5337 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.225e-05/0.4467, allocations: 59.92 kB / 0.5337 GB, free: 1.801 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001618/0.4483, allocations: 0.9021 MB / 0.5346 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4483, allocations: 0 / 0.5346 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002832/0.4512, allocations: 0.8832 MB / 0.5355 GB, free: 4 kB / 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.2414/0.6925, allocations: 199.1 kB / 0.5357 GB, free: 97.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003671/0.6962, allocations: 1.839 MB / 0.5375 GB, free: 97.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.801e-05/0.6962, allocations: 3.5 kB / 0.5375 GB, free: 97.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009796/0.6972, allocations: 0.6177 MB / 0.5381 GB, free: 97.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/0.6996, allocations: 337.5 kB / 0.5384 GB, free: 97.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.7103, allocations: 6.351 MB / 0.5446 GB, free: 94.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002643/0.713, allocations: 2.183 MB / 0.5467 GB, free: 93.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004895/0.7135, allocations: 143 kB / 0.5469 GB, free: 93.38 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.7135, allocations: 0 / 0.5469 GB, free: 93.38 MB / 446.1 MB Notification: Performance of Templates: time 0.04891/0.7624, allocations: 37.32 MB / 0.5833 GB, free: 61.02 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.888147412799299]