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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001576/0.001582, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001734/0.001734, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 59.09 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08223/0.0834, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006843/0.09028, allocations: 5.903 MB / 364.8 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003738/0.09405, allocations: 2.126 MB / 366.9 MB, free: 5.262 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004881/0.09456, allocations: 43.81 kB / 367 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008468/0.09545, allocations: 393.4 kB / 367.4 MB, free: 4.832 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.0966, allocations: 0.5554 MB / 367.9 MB, free: 4.273 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.097, allocations: 235.7 kB / 368.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001901/0.09891, allocations: 2.214 MB / 370.4 MB, free: 1.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1576/0.2565, allocations: 2.218 MB / 372.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.2589, allocations: 1.057 MB / 373.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.2611, allocations: 1.217 MB / 374.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009455/0.2621, allocations: 288.7 kB / 375.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.2633, allocations: 376.5 kB / 375.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009347/0.2643, allocations: 0.7014 MB / 376.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.2657, allocations: 1.234 MB / 377.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003738/0.2694, allocations: 3.79 MB / 381.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.2694, allocations: 0 / 381.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2695, allocations: 0 / 381.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.375e-05/0.2695, allocations: 0 / 381.2 MB, free: 9.398 MB / 302.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.004613/0.2742, allocations: 2.388 MB / 383.6 MB, free: 8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2742, allocations: 9.844 kB / 383.6 MB, free: 8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009158/0.2751, allocations: 281.5 kB / 383.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/0.2772, allocations: 1.37 MB / 385.3 MB, free: 7.152 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-05/0.2773, allocations: 133.7 kB / 385.4 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/0.2776, allocations: 177.4 kB / 385.6 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003868/0.2815, allocations: 2.548 MB / 388.1 MB, free: 6.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.2815, allocations: 0 / 388.1 MB, free: 6.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/0.2817, allocations: 72.83 kB / 388.2 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.5e-05/0.2818, allocations: 94.7 kB / 388.3 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003111/0.2849, allocations: 2.113 MB / 390.4 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01029/0.2952, allocations: 7.353 MB / 397.8 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.2966, allocations: 1.266 MB / 399 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006824/0.2973, allocations: 471.2 kB / 399.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/0.2976, allocations: 119.5 kB / 399.6 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.2976, allocations: 46.75 kB / 399.6 MB, free: 14.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 2.224e-06/0.2976, allocations: 0 / 399.6 MB, free: 14.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.003878/0.3015, allocations: 2.261 MB / 401.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.3016, allocations: 80.95 kB / 402 MB, free: 12.56 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.3035, allocations: 1.518 MB / 403.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.3035, allocations: 36.83 kB / 403.5 MB, free: 11.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007064/0.3043, allocations: 0.986 MB / 404.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.3044, allocations: 196.2 kB / 404.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003529/0.3048, allocations: 238.8 kB / 405 MB, free: 10.53 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.305, allocations: 355.7 kB / 405.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000684/0.3057, allocations: 458.7 kB / 405.7 MB, free: 9.781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.3068, allocations: 1.096 MB / 406.8 MB, free: 8.379 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.3087, allocations: 1.614 MB / 408.5 MB, free: 6.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.3087, allocations: 8 kB / 408.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002458/0.3112, allocations: 1.687 MB / 410.2 MB, free: 4.973 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.3112, allocations: 15.12 kB / 410.2 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.3113, allocations: 24 kB / 410.2 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006753/0.3119, allocations: 180.5 kB / 410.4 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008/0.3127, allocations: 285.9 kB / 410.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.315, allocations: 2.36 MB / 413 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000998/0.316, allocations: 87.58 kB / 413.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.398e-05/0.3161, allocations: 64 kB / 413.2 MB, free: 1.879 MB / 318.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.001016/0.3171, allocations: 0.7162 MB / 413.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.3173, allocations: 126.5 kB / 414 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.3187, allocations: 0.8445 MB / 414.8 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.3187, allocations: 7.984 kB / 414.8 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.3187, allocations: 192 / 414.8 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.3187, allocations: 0 / 414.8 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003511/0.3222, allocations: 2.504 MB / 417.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.3223, allocations: 4 kB / 417.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.3226, allocations: 106.8 kB / 417.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005966/0.3232, allocations: 144.7 kB / 417.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.3233, allocations: 16 kB / 417.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.3253, allocations: 2.3 MB / 419.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3253, allocations: 3.469 kB / 419.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.3271, allocations: 1.316 MB / 421.2 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005043/0.3276, allocations: 291.4 kB / 421.5 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.3278, allocations: 12 kB / 421.5 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005726/0.3283, allocations: 43.97 kB / 421.6 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.3285, allocations: 55.45 kB / 421.6 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.3285, allocations: 19.98 kB / 421.6 MB, free: 9.156 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001321/0.3298, allocations: 1.048 MB / 422.7 MB, free: 8.105 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3299, allocations: 0 / 422.7 MB, free: 8.105 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001268/0.3311, allocations: 352 kB / 423 MB, free: 7.762 MB / 334.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.0003766/0.3315, allocations: 185 kB / 423.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.3332, allocations: 1.16 MB / 424.4 MB, free: 6.492 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3332, allocations: 0.8125 kB / 424.4 MB, free: 6.492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007454/0.334, allocations: 0.5122 MB / 424.9 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.3353, allocations: 376.9 kB / 425.3 MB, free: 5.613 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00445/0.3398, allocations: 3.188 MB / 428.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.3411, allocations: 1.706 MB / 430.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0007167/0.3418, allocations: 323.3 kB / 430.5 MB, free: 316 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.342, allocations: 99.36 kB / 430.6 MB, free: 216 kB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.342, allocations: 0 / 430.6 MB, free: 216 kB / 334.1 MB Notification: Performance of Templates: time 0.03031/0.3724, allocations: 18.57 MB / 449.1 MB, free: 13.9 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches