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.001441/0.001441, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001505/0.001505, allocations: 210.9 kB / 23.73 MB, free: 4.523 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.001627/0.001627, allocations: 51.86 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2631, allocations: 53.36 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01087/0.274, allocations: 8.008 MB / 439.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005491/0.2795, allocations: 2.534 MB / 442.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007181/0.2802, allocations: 79.62 kB / 442.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008116/0.2883, allocations: 3.47 MB / 445.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.291, allocations: 0.7533 MB / 446.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.2932, allocations: 0.9154 MB / 447.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004113/0.2973, allocations: 3.646 MB / 451 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008412/0.3057, allocations: 6.183 MB / 457.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002957/0.3086, allocations: 2.143 MB / 459.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003526/0.3122, allocations: 2.391 MB / 461.7 MB, free: 8.426 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008361/0.313, allocations: 0.582 MB / 462.3 MB, free: 7.844 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.3152, allocations: 0.8162 MB / 463.1 MB, free: 7.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.3164, allocations: 1.107 MB / 464.2 MB, free: 5.918 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002771/0.3192, allocations: 1.77 MB / 466 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009389/0.3285, allocations: 7.965 MB / 473.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3286, allocations: 4 kB / 473.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3286, allocations: 0 / 473.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002065/0.3288, allocations: 0 / 473.9 MB, free: 12.15 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.0138/0.3426, allocations: 4.861 MB / 478.8 MB, free: 7.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.337e-05/0.3426, allocations: 8.031 kB / 478.8 MB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008274/0.3509, allocations: 1.286 MB / 480.1 MB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006001/0.3569, allocations: 2.309 MB / 482.4 MB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003065/0.3572, allocations: 320.4 kB / 482.7 MB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001216/0.3584, allocations: 419.9 kB / 483.1 MB, free: 2.871 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.3691, allocations: 5.498 MB / 488.6 MB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.806e-05/0.3692, allocations: 4 kB / 488.6 MB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00039/0.3696, allocations: 171.9 kB / 488.8 MB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/0.3698, allocations: 180.6 kB / 489 MB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008906/0.3787, allocations: 4.792 MB / 493.8 MB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02667/0.4053, allocations: 16.32 MB / 0.4981 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003955/0.4093, allocations: 1.741 MB / 0.4998 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.4106, allocations: 0.7144 MB / 0.5005 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.4108, allocations: 44.97 kB / 0.5006 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.4108, allocations: 51.55 kB / 0.5006 GB, free: 4.742 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.286e-06/0.4109, allocations: 0 / 0.5006 GB, free: 4.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002749/0.4136, allocations: 1.562 MB / 0.5021 GB, free: 3.176 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.4137, allocations: 60.41 kB / 0.5022 GB, free: 3.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/0.4159, allocations: 1.407 MB / 0.5036 GB, free: 1.676 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.417e-05/0.416, allocations: 41.7 kB / 0.5036 GB, free: 1.629 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.4173, allocations: 1.827 MB / 0.5054 GB, free: 15.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/0.4177, allocations: 377 kB / 0.5058 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006502/0.4183, allocations: 459.6 kB / 0.5062 GB, free: 14.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.4185, allocations: 349.7 kB / 0.5065 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.4198, allocations: 0.8357 MB / 0.5073 GB, free: 13.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/0.4219, allocations: 1.827 MB / 0.5091 GB, free: 11.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003471/0.4254, allocations: 2.798 MB / 0.5119 GB, free: 8.184 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.138e-05/0.4254, allocations: 12 kB / 0.5119 GB, free: 8.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004367/0.4298, allocations: 2.739 MB / 0.5146 GB, free: 5.422 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.4298, allocations: 23.98 kB / 0.5146 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.222e-05/0.4298, allocations: 36 kB / 0.5146 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.15e-05/0.4299, allocations: 48 kB / 0.5147 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.4316, allocations: 0.5186 MB / 0.5152 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-05/0.4317, allocations: 71.72 kB / 0.5152 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.4329, allocations: 294.5 kB / 0.5155 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.4331, allocations: 116 kB / 0.5156 GB, free: 4.324 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.002415/0.4355, allocations: 1.48 MB / 0.5171 GB, free: 2.832 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.4357, allocations: 131.1 kB / 0.5172 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.4381, allocations: 1.465 MB / 0.5186 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001511/0.4396, allocations: 1.037 MB / 0.5196 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.4397, allocations: 0 / 0.5196 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.4397, allocations: 7.984 kB / 0.5196 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/0.4556, allocations: 10.19 MB / 0.5296 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.922e-05/0.4557, allocations: 20.97 kB / 0.5296 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008682/0.4565, allocations: 231.5 kB / 0.5298 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.181e-05/0.4566, allocations: 28 kB / 0.5299 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.542e-05/0.4567, allocations: 55.98 kB / 0.5299 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.272e-05/0.4567, allocations: 39.86 kB / 0.53 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.556e-05/0.4567, allocations: 31.88 kB / 0.53 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003638/0.4604, allocations: 2.672 MB / 0.5326 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007457/0.4611, allocations: 270.8 kB / 0.5329 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.4613, allocations: 48.05 kB / 0.5329 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007723/0.4621, allocations: 67.94 kB / 0.533 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.4623, allocations: 151.2 kB / 0.5331 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.754e-05/0.4624, allocations: 63.98 kB / 0.5332 GB, free: 1.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001312/0.4637, allocations: 0.8982 MB / 0.534 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4637, allocations: 4 kB / 0.5341 GB, free: 0.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.2151/0.6788, allocations: 0.8735 MB / 0.5349 GB, free: 96.73 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.0006659/0.6794, allocations: 200.4 kB / 0.5351 GB, free: 96.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003212/0.6827, allocations: 1.84 MB / 0.5369 GB, free: 96.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-05/0.6827, allocations: 3.094 kB / 0.5369 GB, free: 96.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008184/0.6835, allocations: 0.6156 MB / 0.5375 GB, free: 96.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.6856, allocations: 343.6 kB / 0.5378 GB, free: 96.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009257/0.6948, allocations: 6.46 MB / 0.5441 GB, free: 93.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001878/0.6967, allocations: 2.258 MB / 0.5463 GB, free: 92.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001476/0.6982, allocations: 0.7607 MB / 0.5471 GB, free: 92.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.6984, allocations: 115.8 kB / 0.5472 GB, free: 92.18 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6984, allocations: 0 / 0.5472 GB, free: 92.18 MB / 446.1 MB Notification: Performance of Templates: time 0.02839/0.7268, allocations: 20.46 MB / 0.5672 GB, free: 76.21 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/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_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: 5.339775361120701]