Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001015/0.001015, allocations: 91.67 kB / 21.2 MB, free: 3.367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000999/0.000999, allocations: 160.5 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9685/0.9685, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_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.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.078e-05, allocations: 9.203 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005525/0.005546, allocations: 5.925 MB / 278.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.008672, allocations: 2.118 MB / 281 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003902/0.009062, allocations: 47.69 kB / 281 MB, free: 9.305 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007558/0.009818, allocations: 405.3 kB / 281.4 MB, free: 8.906 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.01088, allocations: 0.6055 MB / 282 MB, free: 8.297 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.01119, allocations: 235.6 kB / 282.2 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.0126, allocations: 2.33 MB / 284.6 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.01365, allocations: 1.135 MB / 285.7 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.01516, allocations: 1.618 MB / 287.3 MB, free: 2.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.01619, allocations: 1.2 MB / 288.5 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002367/0.01642, allocations: 288 kB / 288.8 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.01686, allocations: 379.8 kB / 289.2 MB, free: 1.074 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004296/0.01729, allocations: 0.7557 MB / 289.9 MB, free: 324 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1574/0.1747, allocations: 0.8772 MB / 290.8 MB, free: 17.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009401/0.1841, allocations: 2.04 MB / 292.8 MB, free: 17.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1841, allocations: 1.25 kB / 292.8 MB, free: 17.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1841, allocations: 3.375 kB / 292.9 MB, free: 17.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001025/0.1842, allocations: 0 / 292.9 MB, free: 17.67 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.01755/0.2018, allocations: 2.551 MB / 295.4 MB, free: 16.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.2018, allocations: 14.77 kB / 295.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008258/0.2101, allocations: 434.6 kB / 295.8 MB, free: 16.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/0.2126, allocations: 1.231 MB / 297.1 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00613/0.2187, allocations: 136 kB / 297.2 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003349/0.219, allocations: 173.2 kB / 297.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003573/0.2226, allocations: 1.587 MB / 299 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/0.2226, allocations: 1.719 kB / 299 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.2228, allocations: 77.66 kB / 299 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001603/0.223, allocations: 112.3 kB / 299.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.2252, allocations: 0.6139 MB / 299.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009938/0.2351, allocations: 6.005 MB / 305.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006957/0.2358, allocations: 394.6 kB / 306.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.2361, allocations: 213.2 kB / 306.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.2363, allocations: 46.53 kB / 306.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.2363, allocations: 41.36 kB / 306.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 3.798e-06/0.2363, allocations: 0 / 306.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.002445/0.2388, allocations: 1.279 MB / 307.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.2388, allocations: 81.3 kB / 307.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.24, allocations: 1.196 MB / 309 MB, free: 10.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.24, allocations: 29.7 kB / 309 MB, free: 10.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004255/0.2405, allocations: 1.12 MB / 310.2 MB, free: 9.426 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.2406, allocations: 211.1 kB / 310.4 MB, free: 9.266 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.2408, allocations: 269.3 kB / 310.6 MB, free: 9.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.2409, allocations: 0.5525 MB / 311.2 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.2411, allocations: 132.6 kB / 311.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.2416, allocations: 1.12 MB / 312.4 MB, free: 7.242 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008543/0.2424, allocations: 1.343 MB / 313.8 MB, free: 5.863 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/0.2424, allocations: 6.812 kB / 313.8 MB, free: 5.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001409/0.2439, allocations: 1.094 MB / 314.9 MB, free: 5.527 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.2439, allocations: 16.47 kB / 314.9 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/0.2439, allocations: 28.72 kB / 314.9 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004724/0.2444, allocations: 153.6 kB / 315.1 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.2448, allocations: 279.2 kB / 315.3 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.246, allocations: 2.367 MB / 317.7 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006924/0.2467, allocations: 87.78 kB / 317.8 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/0.2468, allocations: 68 kB / 317.9 MB, free: 2.625 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (148): * Single equations (assignments): 147 * 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.0005458/0.2473, allocations: 248.7 kB / 318.1 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.2475, allocations: 154 kB / 318.2 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005497/0.2481, allocations: 463.3 kB / 318.7 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2481, allocations: 4 kB / 318.7 MB, free: 1.789 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2481, allocations: 0 / 318.7 MB, free: 1.789 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2481, allocations: 3.984 kB / 318.7 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.2503, allocations: 1.911 MB / 320.6 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2503, allocations: 4 kB / 320.6 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.2505, allocations: 91.67 kB / 320.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003597/0.2509, allocations: 127.6 kB / 320.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.2509, allocations: 23.92 kB / 320.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.2524, allocations: 2.308 MB / 323.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.2524, allocations: 15.19 kB / 323.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.2535, allocations: 0.7926 MB / 324 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/0.2539, allocations: 189 kB / 324.2 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.4e-05/0.254, allocations: 19.98 kB / 324.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.2543, allocations: 39.98 kB / 324.2 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.2544, allocations: 58.58 kB / 324.3 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/0.2545, allocations: 16 kB / 324.3 MB, free: 11.99 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008501/0.2553, allocations: 0.6574 MB / 324.9 MB, free: 11.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2553, allocations: 0 / 324.9 MB, free: 11.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001358/0.2567, allocations: 344 kB / 325.3 MB, free: 10.99 MB / 282.7 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.0005271/0.2572, allocations: 201.1 kB / 325.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.259, allocations: 0.7725 MB / 326.3 MB, free: 10.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.259, allocations: 0 / 326.3 MB, free: 10.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005259/0.2595, allocations: 391.9 kB / 326.6 MB, free: 9.617 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.2606, allocations: 287.2 kB / 326.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004605/0.2652, allocations: 2.802 MB / 329.7 MB, free: 6.449 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.2657, allocations: 0.5247 MB / 330.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005188/0.2662, allocations: 261.9 kB / 330.5 MB, free: 5.641 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.2664, allocations: 88.48 kB / 330.6 MB, free: 5.555 MB / 282.7 MB Notification: Performance of SimCode: time 1.934e-06/0.2664, allocations: 0 / 330.6 MB, free: 5.555 MB / 282.7 MB Notification: Performance of Templates: time 0.01937/0.2857, allocations: 15.71 MB / 346.3 MB, free: 6.172 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3882925543002784]