Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 183.7 kB / 16.71 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 225.7 MB / 243.2 MB, free: 8.516 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008762/0.0008762, allocations: 98.34 kB / 294.4 MB, free: 9.535 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002541/0.0002542, allocations: 11.94 kB / 354.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2265, allocations: 50.41 MB / 404.6 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.008671/0.2352, allocations: 11.42 MB / 416 MB, free: 19.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005985/0.2412, allocations: 4.317 MB / 420.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.2426, allocations: 67.69 kB / 420.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.2443, allocations: 0.8431 MB / 421.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002065/0.2464, allocations: 1.08 MB / 422.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007654/0.2471, allocations: 467.5 kB / 422.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003591/0.2507, allocations: 5.335 MB / 428.1 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002571/0.2533, allocations: 3.029 MB / 431.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/0.2564, allocations: 1.616 MB / 432.7 MB, free: 2.973 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/0.2585, allocations: 2.151 MB / 434.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003694/0.2589, allocations: 240 kB / 435.1 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008011/0.2597, allocations: 343.8 kB / 435.5 MB, free: 248 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009758/0.2607, allocations: 1.129 MB / 436.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00222/0.2629, allocations: 2.085 MB / 438.7 MB, free: 13.01 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005752/0.2687, allocations: 6.929 MB / 445.6 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.2687, allocations: 0 / 445.6 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2687, allocations: 0 / 445.6 MB, free: 6.055 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001298/0.2688, allocations: 0 / 445.6 MB, free: 6.055 MB / 314.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.007052/0.2759, allocations: 3.975 MB / 449.6 MB, free: 2.016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2759, allocations: 8.031 kB / 449.6 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.2771, allocations: 0.4956 MB / 450.1 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003995/0.2811, allocations: 2.493 MB / 452.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.2814, allocations: 263 kB / 452.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005406/0.2819, allocations: 359.9 kB / 453.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008233/0.2901, allocations: 5.013 MB / 458.2 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.814e-05/0.2902, allocations: 7.906 kB / 458.2 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002966/0.2905, allocations: 148 kB / 458.4 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/0.2907, allocations: 179.1 kB / 458.5 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006707/0.2974, allocations: 4.294 MB / 462.8 MB, free: 4.645 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02356/0.321, allocations: 15 MB / 477.8 MB, free: 5.312 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004423/0.3255, allocations: 4.191 MB / 482 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002918/0.3284, allocations: 2.006 MB / 484 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.3288, allocations: 127.1 kB / 484.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.093e-05/0.3288, allocations: 56.56 kB / 484.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=198): time 8.906e-06/0.3288, allocations: 0 / 484.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=218): time 0.01964/0.3485, allocations: 10.04 MB / 494.2 MB, free: 4.457 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.3486, allocations: 73.41 kB / 494.3 MB, free: 4.375 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00407/0.3527, allocations: 2.49 MB / 496.8 MB, free: 1.863 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000225/0.3529, allocations: 65.7 kB / 496.9 MB, free: 1.793 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001198/0.3541, allocations: 1.611 MB / 498.5 MB, free: 164 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006847/0.3548, allocations: 0.7279 MB / 499.2 MB, free: 15.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.355, allocations: 52 kB / 499.3 MB, free: 15.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002583/0.3552, allocations: 398.6 kB / 499.7 MB, free: 14.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002092/0.3573, allocations: 1.301 MB / 0.4892 GB, free: 13.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.3596, allocations: 1.782 MB / 0.491 GB, free: 11.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004404/0.3641, allocations: 3.215 MB / 0.4941 GB, free: 8.301 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.3641, allocations: 4 kB / 0.4941 GB, free: 8.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006725/0.3708, allocations: 4.079 MB / 0.4981 GB, free: 4.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.3709, allocations: 15.98 kB / 0.4981 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.3709, allocations: 12 kB / 0.4981 GB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002795/0.3737, allocations: 0.8897 MB / 0.499 GB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/0.3757, allocations: 0.5343 MB / 0.4995 GB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.201/0.5767, allocations: 8.722 MB / 0.508 GB, free: 89.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.5789, allocations: 129 kB / 0.5081 GB, free: 89.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.5791, allocations: 83.33 kB / 0.5082 GB, free: 89.11 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.001966/0.5811, allocations: 1.217 MB / 0.5094 GB, free: 88.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000601/0.5817, allocations: 276.7 kB / 0.5097 GB, free: 88.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00569/0.5874, allocations: 3.735 MB / 0.5133 GB, free: 87.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/0.5874, allocations: 25.5 kB / 0.5133 GB, free: 87.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.5874, allocations: 5.375 kB / 0.5133 GB, free: 87.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/0.5875, allocations: 12.92 kB / 0.5134 GB, free: 87.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/0.5984, allocations: 8.103 MB / 0.5213 GB, free: 83.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.5984, allocations: 3.75 kB / 0.5213 GB, free: 83.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/0.5998, allocations: 389.1 kB / 0.5216 GB, free: 83.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002698/0.6026, allocations: 0.9252 MB / 0.5226 GB, free: 82.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.6027, allocations: 55.97 kB / 0.5226 GB, free: 82.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007689/0.6104, allocations: 10.22 MB / 0.5326 GB, free: 71.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.6104, allocations: 4 kB / 0.5326 GB, free: 71.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0068/0.6172, allocations: 5.533 MB / 0.538 GB, free: 66.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/0.6186, allocations: 0.6393 MB / 0.5386 GB, free: 65.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006722/0.6193, allocations: 47.98 kB / 0.5387 GB, free: 65.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/0.621, allocations: 127.9 kB / 0.5388 GB, free: 65.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000454/0.6215, allocations: 181.7 kB / 0.539 GB, free: 65.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000415/0.622, allocations: 59.98 kB / 0.539 GB, free: 65.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002925/0.6249, allocations: 1.715 MB / 0.5407 GB, free: 63.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6249, allocations: 0 / 0.5407 GB, free: 63.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003074/0.628, allocations: 0.7982 MB / 0.5415 GB, free: 62.7 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 {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (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.0006359/0.6287, allocations: 247.6 kB / 0.5417 GB, free: 62.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005163/0.6338, allocations: 3.896 MB / 0.5455 GB, free: 58.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.6339, allocations: 0 / 0.5455 GB, free: 58.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003143/0.637, allocations: 2.489 MB / 0.5479 GB, free: 55.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004261/0.6413, allocations: 0.7468 MB / 0.5487 GB, free: 55.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.6529, allocations: 9.513 MB / 0.558 GB, free: 45.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001897/0.6549, allocations: 2.765 MB / 0.5607 GB, free: 42.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002058/0.657, allocations: 0.6827 MB / 0.5613 GB, free: 42.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005081/0.6575, allocations: 179.4 kB / 0.5615 GB, free: 41.98 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6575, allocations: 0 / 0.5615 GB, free: 41.98 MB / 378.7 MB Notification: Performance of Templates: time 0.07877/0.7363, allocations: 43.92 MB / 0.6044 GB, free: 14.5 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches