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.Transformers.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.Transformers.IMC_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.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_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.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.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.001441/0.001441, allocations: 179.6 kB / 16.71 MB, free: 5.09 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.263/1.263, allocations: 225.7 MB / 243.2 MB, free: 8.441 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.0008464/0.0008465, allocations: 97.64 kB / 294.4 MB, free: 9.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002541/0.0002541, allocations: 11.94 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1949, allocations: 50.41 MB / 404.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.008416/0.2034, allocations: 11.45 MB / 416 MB, free: 19.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006113/0.2095, allocations: 4.311 MB / 420.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.2117, allocations: 67.69 kB / 420.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002562/0.2143, allocations: 0.8431 MB / 421.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00328/0.2176, allocations: 1.084 MB / 422.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.2189, allocations: 455.5 kB / 422.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004449/0.2234, allocations: 5.343 MB / 428.1 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003609/0.227, allocations: 3.029 MB / 431.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003374/0.2304, allocations: 1.626 MB / 432.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002797/0.2332, allocations: 2.151 MB / 434.9 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009145/0.2341, allocations: 240 kB / 435.2 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.2356, allocations: 347.8 kB / 435.5 MB, free: 156 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001666/0.2373, allocations: 1.129 MB / 436.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003503/0.2408, allocations: 2.077 MB / 438.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006558/0.2474, allocations: 6.933 MB / 445.6 MB, free: 5.969 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2474, allocations: 0 / 445.6 MB, free: 5.969 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2474, allocations: 4 kB / 445.6 MB, free: 5.965 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002021/0.2476, allocations: 0 / 445.6 MB, free: 5.965 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.008279/0.2559, allocations: 3.962 MB / 449.6 MB, free: 1.938 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.256, allocations: 8.031 kB / 449.6 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.2576, allocations: 0.4956 MB / 450.1 MB, free: 1.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004194/0.2618, allocations: 2.497 MB / 452.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.262, allocations: 267 kB / 452.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004915/0.2625, allocations: 351.8 kB / 453.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00794/0.2705, allocations: 5.017 MB / 458.2 MB, free: 9.191 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.298e-05/0.2706, allocations: 7.906 kB / 458.2 MB, free: 9.184 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002952/0.2709, allocations: 147.9 kB / 458.4 MB, free: 9.039 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/0.271, allocations: 183 kB / 458.6 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006595/0.2776, allocations: 4.291 MB / 462.9 MB, free: 4.562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02064/0.2983, allocations: 15.01 MB / 477.9 MB, free: 5.227 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004002/0.3023, allocations: 4.187 MB / 482 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002858/0.3052, allocations: 2.002 MB / 484 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/0.3055, allocations: 139 kB / 484.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.3055, allocations: 56.56 kB / 484.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=198): time 4.759e-06/0.3055, allocations: 0 / 484.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=218): time 0.01809/0.3236, allocations: 10.04 MB / 494.3 MB, free: 4.371 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.3237, allocations: 73.41 kB / 494.4 MB, free: 4.289 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003479/0.3272, allocations: 2.49 MB / 496.8 MB, free: 1.777 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.3274, allocations: 65.7 kB / 496.9 MB, free: 1.707 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.3285, allocations: 1.615 MB / 498.5 MB, free: 72 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005413/0.329, allocations: 0.7279 MB / 499.2 MB, free: 15.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.3292, allocations: 48 kB / 499.3 MB, free: 15.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3293, allocations: 398.6 kB / 499.7 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/0.3312, allocations: 1.305 MB / 0.4892 GB, free: 13.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.3333, allocations: 1.778 MB / 0.491 GB, free: 11.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004047/0.3374, allocations: 3.219 MB / 0.4941 GB, free: 8.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.3374, allocations: 4 kB / 0.4941 GB, free: 8.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006235/0.3436, allocations: 4.079 MB / 0.4981 GB, free: 4.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.3437, allocations: 12 kB / 0.4981 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/0.3437, allocations: 12 kB / 0.4981 GB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002597/0.3463, allocations: 0.8825 MB / 0.499 GB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/0.3483, allocations: 0.5421 MB / 0.4995 GB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1964/0.5447, allocations: 8.722 MB / 0.508 GB, free: 88.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/0.5476, allocations: 120 kB / 0.5082 GB, free: 88.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003237/0.5479, allocations: 88.83 kB / 0.5082 GB, free: 88.33 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.002795/0.5507, allocations: 1.217 MB / 0.5094 GB, free: 87.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000716/0.5514, allocations: 278.7 kB / 0.5097 GB, free: 87.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008263/0.5597, allocations: 3.734 MB / 0.5133 GB, free: 86.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.5598, allocations: 22.41 kB / 0.5134 GB, free: 86.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.5598, allocations: 11.44 kB / 0.5134 GB, free: 86.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/0.5598, allocations: 10.08 kB / 0.5134 GB, free: 86.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/0.5755, allocations: 8.099 MB / 0.5213 GB, free: 82.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.5755, allocations: 5.656 kB / 0.5213 GB, free: 82.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002241/0.5778, allocations: 384.7 kB / 0.5217 GB, free: 82.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003809/0.5816, allocations: 0.9339 MB / 0.5226 GB, free: 81.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001977/0.5818, allocations: 51.98 kB / 0.5226 GB, free: 81.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/0.5936, allocations: 10.21 MB / 0.5326 GB, free: 70.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.5936, allocations: 10.47 kB / 0.5326 GB, free: 70.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/0.6037, allocations: 5.528 MB / 0.538 GB, free: 65.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/0.6055, allocations: 0.64 MB / 0.5386 GB, free: 64.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005177/0.606, allocations: 48 kB / 0.5387 GB, free: 64.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/0.6079, allocations: 123.9 kB / 0.5388 GB, free: 64.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005668/0.6085, allocations: 185.7 kB / 0.539 GB, free: 64.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/0.6087, allocations: 55.98 kB / 0.539 GB, free: 64.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002976/0.6116, allocations: 1.711 MB / 0.5407 GB, free: 62.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6117, allocations: 3.938 kB / 0.5407 GB, free: 62.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002938/0.6146, allocations: 0.8008 MB / 0.5415 GB, free: 61.72 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.0005755/0.6152, allocations: 248.8 kB / 0.5417 GB, free: 61.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004894/0.6201, allocations: 3.89 MB / 0.5455 GB, free: 57.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.6201, allocations: 4 kB / 0.5455 GB, free: 57.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002892/0.623, allocations: 2.495 MB / 0.548 GB, free: 54.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003618/0.6267, allocations: 0.7432 MB / 0.5487 GB, free: 54.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009335/0.636, allocations: 9.509 MB / 0.558 GB, free: 44.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/0.6377, allocations: 2.777 MB / 0.5607 GB, free: 41.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001812/0.6395, allocations: 0.6749 MB / 0.5613 GB, free: 41.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/0.64, allocations: 179.4 kB / 0.5615 GB, free: 41 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6401, allocations: 4 kB / 0.5615 GB, free: 41 MB / 378.7 MB Notification: Performance of Templates: time 0.05636/0.6964, allocations: 43.9 MB / 0.6044 GB, free: 13.53 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches