Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009276/0.0009278, allocations: 177.8 kB / 17.36 MB, free: 4.324 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000734/0.0007342, allocations: 86.44 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2234, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01002/0.2335, allocations: 11.41 MB / 388 MB, free: 36.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00788/0.2414, allocations: 4.375 MB / 392.4 MB, free: 32.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002122/0.2436, allocations: 59.69 kB / 392.4 MB, free: 32.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002428/0.2461, allocations: 0.8362 MB / 393.3 MB, free: 31.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003445/0.2495, allocations: 1.088 MB / 394.4 MB, free: 30.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.2507, allocations: 467.6 kB / 394.8 MB, free: 30.15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004272/0.255, allocations: 5.387 MB / 400.2 MB, free: 24.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002709/0.2577, allocations: 2.946 MB / 403.2 MB, free: 21.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003283/0.261, allocations: 1.619 MB / 404.8 MB, free: 20.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/0.264, allocations: 2.163 MB / 406.9 MB, free: 17.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006945/0.2648, allocations: 244 kB / 407.2 MB, free: 17.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.2661, allocations: 343.8 kB / 407.5 MB, free: 17.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009443/0.267, allocations: 1.152 MB / 408.7 MB, free: 16.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002603/0.2696, allocations: 2.085 MB / 410.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005471/0.2751, allocations: 6.933 MB / 417.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2752, allocations: 0 / 417.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2752, allocations: 0 / 417.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002015/0.2754, allocations: 0 / 417.7 MB, free: 7.152 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.007518/0.2829, allocations: 3.955 MB / 421.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.283, allocations: 8.031 kB / 421.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/0.2846, allocations: 0.5034 MB / 422.2 MB, free: 2.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003781/0.2884, allocations: 2.373 MB / 424.5 MB, free: 200 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.2886, allocations: 271 kB / 424.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006584/0.2892, allocations: 363.8 kB / 425.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009127/0.2984, allocations: 5.001 MB / 430.1 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-05/0.2985, allocations: 8 kB / 430.2 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003364/0.2988, allocations: 144 kB / 430.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001934/0.299, allocations: 191 kB / 430.5 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007827/0.3069, allocations: 4.298 MB / 434.8 MB, free: 5.867 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0251/0.332, allocations: 14.99 MB / 449.8 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00468/0.3367, allocations: 4.199 MB / 454 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003249/0.34, allocations: 1.999 MB / 456 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003219/0.3404, allocations: 139.6 kB / 456.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.3405, allocations: 60.5 kB / 456.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=198): time 4.098e-06/0.3405, allocations: 0 / 456.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=218): time 0.02052/0.361, allocations: 10.11 MB / 466.3 MB, free: 5.609 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.3611, allocations: 77.34 kB / 466.3 MB, free: 5.523 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004502/0.3656, allocations: 2.482 MB / 468.8 MB, free: 3.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000292/0.3659, allocations: 69.7 kB / 468.9 MB, free: 2.945 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.3671, allocations: 1.619 MB / 470.5 MB, free: 1.305 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008028/0.368, allocations: 0.7316 MB / 471.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.3682, allocations: 48 kB / 471.3 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.3684, allocations: 398.6 kB / 471.7 MB, free: 124 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/0.3706, allocations: 1.305 MB / 473 MB, free: 14.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/0.3731, allocations: 1.779 MB / 474.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004554/0.3777, allocations: 3.227 MB / 478 MB, free: 9.438 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/0.3777, allocations: 7.938 kB / 478 MB, free: 9.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006842/0.3846, allocations: 4.071 MB / 482.1 MB, free: 5.332 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.3846, allocations: 12 kB / 482.1 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.3846, allocations: 12 kB / 482.1 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00276/0.3874, allocations: 0.8913 MB / 483 MB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/0.3894, allocations: 0.5305 MB / 483.5 MB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009337/0.3988, allocations: 8.734 MB / 492.2 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.4008, allocations: 127.9 kB / 492.4 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000331/0.4012, allocations: 87.98 kB / 492.5 MB, free: 10.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,100.0%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002454/0.4036, allocations: 1.208 MB / 493.7 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007222/0.4044, allocations: 284.6 kB / 493.9 MB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006302/0.4107, allocations: 3.726 MB / 497.7 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.4107, allocations: 20 kB / 497.7 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-05/0.4108, allocations: 11.94 kB / 497.7 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.4108, allocations: 7.969 kB / 497.7 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1948/0.6056, allocations: 8.105 MB / 0.494 GB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-05/0.6057, allocations: 7.062 kB / 0.494 GB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/0.6078, allocations: 386.4 kB / 0.4943 GB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003269/0.6111, allocations: 0.9251 MB / 0.4952 GB, free: 105.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002966/0.6114, allocations: 54.75 kB / 0.4953 GB, free: 105.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009938/0.6214, allocations: 10.19 MB / 0.5052 GB, free: 98.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.6214, allocations: 3.719 kB / 0.5052 GB, free: 98.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007571/0.629, allocations: 5.537 MB / 0.5107 GB, free: 96.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/0.6305, allocations: 0.6359 MB / 0.5113 GB, free: 96.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000739/0.6312, allocations: 49.64 kB / 0.5113 GB, free: 96.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/0.6329, allocations: 128.4 kB / 0.5114 GB, free: 95.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004852/0.6334, allocations: 181.4 kB / 0.5116 GB, free: 95.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.6336, allocations: 62.45 kB / 0.5117 GB, free: 95.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002744/0.6364, allocations: 1.712 MB / 0.5134 GB, free: 94.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6364, allocations: 0 / 0.5134 GB, free: 94.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002828/0.6392, allocations: 0.8047 MB / 0.5141 GB, free: 93.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006273/0.6398, allocations: 237.2 kB / 0.5144 GB, free: 93.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005376/0.6452, allocations: 3.89 MB / 0.5182 GB, free: 89.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/0.6453, allocations: 4 kB / 0.5182 GB, free: 89.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003277/0.6485, allocations: 2.497 MB / 0.5206 GB, free: 86.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005115/0.6537, allocations: 0.7428 MB / 0.5213 GB, free: 86.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/0.6689, allocations: 9.513 MB / 0.5306 GB, free: 76.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002648/0.6716, allocations: 2.776 MB / 0.5333 GB, free: 73.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002389/0.674, allocations: 0.6788 MB / 0.534 GB, free: 73.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/0.6746, allocations: 175.4 kB / 0.5342 GB, free: 72.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.174e-06/0.6746, allocations: 0 / 0.5342 GB, free: 72.98 MB / 378.7 MB Notification: Performance of Templates: time 0.06444/0.739, allocations: 43.87 MB / 0.577 GB, free: 29.18 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AIMC_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches