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.002019/0.002019, allocations: 103.5 kB / 20.97 MB, free: 3.449 MB / 18.57 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.002034/0.002034, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 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.547/1.547, allocations: 177 MB / 204.5 MB, free: 5.594 MB / 186.7 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 1.783e-06/1.783e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.903e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01903/0.01906, allocations: 8.792 MB / 281 MB, free: 8.949 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008274/0.02734, allocations: 2.592 MB / 283.6 MB, free: 6.348 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.02848, allocations: 79.62 kB / 283.7 MB, free: 6.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01194/0.04041, allocations: 3.983 MB / 287.7 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.04351, allocations: 0.7684 MB / 288.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.0459, allocations: 0.9112 MB / 289.3 MB, free: 0.582 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1293/0.1752, allocations: 3.773 MB / 293.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007949/0.1832, allocations: 6.145 MB / 299.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005005/0.1882, allocations: 3.208 MB / 302.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003489/0.1917, allocations: 2.285 MB / 304.7 MB, free: 9.414 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001018/0.1927, allocations: 0.5855 MB / 305.3 MB, free: 9.414 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.1944, allocations: 0.8084 MB / 306.1 MB, free: 9.367 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007385/0.1952, allocations: 1.153 MB / 307.3 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001927/0.1971, allocations: 1.538 MB / 308.8 MB, free: 7.898 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00587/0.203, allocations: 8.055 MB / 316.9 MB, free: 2.238 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.203, allocations: 0.6875 kB / 316.9 MB, free: 2.238 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.203, allocations: 0.5312 kB / 316.9 MB, free: 2.238 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001505/0.2031, allocations: 0 / 316.9 MB, free: 2.238 MB / 266.7 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.01316/0.2163, allocations: 5.629 MB / 322.5 MB, free: 12.6 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.2163, allocations: 11.98 kB / 322.5 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008759/0.2251, allocations: 1.786 MB / 324.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005966/0.2311, allocations: 2.169 MB / 326.5 MB, free: 8.746 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003221/0.2314, allocations: 321 kB / 326.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001082/0.2325, allocations: 404 kB / 327.2 MB, free: 8.039 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.2434, allocations: 5.026 MB / 332.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/0.2435, allocations: 4.578 kB / 332.2 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004405/0.244, allocations: 171.4 kB / 332.4 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002206/0.2442, allocations: 176.6 kB / 332.6 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009842/0.254, allocations: 4.325 MB / 336.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04189/0.2959, allocations: 24.53 MB / 361.4 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004542/0.3005, allocations: 1.65 MB / 363.1 MB, free: 3.301 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.3019, allocations: 0.6598 MB / 363.7 MB, free: 2.645 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.302, allocations: 48.95 kB / 363.8 MB, free: 2.598 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.175e-05/0.3021, allocations: 53.8 kB / 363.8 MB, free: 2.535 MB / 314.7 MB Notification: Performance of pre-optimization done (n=100): time 3.236e-06/0.3021, allocations: 4 kB / 363.8 MB, free: 2.531 MB / 314.7 MB Notification: Performance of matching and sorting (n=100): time 0.00266/0.3048, allocations: 1.378 MB / 365.2 MB, free: 1.152 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.3048, allocations: 64.41 kB / 365.3 MB, free: 1.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003277/0.3081, allocations: 2.043 MB / 367.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.509e-05/0.3082, allocations: 41.7 kB / 367.4 MB, free: 14.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001961/0.3102, allocations: 2.033 MB / 369.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004512/0.3106, allocations: 398 kB / 369.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/0.3117, allocations: 0.5834 MB / 370.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003764/0.3121, allocations: 0.5629 MB / 370.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.3133, allocations: 0.7102 MB / 371.6 MB, free: 10.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002806/0.3161, allocations: 2.274 MB / 373.9 MB, free: 7.754 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004358/0.3205, allocations: 3.197 MB / 377.1 MB, free: 4.043 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.894e-05/0.3205, allocations: 8 kB / 377.1 MB, free: 4.035 MB / 330.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004556/0.325, allocations: 2.622 MB / 379.7 MB, free: 1.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.3251, allocations: 23.94 kB / 379.8 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.131e-05/0.3251, allocations: 32 kB / 379.8 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.891e-05/0.3252, allocations: 48.81 kB / 379.8 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/0.327, allocations: 0.5316 MB / 380.4 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.775e-05/0.3271, allocations: 66.78 kB / 380.4 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.3285, allocations: 286.1 kB / 380.7 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/0.3287, allocations: 120 kB / 380.8 MB, free: 0.5781 MB / 330.7 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.002427/0.3312, allocations: 1.429 MB / 382.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003122/0.3315, allocations: 163.1 kB / 382.4 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/0.3341, allocations: 1.36 MB / 383.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001544/0.3356, allocations: 0.8995 MB / 384.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3357, allocations: 4 kB / 384.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.3357, allocations: 3.984 kB / 384.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/0.3549, allocations: 11.07 MB / 395.7 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-05/0.355, allocations: 28.02 kB / 395.8 MB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008962/0.3559, allocations: 229.6 kB / 396 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.289e-05/0.3559, allocations: 28 kB / 396 MB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.576e-05/0.356, allocations: 52 kB / 396.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.865e-05/0.356, allocations: 46.84 kB / 396.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.738e-05/0.3561, allocations: 31.22 kB / 396.2 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003991/0.3601, allocations: 2.711 MB / 398.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007/0.3608, allocations: 238.9 kB / 399.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.3609, allocations: 51.92 kB / 399.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007739/0.3617, allocations: 67.94 kB / 399.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/0.3619, allocations: 149.4 kB / 399.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.362, allocations: 63.98 kB / 399.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001664/0.3637, allocations: 1.054 MB / 400.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3637, allocations: 0 / 400.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002698/0.3664, allocations: 0.8715 MB / 401.4 MB, free: 11.41 MB / 362.7 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.0003987/0.3668, allocations: 218.9 kB / 401.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003269/0.3701, allocations: 1.897 MB / 403.5 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.3701, allocations: 0 / 403.5 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009838/0.3711, allocations: 0.6048 MB / 404.1 MB, free: 8.902 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.3731, allocations: 354.1 kB / 404.4 MB, free: 8.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.3844, allocations: 6.37 MB / 410.8 MB, free: 1.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002606/0.387, allocations: 2.038 MB / 412.8 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001695/0.3887, allocations: 0.66 MB / 413.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.389, allocations: 120.5 kB / 413.6 MB, free: 14.92 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.389, allocations: 0 / 413.6 MB, free: 14.92 MB / 378.7 MB Notification: Performance of Templates: time 0.1399/0.5288, allocations: 15.74 MB / 429.3 MB, free: 110.1 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/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: 5.270571909961291]