Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001283/0.001283, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001376/0.001376, allocations: 207 kB / 23.73 MB, free: 4.387 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.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 51.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2764, allocations: 53.37 MB / 431.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007992/0.2844, allocations: 5.314 MB / 436.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00424/0.2886, allocations: 2.021 MB / 438.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009446/0.2896, allocations: 59.62 kB / 439 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.2908, allocations: 385.4 kB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.2926, allocations: 0.5866 MB / 439.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005816/0.2931, allocations: 231.7 kB / 440.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.2957, allocations: 2.214 MB / 442.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.2972, allocations: 1.131 MB / 443.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/0.2992, allocations: 1.078 MB / 444.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.3009, allocations: 1.202 MB / 445.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004024/0.3013, allocations: 295.9 kB / 446.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006933/0.302, allocations: 367.8 kB / 446.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006373/0.3027, allocations: 0.7129 MB / 447.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.3037, allocations: 0.996 MB / 448.1 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00369/0.3074, allocations: 3.827 MB / 452 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3074, allocations: 0 / 452 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3074, allocations: 0 / 452 MB, free: 2.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.971e-05/0.3075, allocations: 4 kB / 452 MB, free: 2.172 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.00474/0.3122, allocations: 2.362 MB / 454.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3123, allocations: 8.031 kB / 454.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009441/0.3132, allocations: 295.5 kB / 454.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.3157, allocations: 1.315 MB / 456 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.3158, allocations: 135.5 kB / 456.1 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002812/0.3161, allocations: 176 kB / 456.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004203/0.3203, allocations: 2.752 MB / 459 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.956e-05/0.3204, allocations: 4 kB / 459 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.3205, allocations: 72 kB / 459.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.3206, allocations: 95.58 kB / 459.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/0.3241, allocations: 2.11 MB / 461.3 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.3345, allocations: 6.316 MB / 467.6 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.3358, allocations: 0.7051 MB / 468.3 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007199/0.3365, allocations: 446.7 kB / 468.7 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001691/0.3366, allocations: 40.41 kB / 468.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.3367, allocations: 46.92 kB / 468.8 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 4.389e-06/0.3367, allocations: 3.984 kB / 468.8 MB, free: 0.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003891/0.3406, allocations: 2.121 MB / 471 MB, free: 14.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.3406, allocations: 81.55 kB / 471 MB, free: 14.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.3424, allocations: 1.36 MB / 472.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.3424, allocations: 33.7 kB / 472.4 MB, free: 13.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007451/0.3432, allocations: 1.025 MB / 473.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.3433, allocations: 206.3 kB / 473.7 MB, free: 12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/0.3437, allocations: 242.7 kB / 473.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3438, allocations: 357.9 kB / 474.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007366/0.3446, allocations: 462.3 kB / 474.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.3458, allocations: 1.123 MB / 475.8 MB, free: 9.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.3478, allocations: 1.615 MB / 477.4 MB, free: 7.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.3479, allocations: 8 kB / 477.4 MB, free: 7.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002755/0.3506, allocations: 1.672 MB / 479.1 MB, free: 5.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.3506, allocations: 12 kB / 479.1 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.3507, allocations: 24.5 kB / 479.1 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000719/0.3514, allocations: 184.6 kB / 479.3 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008655/0.3522, allocations: 287.5 kB / 479.6 MB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.3547, allocations: 2.211 MB / 481.8 MB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009023/0.3556, allocations: 87.81 kB / 481.9 MB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.002e-05/0.3557, allocations: 64 kB / 482 MB, free: 2.93 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.001042/0.3567, allocations: 0.7118 MB / 482.7 MB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.3569, allocations: 119.2 kB / 482.8 MB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.3584, allocations: 0.8321 MB / 483.6 MB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.3584, allocations: 4 kB / 483.6 MB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3584, allocations: 0 / 483.6 MB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.3584, allocations: 7.984 kB / 483.6 MB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/0.3619, allocations: 2.072 MB / 485.7 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.3619, allocations: 11.92 kB / 485.7 MB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/0.3622, allocations: 96.11 kB / 485.8 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006162/0.3629, allocations: 152.7 kB / 486 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.3629, allocations: 15.98 kB / 486 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002276/0.3652, allocations: 2.173 MB / 488.2 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.3652, allocations: 7.984 kB / 488.2 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.3671, allocations: 1.301 MB / 489.5 MB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005095/0.3676, allocations: 191.3 kB / 489.6 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.3678, allocations: 16 kB / 489.7 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005557/0.3683, allocations: 47.91 kB / 489.7 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.3684, allocations: 51.84 kB / 489.8 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.3685, allocations: 20 kB / 489.8 MB, free: 10.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001306/0.3698, allocations: 0.8993 MB / 490.7 MB, free: 9.953 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3698, allocations: 4 kB / 490.7 MB, free: 9.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001385/0.3712, allocations: 351.9 kB / 491 MB, free: 9.605 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.0004768/0.3717, allocations: 187.4 kB / 491.2 MB, free: 9.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001951/0.3736, allocations: 1.118 MB / 492.3 MB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3736, allocations: 0 / 492.3 MB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000815/0.3744, allocations: 0.5019 MB / 492.8 MB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.3756, allocations: 281.4 kB / 493.1 MB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005808/0.3814, allocations: 3.223 MB / 496.3 MB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/0.3828, allocations: 1.131 MB / 497.5 MB, free: 3.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008664/0.3836, allocations: 301.8 kB / 497.8 MB, free: 2.746 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.3838, allocations: 83.44 kB / 497.8 MB, free: 2.664 MB / 398.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3838, allocations: 0 / 497.8 MB, free: 2.664 MB / 398.1 MB Notification: Performance of Templates: time 0.03387/0.4177, allocations: 17.85 MB / 0.5036 GB, free: 1.148 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.124805090948939]