Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.002165/0.002165, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002477/0.002477, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 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.45/1.45, allocations: 173.4 MB / 200.8 MB, free: 9.289 MB / 186.7 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.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.499e-05, allocations: 2.312 kB / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01269/0.01271, allocations: 8.512 MB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006046/0.01876, allocations: 2.612 MB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000854/0.01961, allocations: 91.56 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01006/0.02967, allocations: 4.122 MB / 282.7 MB, free: 7.285 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003924/0.03359, allocations: 0.9432 MB / 283.6 MB, free: 6.336 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.03575, allocations: 0.7979 MB / 284.4 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005509/0.04126, allocations: 4.224 MB / 288.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1219/0.1632, allocations: 7.057 MB / 295.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004615/0.1678, allocations: 3.584 MB / 299.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003573/0.1714, allocations: 2.285 MB / 301.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.1725, allocations: 0.6625 MB / 302.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.1741, allocations: 0.869 MB / 303.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007372/0.1749, allocations: 1.256 MB / 304.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001754/0.1766, allocations: 1.709 MB / 306.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005889/0.1825, allocations: 8.998 MB / 315.1 MB, free: 6.363 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1825, allocations: 1.344 kB / 315.1 MB, free: 6.363 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1825, allocations: 0 / 315.1 MB, free: 6.363 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001578/0.1827, allocations: 0 / 315.1 MB, free: 6.363 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01084/0.1935, allocations: 5.296 MB / 320.4 MB, free: 1.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1935, allocations: 8.031 kB / 320.4 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007744/0.2013, allocations: 1.843 MB / 322.2 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005946/0.2072, allocations: 2.705 MB / 324.9 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003575/0.2076, allocations: 349.8 kB / 325.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/0.2087, allocations: 452 kB / 325.7 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01442/0.2231, allocations: 6.124 MB / 331.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001126/0.2232, allocations: 7.891 kB / 331.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006952/0.2239, allocations: 188 kB / 332 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002538/0.2242, allocations: 197.5 kB / 332.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01152/0.2357, allocations: 5.256 MB / 337.5 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03525/0.2709, allocations: 18.36 MB / 355.8 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005618/0.2766, allocations: 2.072 MB / 357.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.2777, allocations: 0.604 MB / 358.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.2779, allocations: 36.55 kB / 358.5 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/0.2779, allocations: 43.56 kB / 358.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 3.667e-06/0.2779, allocations: 0 / 358.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.002873/0.2808, allocations: 1.464 MB / 360 MB, free: 9.922 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.2809, allocations: 64.41 kB / 360.1 MB, free: 9.844 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002922/0.2838, allocations: 1.519 MB / 361.6 MB, free: 8.312 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.478e-05/0.2839, allocations: 41.7 kB / 361.7 MB, free: 8.266 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001846/0.2857, allocations: 2.034 MB / 363.7 MB, free: 6.227 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004124/0.2861, allocations: 370 kB / 364.1 MB, free: 5.871 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008347/0.287, allocations: 471.5 kB / 364.5 MB, free: 5.406 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002309/0.2872, allocations: 353.9 kB / 364.9 MB, free: 5.055 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.2887, allocations: 0.8084 MB / 365.7 MB, free: 4.242 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002692/0.2914, allocations: 1.941 MB / 367.6 MB, free: 1.766 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004109/0.2955, allocations: 2.927 MB / 370.5 MB, free: 14.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-05/0.2955, allocations: 12 kB / 370.5 MB, free: 14.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.005323/0.3009, allocations: 2.905 MB / 373.5 MB, free: 11.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/0.3009, allocations: 27.94 kB / 373.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.857e-05/0.301, allocations: 40 kB / 373.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.35e-05/0.3011, allocations: 52 kB / 373.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.303, allocations: 0.5368 MB / 374.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.903e-05/0.3031, allocations: 85.03 kB / 374.2 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.3047, allocations: 297.9 kB / 374.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/0.305, allocations: 124 kB / 374.6 MB, free: 10.68 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * 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.002959/0.3079, allocations: 1.665 MB / 376.3 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004027/0.3083, allocations: 163.1 kB / 376.4 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.3109, allocations: 1.349 MB / 377.8 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001535/0.3124, allocations: 0.9313 MB / 378.7 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.3124, allocations: 0 / 378.7 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.3125, allocations: 3.984 kB / 378.7 MB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01739/0.3298, allocations: 10.08 MB / 388.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.37e-05/0.3299, allocations: 20 kB / 388.8 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008483/0.3307, allocations: 211.7 kB / 389 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.06e-05/0.3308, allocations: 28.06 kB / 389 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.3309, allocations: 50.14 kB / 389.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.532e-05/0.3309, allocations: 34.27 kB / 389.1 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.549e-05/0.3309, allocations: 34.5 kB / 389.2 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003748/0.3347, allocations: 2.448 MB / 391.6 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006625/0.3353, allocations: 246.8 kB / 391.8 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/0.3356, allocations: 43.98 kB / 391.9 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008859/0.3365, allocations: 71.09 kB / 392 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/0.3367, allocations: 136.2 kB / 392.1 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.3368, allocations: 59.98 kB / 392.2 MB, free: 8.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001837/0.3387, allocations: 0.9797 MB / 393.1 MB, free: 7.785 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3387, allocations: 0 / 393.1 MB, free: 7.785 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00318/0.3418, allocations: 0.9608 MB / 394.1 MB, free: 6.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (98): * Single equations (assignments): 97 * 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.0004563/0.3423, allocations: 216.7 kB / 394.3 MB, free: 6.621 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003308/0.3456, allocations: 1.794 MB / 396.1 MB, free: 4.969 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/0.3456, allocations: 4 kB / 396.1 MB, free: 4.965 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009665/0.3466, allocations: 0.5557 MB / 396.7 MB, free: 4.473 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.3492, allocations: 384.2 kB / 397 MB, free: 4.105 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/0.364, allocations: 7.001 MB / 404 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004634/0.3686, allocations: 2.525 MB / 406.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002249/0.3708, allocations: 0.817 MB / 407.4 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003829/0.3712, allocations: 112.5 kB / 407.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of SimCode: time 2.675e-06/0.3712, allocations: 0 / 407.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of Templates: time 0.03747/0.4087, allocations: 16.83 MB / 424.3 MB, free: 8.836 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.078393428935669]