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.001804/0.001804, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.002293/0.002293, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.492/1.492, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.001486/0.001486, allocations: 43.94 kB / 374.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1243, allocations: 53.33 MB / 427.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.2151/0.3394, allocations: 5.942 MB / 433.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005258/0.3447, allocations: 2.136 MB / 435.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.3461, allocations: 48.5 kB / 435.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.3478, allocations: 405 kB / 436 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00247/0.3503, allocations: 0.5672 MB / 436.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007209/0.351, allocations: 227.6 kB / 436.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00351/0.3545, allocations: 2.225 MB / 439 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002686/0.3572, allocations: 1.59 MB / 440.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003503/0.3607, allocations: 1.077 MB / 441.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003439/0.3641, allocations: 1.245 MB / 442.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009835/0.3651, allocations: 287.2 kB / 443.2 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.3667, allocations: 382.8 kB / 443.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008759/0.3676, allocations: 0.7071 MB / 444.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002355/0.3699, allocations: 1.232 MB / 445.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006756/0.3767, allocations: 3.803 MB / 449.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.3767, allocations: 1.188 kB / 449.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.3767, allocations: 0.5156 kB / 449.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001211/0.3768, allocations: 0 / 449.3 MB, free: 1.863 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.005646/0.3825, allocations: 2.44 MB / 451.8 MB, free: 412 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3825, allocations: 7.812 kB / 451.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.3836, allocations: 287.9 kB / 452.1 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/0.3862, allocations: 1.381 MB / 453.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.3863, allocations: 142.9 kB / 453.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.3866, allocations: 174.4 kB / 453.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00468/0.3913, allocations: 2.543 MB / 456.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.3913, allocations: 1.734 kB / 456.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001907/0.3915, allocations: 75.42 kB / 456.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.3916, allocations: 95.19 kB / 456.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00359/0.3952, allocations: 2.113 MB / 458.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01207/0.4073, allocations: 7.372 MB / 465.9 MB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.4088, allocations: 1.232 MB / 467.2 MB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007602/0.4096, allocations: 452.2 kB / 467.6 MB, free: 5.934 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/0.4098, allocations: 116 kB / 467.7 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.4099, allocations: 43.81 kB / 467.8 MB, free: 5.781 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.154e-06/0.4099, allocations: 0 / 467.8 MB, free: 5.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004747/0.4146, allocations: 2.281 MB / 470.1 MB, free: 4.312 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.4147, allocations: 87.7 kB / 470.1 MB, free: 4.215 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002264/0.4169, allocations: 1.523 MB / 471.7 MB, free: 3.383 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.383e-05/0.417, allocations: 36.55 kB / 471.7 MB, free: 3.344 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008018/0.4178, allocations: 0.9935 MB / 472.7 MB, free: 2.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.418, allocations: 209.7 kB / 472.9 MB, free: 2.285 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003521/0.4184, allocations: 242.1 kB / 473.1 MB, free: 2.141 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4185, allocations: 360.6 kB / 473.5 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007353/0.4193, allocations: 465.1 kB / 473.9 MB, free: 1.449 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.4205, allocations: 1.087 MB / 475 MB, free: 52 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002083/0.4226, allocations: 1.622 MB / 476.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.4226, allocations: 8 kB / 476.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003007/0.4256, allocations: 1.691 MB / 478.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.4256, allocations: 12 kB / 478.4 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.034e-05/0.4257, allocations: 27.94 kB / 478.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007592/0.4264, allocations: 173.1 kB / 478.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008887/0.4273, allocations: 283.5 kB / 478.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/0.4299, allocations: 2.361 MB / 481.2 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.4311, allocations: 87.81 kB / 481.3 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.4312, allocations: 71.98 kB / 481.4 MB, free: 9.266 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.00115/0.4324, allocations: 0.7117 MB / 482.1 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002947/0.4326, allocations: 136.3 kB / 482.2 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.4342, allocations: 0.8344 MB / 483 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.4342, allocations: 8 kB / 483 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.4342, allocations: 4 kB / 483 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.4342, allocations: 3.984 kB / 483 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004223/0.4385, allocations: 2.484 MB / 485.5 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.4385, allocations: 5.344 kB / 485.5 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.4389, allocations: 99.88 kB / 485.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006496/0.4395, allocations: 152.6 kB / 485.8 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.4396, allocations: 19.98 kB / 485.8 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002447/0.442, allocations: 2.313 MB / 488.1 MB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.442, allocations: 8.031 kB / 488.1 MB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.4442, allocations: 1.318 MB / 489.4 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006427/0.4448, allocations: 296.2 kB / 489.7 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.445, allocations: 15.98 kB / 489.7 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006101/0.4456, allocations: 48.03 kB / 489.8 MB, free: 500 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.4457, allocations: 47.77 kB / 489.8 MB, free: 456 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.4458, allocations: 20 kB / 489.9 MB, free: 436 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001649/0.4474, allocations: 1.048 MB / 490.9 MB, free: 15.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4474, allocations: 0 / 490.9 MB, free: 15.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001602/0.449, allocations: 351.9 kB / 491.2 MB, free: 15.03 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.0004966/0.4495, allocations: 180.2 kB / 491.4 MB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002053/0.4516, allocations: 1.13 MB / 492.6 MB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4516, allocations: 0 / 492.6 MB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008274/0.4524, allocations: 0.502 MB / 493.1 MB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.4541, allocations: 370.5 kB / 493.4 MB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005786/0.4599, allocations: 3.241 MB / 496.7 MB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/0.4614, allocations: 1.663 MB / 498.3 MB, free: 7.848 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003933/0.4618, allocations: 99.42 kB / 498.4 MB, free: 7.75 MB / 398.1 MB Notification: Performance of SimCode: time 1.253e-06/0.4618, allocations: 0 / 498.4 MB, free: 7.75 MB / 398.1 MB Notification: Performance of Templates: time 0.04776/0.5096, allocations: 32.55 MB / 0.5185 GB, free: 7.277 MB / 430.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/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: 11.29688150100992]