Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001275/0.001275, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 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.001277/0.001277, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 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.364/1.364, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 47.91 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2565, allocations: 52.14 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007842/0.2643, allocations: 5.959 MB / 426.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005505/0.2698, allocations: 2.084 MB / 428.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008197/0.2706, allocations: 43.81 kB / 428.9 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.2717, allocations: 406.9 kB / 429.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.2739, allocations: 0.5671 MB / 429.9 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.2744, allocations: 219.7 kB / 430.1 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002823/0.2772, allocations: 2.206 MB / 432.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.2789, allocations: 1.166 MB / 433.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.2814, allocations: 1.051 MB / 434.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.2835, allocations: 1.238 MB / 435.8 MB, free: 104 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000444/0.284, allocations: 288 kB / 436.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007823/0.2847, allocations: 375.8 kB / 436.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007603/0.2855, allocations: 0.7129 MB / 437.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.287, allocations: 1.225 MB / 438.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004722/0.2918, allocations: 3.796 MB / 442.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.2918, allocations: 0 / 442.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2918, allocations: 0 / 442.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001005/0.2919, allocations: 0 / 442.2 MB, free: 9.703 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.005929/0.2978, allocations: 2.437 MB / 444.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.2978, allocations: 11.89 kB / 444.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007995/0.2986, allocations: 263.5 kB / 444.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/0.3012, allocations: 1.357 MB / 446.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.3013, allocations: 135.5 kB / 446.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003978/0.3017, allocations: 168 kB / 446.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005417/0.3071, allocations: 2.547 MB / 449.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/0.3072, allocations: 3.938 kB / 449.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.3074, allocations: 79.98 kB / 449.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.3075, allocations: 95.58 kB / 449.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003886/0.3114, allocations: 2.11 MB / 451.4 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/0.3236, allocations: 7.385 MB / 458.7 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.3252, allocations: 1.227 MB / 460 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007411/0.326, allocations: 460.7 kB / 460.4 MB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002282/0.3262, allocations: 113.5 kB / 460.5 MB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.3262, allocations: 39 kB / 460.6 MB, free: 6.762 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 4.558e-06/0.3262, allocations: 3.984 kB / 460.6 MB, free: 6.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004577/0.3308, allocations: 2.287 MB / 462.9 MB, free: 4.391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.3309, allocations: 85.55 kB / 462.9 MB, free: 4.289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/0.3332, allocations: 1.508 MB / 464.5 MB, free: 2.773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.326e-05/0.3332, allocations: 37.7 kB / 464.5 MB, free: 2.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008482/0.3341, allocations: 0.9977 MB / 465.5 MB, free: 1.723 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.3343, allocations: 202.4 kB / 465.7 MB, free: 1.523 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003662/0.3346, allocations: 246.7 kB / 465.9 MB, free: 1.277 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.3348, allocations: 365.9 kB / 466.3 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007146/0.3355, allocations: 458.3 kB / 466.7 MB, free: 476 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.3368, allocations: 1.09 MB / 467.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.3389, allocations: 1.619 MB / 469.4 MB, free: 13.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.3389, allocations: 8 kB / 469.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003182/0.3421, allocations: 1.687 MB / 471.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.3422, allocations: 12.56 kB / 471.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.279e-05/0.3422, allocations: 24 kB / 471.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007857/0.343, allocations: 180.7 kB / 471.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000866/0.3438, allocations: 279.5 kB / 471.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/0.3465, allocations: 2.365 MB / 474 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.3476, allocations: 87.81 kB / 474.1 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.3477, allocations: 67.98 kB / 474.1 MB, free: 8.277 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001172/0.3489, allocations: 0.7079 MB / 474.8 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/0.3492, allocations: 139.1 kB / 475 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.3507, allocations: 0.8412 MB / 475.8 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3507, allocations: 8 kB / 475.8 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3507, allocations: 0 / 475.8 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3507, allocations: 3.984 kB / 475.8 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004223/0.355, allocations: 2.49 MB / 478.3 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.355, allocations: 7.938 kB / 478.3 MB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.3554, allocations: 95.88 kB / 478.4 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006726/0.356, allocations: 153 kB / 478.6 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/0.3561, allocations: 19.98 kB / 478.6 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00254/0.3586, allocations: 2.303 MB / 480.9 MB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.3586, allocations: 4.062 kB / 480.9 MB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.3609, allocations: 1.322 MB / 482.2 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007269/0.3616, allocations: 288.1 kB / 482.5 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.3618, allocations: 19.98 kB / 482.5 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000596/0.3624, allocations: 48.03 kB / 482.6 MB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.3625, allocations: 47.81 kB / 482.6 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/0.3626, allocations: 20 kB / 482.6 MB, free: 15.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001591/0.3641, allocations: 1.04 MB / 483.7 MB, free: 14.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3641, allocations: 0 / 483.7 MB, free: 14.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00153/0.3657, allocations: 347.9 kB / 484 MB, free: 14.05 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005434/0.3662, allocations: 191.7 kB / 484.2 MB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002165/0.3684, allocations: 1.129 MB / 485.3 MB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3684, allocations: 0 / 485.3 MB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009276/0.3693, allocations: 0.4958 MB / 485.8 MB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.371, allocations: 374.5 kB / 486.2 MB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005495/0.3765, allocations: 3.268 MB / 489.5 MB, free: 8.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/0.378, allocations: 1.698 MB / 491.2 MB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009063/0.3789, allocations: 331.2 kB / 491.5 MB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.3791, allocations: 87.44 kB / 491.6 MB, free: 6.379 MB / 398.1 MB Notification: Performance of SimCode: time 1.403e-06/0.3791, allocations: 0 / 491.6 MB, free: 6.379 MB / 398.1 MB Notification: Performance of Templates: time 0.03764/0.4168, allocations: 19.43 MB / 0.499 GB, free: 3.164 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.095412063412368]