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.00125/0.00125, allocations: 110.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.4 MB / 246.9 MB, free: 10.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 60.53 kB / 306.9 MB, free: 1.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08595/0.0871, allocations: 50.53 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006311/0.09345, allocations: 5.907 MB / 363.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.09668, allocations: 2.115 MB / 365.5 MB, free: 6.441 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004823/0.09718, allocations: 39.81 kB / 365.5 MB, free: 6.402 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008416/0.09806, allocations: 338.4 kB / 365.8 MB, free: 6.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.09915, allocations: 0.5052 MB / 366.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.09952, allocations: 207.8 kB / 366.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001949/0.1015, allocations: 2.498 MB / 369 MB, free: 2.852 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.1033, allocations: 1.86 MB / 370.9 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001917/0.1053, allocations: 0.8984 MB / 371.8 MB, free: 40 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1461/0.2513, allocations: 1.152 MB / 372.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004314/0.2518, allocations: 176.5 kB / 373.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007291/0.2525, allocations: 278.1 kB / 373.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005685/0.2531, allocations: 0.5963 MB / 374 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.2543, allocations: 1.102 MB / 375.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003044/0.2574, allocations: 3.173 MB / 378.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2574, allocations: 0 / 378.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2574, allocations: 0 / 378.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.286e-05/0.2575, allocations: 0 / 378.3 MB, free: 10.53 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.004626/0.2621, allocations: 2.392 MB / 380.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2622, allocations: 10.91 kB / 380.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009464/0.2631, allocations: 281.2 kB / 380.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.265, allocations: 1.326 MB / 382.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-05/0.2651, allocations: 129.7 kB / 382.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/0.2654, allocations: 177.2 kB / 382.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003907/0.2693, allocations: 2.541 MB / 385.1 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.2693, allocations: 1.906 kB / 385.1 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.2695, allocations: 79.12 kB / 385.2 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.2696, allocations: 105.5 kB / 385.3 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003224/0.2728, allocations: 2.1 MB / 387.4 MB, free: 6.582 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009469/0.2823, allocations: 7.456 MB / 394.8 MB, free: 1.254 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.2835, allocations: 1.27 MB / 396.1 MB, free: 208 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006627/0.2842, allocations: 473.3 kB / 396.6 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.2844, allocations: 112.3 kB / 396.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.2845, allocations: 38.41 kB / 396.7 MB, free: 15.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 2.565e-06/0.2845, allocations: 4 kB / 396.7 MB, free: 15.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.004009/0.2885, allocations: 2.264 MB / 399 MB, free: 14.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.2886, allocations: 81.39 kB / 399.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.2905, allocations: 1.517 MB / 400.6 MB, free: 13.47 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.2905, allocations: 37.48 kB / 400.6 MB, free: 13.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006156/0.2911, allocations: 0.9729 MB / 401.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.2913, allocations: 199.3 kB / 401.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003041/0.2916, allocations: 240.8 kB / 402 MB, free: 12.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2918, allocations: 362.1 kB / 402.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006339/0.2924, allocations: 454.3 kB / 402.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.2934, allocations: 1.094 MB / 403.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.2951, allocations: 1.618 MB / 405.5 MB, free: 9.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.026e-06/0.2952, allocations: 6.406 kB / 405.5 MB, free: 9.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002612/0.2978, allocations: 1.69 MB / 407.2 MB, free: 7.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.2978, allocations: 12.11 kB / 407.2 MB, free: 7.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/0.2978, allocations: 27.94 kB / 407.3 MB, free: 7.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007525/0.2986, allocations: 174.7 kB / 407.4 MB, free: 7.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008435/0.2995, allocations: 283.4 kB / 407.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.3016, allocations: 2.165 MB / 409.9 MB, free: 5.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.3028, allocations: 87.58 kB / 410 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.3029, allocations: 64 kB / 410 MB, free: 5.09 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.001074/0.304, allocations: 0.7129 MB / 410.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.3043, allocations: 134.4 kB / 410.9 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.3057, allocations: 0.8442 MB / 411.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.3057, allocations: 4 kB / 411.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3057, allocations: 4 kB / 411.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3057, allocations: 3.984 kB / 411.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.3095, allocations: 2.489 MB / 414.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.3095, allocations: 4.344 kB / 414.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/0.3099, allocations: 99.44 kB / 414.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006774/0.3106, allocations: 152.6 kB / 414.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/0.3106, allocations: 16 kB / 414.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.3127, allocations: 2.095 MB / 416.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3127, allocations: 0 / 416.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.3146, allocations: 1.322 MB / 417.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005934/0.3152, allocations: 283.4 kB / 418.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002738/0.3155, allocations: 19.98 kB / 418.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000656/0.3162, allocations: 39.97 kB / 418.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.3163, allocations: 54.38 kB / 418.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.3164, allocations: 16 kB / 418.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001512/0.3179, allocations: 1.044 MB / 419.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3179, allocations: 0 / 419.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001521/0.3194, allocations: 352 kB / 419.7 MB, free: 11.2 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.0004268/0.3199, allocations: 191.7 kB / 419.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.3217, allocations: 1.152 MB / 421 MB, free: 9.918 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3217, allocations: 4.328 kB / 421 MB, free: 9.918 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007674/0.3225, allocations: 0.511 MB / 421.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.3242, allocations: 358.8 kB / 421.9 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00583/0.3301, allocations: 3.929 MB / 425.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/0.3314, allocations: 1.662 MB / 427.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.3318, allocations: 98.7 kB / 427.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3318, allocations: 0 / 427.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of Templates: time 0.04419/0.376, allocations: 32.26 MB / 459.9 MB, free: 3.137 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 -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