Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001449/0.001449, allocations: 200.2 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 226.6 MB / 244.7 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007753/0.0007753, allocations: 109 kB / 296.8 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002131/0.0002131, allocations: 8 kB / 356.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2541, allocations: 51.28 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005631/0.2598, allocations: 5.166 MB / 413.2 MB, free: 22.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003237/0.2631, allocations: 1.982 MB / 415.2 MB, free: 20.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000458/0.2635, allocations: 35.88 kB / 415.2 MB, free: 20.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00083/0.2644, allocations: 305.1 kB / 415.5 MB, free: 20.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.2656, allocations: 493.4 kB / 416 MB, free: 19.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.2659, allocations: 143.8 kB / 416.1 MB, free: 19.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002112/0.2681, allocations: 2.284 MB / 418.4 MB, free: 17.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002338/0.2704, allocations: 1.861 MB / 420.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.2719, allocations: 0.7691 MB / 421.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.2731, allocations: 0.9727 MB / 422 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002233/0.2733, allocations: 120 kB / 422.1 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005733/0.2739, allocations: 223.8 kB / 422.4 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000459/0.2744, allocations: 0.5061 MB / 422.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009826/0.2754, allocations: 0.9894 MB / 423.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002602/0.278, allocations: 3.097 MB / 427 MB, free: 8.668 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.278, allocations: 4 kB / 427 MB, free: 8.664 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.278, allocations: 0 / 427 MB, free: 8.664 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.929e-05/0.2781, allocations: 0 / 427 MB, free: 8.664 MB / 298.7 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.004158/0.2822, allocations: 2.022 MB / 429 MB, free: 6.586 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2823, allocations: 8.031 kB / 429 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.2835, allocations: 294.2 kB / 429.3 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.2859, allocations: 1.302 MB / 430.6 MB, free: 4.941 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.286, allocations: 135.5 kB / 430.7 MB, free: 4.809 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003351/0.2863, allocations: 168 kB / 430.9 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005132/0.2915, allocations: 2.539 MB / 433.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.471e-05/0.2915, allocations: 0 / 433.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002385/0.2918, allocations: 75.98 kB / 433.5 MB, free: 2.008 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.2919, allocations: 99.52 kB / 433.6 MB, free: 1.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004498/0.2964, allocations: 2.114 MB / 435.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01484/0.3113, allocations: 7.499 MB / 443.2 MB, free: 8.043 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.3133, allocations: 1.273 MB / 444.5 MB, free: 6.637 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.3144, allocations: 484 kB / 444.9 MB, free: 6.156 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002633/0.3147, allocations: 113.5 kB / 445.1 MB, free: 6.027 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.3147, allocations: 43 kB / 445.1 MB, free: 5.977 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 3.587e-06/0.3148, allocations: 0 / 445.1 MB, free: 5.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=53): time 0.005533/0.3203, allocations: 2.292 MB / 447.4 MB, free: 3.605 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.3204, allocations: 85.48 kB / 447.5 MB, free: 3.504 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002903/0.3233, allocations: 1.5 MB / 449 MB, free: 1.996 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.882e-05/0.3234, allocations: 41.7 kB / 449 MB, free: 1.949 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009117/0.3243, allocations: 0.9712 MB / 450 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.3245, allocations: 205.2 kB / 450.2 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/0.3246, allocations: 24 kB / 450.2 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3248, allocations: 357.9 kB / 450.6 MB, free: 392 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.3259, allocations: 458.3 kB / 451 MB, free: 15.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.3275, allocations: 1.094 MB / 452.1 MB, free: 14.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002689/0.3302, allocations: 1.623 MB / 453.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/0.3302, allocations: 8 kB / 453.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004006/0.3343, allocations: 1.691 MB / 455.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.3343, allocations: 12 kB / 455.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.3e-05/0.3344, allocations: 24 kB / 455.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.3354, allocations: 173 kB / 455.6 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.3367, allocations: 287.5 kB / 455.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.3399, allocations: 2.17 MB / 458.1 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.3413, allocations: 83.67 kB / 458.2 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.3415, allocations: 68 kB / 458.2 MB, free: 7.93 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001463/0.3429, allocations: 0.7118 MB / 458.9 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/0.3433, allocations: 134.5 kB / 459.1 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/0.3454, allocations: 0.8413 MB / 459.9 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.3454, allocations: 15.92 kB / 459.9 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3454, allocations: 0 / 459.9 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3455, allocations: 0 / 459.9 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005415/0.3509, allocations: 2.514 MB / 462.4 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.3509, allocations: 4 kB / 462.4 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/0.3515, allocations: 99.88 kB / 462.5 MB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008872/0.3524, allocations: 156.8 kB / 462.7 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.823e-05/0.3524, allocations: 12 kB / 462.7 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002907/0.3554, allocations: 2.092 MB / 464.8 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.3554, allocations: 4.031 kB / 464.8 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002808/0.3582, allocations: 1.335 MB / 466.1 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006622/0.3589, allocations: 283.6 kB / 466.4 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/0.3591, allocations: 15.98 kB / 466.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009109/0.36, allocations: 52.03 kB / 466.5 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.3602, allocations: 47.88 kB / 466.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-05/0.3603, allocations: 20 kB / 466.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002135/0.3624, allocations: 1.032 MB / 467.6 MB, free: 14.24 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3624, allocations: 0 / 467.6 MB, free: 14.24 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001969/0.3644, allocations: 348 kB / 467.9 MB, free: 13.9 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004941/0.3649, allocations: 190.8 kB / 468.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002557/0.3675, allocations: 1.152 MB / 469.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.3675, allocations: 4 kB / 469.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.3686, allocations: 0.52 MB / 469.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/0.3715, allocations: 363 kB / 470.1 MB, free: 11.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00728/0.3788, allocations: 3.777 MB / 473.9 MB, free: 7.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001853/0.3807, allocations: 1.662 MB / 475.6 MB, free: 6.129 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/0.3811, allocations: 95.42 kB / 475.7 MB, free: 6.035 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3811, allocations: 0 / 475.7 MB, free: 6.035 MB / 346.7 MB Notification: Performance of Templates: time 0.05467/0.4358, allocations: 31.88 MB / 0.4956 GB, free: 6.234 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches