Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001502, allocations: 209.9 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 230.5 MB / 258.1 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 71.88 kB / 379 MB, free: 2.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2394, allocations: 53.4 MB / 432.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01068/0.2501, allocations: 8.008 MB / 440.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005366/0.2555, allocations: 2.538 MB / 442.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009594/0.2564, allocations: 79.69 kB / 443 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008405/0.2648, allocations: 3.46 MB / 446.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003021/0.2679, allocations: 0.7648 MB / 447.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.2702, allocations: 0.8948 MB / 448.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004602/0.2748, allocations: 3.65 MB / 451.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009308/0.2841, allocations: 6.134 MB / 457.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003269/0.2874, allocations: 2.139 MB / 460.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00371/0.2911, allocations: 2.293 MB / 462.4 MB, free: 8.414 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001208/0.2923, allocations: 0.5859 MB / 462.9 MB, free: 7.828 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.2942, allocations: 0.8084 MB / 463.8 MB, free: 7.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.2953, allocations: 1.107 MB / 464.9 MB, free: 5.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002493/0.2978, allocations: 1.763 MB / 466.6 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009715/0.3075, allocations: 7.975 MB / 474.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3075, allocations: 4 kB / 474.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3075, allocations: 0 / 474.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001857/0.3077, allocations: 0 / 474.6 MB, free: 12.14 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.3205, allocations: 4.864 MB / 479.5 MB, free: 7.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3206, allocations: 11.98 kB / 479.5 MB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007938/0.3285, allocations: 1.286 MB / 480.8 MB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005245/0.3338, allocations: 2.309 MB / 483.1 MB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002879/0.3341, allocations: 312.4 kB / 483.4 MB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/0.3351, allocations: 419.9 kB / 483.8 MB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.3465, allocations: 5.506 MB / 489.3 MB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.674e-05/0.3466, allocations: 0 / 489.3 MB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004233/0.347, allocations: 172 kB / 489.5 MB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001897/0.3472, allocations: 176.6 kB / 489.6 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009499/0.3567, allocations: 4.796 MB / 494.4 MB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02907/0.3858, allocations: 16.31 MB / 0.4988 GB, free: 7.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00401/0.3898, allocations: 1.737 MB / 0.5005 GB, free: 5.555 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.3911, allocations: 0.73 MB / 0.5012 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.3913, allocations: 44.95 kB / 0.5012 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.3914, allocations: 43.56 kB / 0.5013 GB, free: 4.727 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.417e-06/0.3914, allocations: 0 / 0.5013 GB, free: 4.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002615/0.394, allocations: 1.562 MB / 0.5028 GB, free: 3.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.394, allocations: 64.41 kB / 0.5028 GB, free: 3.082 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.3961, allocations: 1.403 MB / 0.5042 GB, free: 1.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.674e-05/0.3962, allocations: 41.7 kB / 0.5043 GB, free: 1.613 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.3976, allocations: 1.823 MB / 0.506 GB, free: 15.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003785/0.3979, allocations: 381 kB / 0.5064 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006527/0.3986, allocations: 455.7 kB / 0.5068 GB, free: 14.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.3988, allocations: 349.7 kB / 0.5072 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.4001, allocations: 0.8318 MB / 0.508 GB, free: 13.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002186/0.4023, allocations: 1.823 MB / 0.5098 GB, free: 11.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0036/0.4059, allocations: 2.802 MB / 0.5125 GB, free: 8.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-05/0.4059, allocations: 8 kB / 0.5125 GB, free: 8.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004466/0.4104, allocations: 2.746 MB / 0.5152 GB, free: 5.414 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.4104, allocations: 20 kB / 0.5152 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.277e-05/0.4105, allocations: 32 kB / 0.5152 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.045e-05/0.4105, allocations: 48.78 kB / 0.5153 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.4122, allocations: 0.5303 MB / 0.5158 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.584e-05/0.4123, allocations: 67.78 kB / 0.5159 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.4136, allocations: 294 kB / 0.5161 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/0.4137, allocations: 112 kB / 0.5163 GB, free: 4.32 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.002332/0.4161, allocations: 1.492 MB / 0.5177 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.4163, allocations: 127.2 kB / 0.5178 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.4187, allocations: 1.461 MB / 0.5193 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001552/0.4203, allocations: 1.041 MB / 0.5203 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4203, allocations: 0 / 0.5203 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.4203, allocations: 11.97 kB / 0.5203 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/0.4363, allocations: 10.19 MB / 0.5302 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.967e-05/0.4363, allocations: 24.06 kB / 0.5303 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008308/0.4372, allocations: 235.5 kB / 0.5305 GB, free: 5.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.899e-05/0.4372, allocations: 24 kB / 0.5305 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.44e-05/0.4373, allocations: 55.98 kB / 0.5306 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.289e-05/0.4373, allocations: 39.86 kB / 0.5306 GB, free: 5.262 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.528e-05/0.4373, allocations: 31.88 kB / 0.5306 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003651/0.441, allocations: 2.672 MB / 0.5332 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007649/0.4417, allocations: 270.8 kB / 0.5335 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.4419, allocations: 47.98 kB / 0.5335 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007878/0.4427, allocations: 67.94 kB / 0.5336 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.4429, allocations: 151.2 kB / 0.5338 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-05/0.443, allocations: 63.92 kB / 0.5338 GB, free: 1.648 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001385/0.4444, allocations: 0.906 MB / 0.5347 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4444, allocations: 0 / 0.5347 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.2132/0.6576, allocations: 0.8729 MB / 0.5355 GB, free: 96.49 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.0006216/0.6582, allocations: 203.2 kB / 0.5357 GB, free: 96.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003317/0.6615, allocations: 1.836 MB / 0.5375 GB, free: 96.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-05/0.6616, allocations: 2.625 kB / 0.5375 GB, free: 96.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009796/0.6625, allocations: 0.6198 MB / 0.5381 GB, free: 96.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/0.6647, allocations: 334.9 kB / 0.5385 GB, free: 96.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009754/0.6745, allocations: 6.352 MB / 0.5447 GB, free: 92.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/0.6764, allocations: 2.187 MB / 0.5468 GB, free: 92.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004533/0.6768, allocations: 142.8 kB / 0.5469 GB, free: 92.05 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6768, allocations: 0 / 0.5469 GB, free: 92.05 MB / 446.1 MB Notification: Performance of Templates: time 0.04254/0.7194, allocations: 37.32 MB / 0.5834 GB, free: 59.87 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.487488224171102]