Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009319/0.0009319, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009524/0.0009523, allocations: 94.97 kB / 299.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002293/0.0002294, allocations: 4 kB / 360.7 MB, free: 8.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2103, allocations: 51.42 MB / 412.1 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01683/0.2272, allocations: 21.73 MB / 433.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01396/0.2412, allocations: 9.529 MB / 443.3 MB, free: 9.965 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00454/0.2458, allocations: 171.5 kB / 443.5 MB, free: 9.797 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007053/0.2528, allocations: 1.785 MB / 445.3 MB, free: 8.004 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009714/0.2626, allocations: 3.553 MB / 448.8 MB, free: 4.219 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005039/0.2677, allocations: 2.105 MB / 450.9 MB, free: 1.965 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01347/0.2812, allocations: 10.76 MB / 461.7 MB, free: 7.152 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04444/0.3256, allocations: 28.64 MB / 490.4 MB, free: 8.727 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007622/0.3334, allocations: 4.146 MB / 494.5 MB, free: 4.566 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008505/0.3419, allocations: 4.789 MB / 499.3 MB, free: 15.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003019/0.345, allocations: 0.6445 MB / 499.9 MB, free: 15.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005051/0.35, allocations: 1.011 MB / 0.4892 GB, free: 14.1 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003847/0.3539, allocations: 1.926 MB / 0.4911 GB, free: 12.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01004/0.364, allocations: 4.772 MB / 0.4957 GB, free: 7.367 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2293/0.5933, allocations: 21.01 MB / 0.5163 GB, free: 41.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.5934, allocations: 0 / 0.5163 GB, free: 41.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 5e-06/0.5934, allocations: 0 / 0.5163 GB, free: 41.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000971/0.5944, allocations: 0 / 0.5163 GB, free: 41.92 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.02909/0.6235, allocations: 10.71 MB / 0.5267 GB, free: 36.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.6235, allocations: 7.75 kB / 0.5267 GB, free: 36.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03242/0.656, allocations: 6.183 MB / 0.5328 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01295/0.669, allocations: 6.752 MB / 0.5394 GB, free: 32.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007102/0.6697, allocations: 0.6994 MB / 0.54 GB, free: 32.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003607/0.6733, allocations: 0.9252 MB / 0.541 GB, free: 32.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03749/0.7108, allocations: 15.7 MB / 0.5563 GB, free: 23.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000293/0.7112, allocations: 10.2 kB / 0.5563 GB, free: 23.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00319/0.7144, allocations: 393.1 kB / 0.5567 GB, free: 23.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004886/0.7149, allocations: 0.5475 MB / 0.5572 GB, free: 22.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02953/0.7444, allocations: 14.71 MB / 0.5716 GB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08423/0.8286, allocations: 52.79 MB / 0.6231 GB, free: 4.121 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03354/0.8622, allocations: 26.45 MB / 0.6489 GB, free: 6.625 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008615/0.8709, allocations: 3.252 MB / 0.6521 GB, free: 3.367 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007344/0.8717, allocations: 257.5 kB / 0.6524 GB, free: 3.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.8718, allocations: 69.7 kB / 0.6524 GB, free: 3.012 MB / 458.7 MB Notification: Performance of pre-optimization done (n=404): time 1.621e-05/0.8719, allocations: 0 / 0.6524 GB, free: 3.012 MB / 458.7 MB Notification: Performance of matching and sorting (n=410): time 0.05102/0.9229, allocations: 17.3 MB / 0.6693 GB, free: 1.691 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.923, allocations: 94.53 kB / 0.6694 GB, free: 1.586 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00747/0.9305, allocations: 3.659 MB / 0.673 GB, free: 13.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007936/0.9313, allocations: 89.7 kB / 0.6731 GB, free: 13.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002959/0.9343, allocations: 3.981 MB / 0.677 GB, free: 9.832 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002308/0.9366, allocations: 1.402 MB / 0.6783 GB, free: 8.441 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009626/0.9376, allocations: 119.5 kB / 0.6784 GB, free: 8.328 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006874/0.9383, allocations: 0.5498 MB / 0.679 GB, free: 7.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005842/0.9442, allocations: 2.811 MB / 0.6817 GB, free: 4.953 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2075/1.152, allocations: 4.972 MB / 0.6866 GB, free: 169.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009965/1.162, allocations: 8.365 MB / 0.6948 GB, free: 165.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/1.162, allocations: 19.91 kB / 0.6948 GB, free: 165.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01456/1.176, allocations: 9.116 MB / 0.7037 GB, free: 162 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.51e-05/1.177, allocations: 35.34 kB / 0.7037 GB, free: 162 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001045/1.177, allocations: 70.72 kB / 0.7038 GB, free: 162 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002924/1.18, allocations: 1.196 MB / 0.7049 GB, free: 161.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004785/1.184, allocations: 1.324 MB / 0.7062 GB, free: 161.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/1.197, allocations: 9.101 MB / 0.7151 GB, free: 156.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0045/1.201, allocations: 332.6 kB / 0.7154 GB, free: 156.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/1.202, allocations: 287 kB / 0.7157 GB, free: 156.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (697): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006978/1.209, allocations: 3.715 MB / 0.7193 GB, free: 154.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009125/1.21, allocations: 406.8 kB / 0.7197 GB, free: 154.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/1.22, allocations: 6.737 MB / 0.7263 GB, free: 148.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007798/1.228, allocations: 5.636 MB / 0.7318 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/1.228, allocations: 12 kB / 0.7318 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.707e-05/1.228, allocations: 22.92 kB / 0.7318 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02561/1.254, allocations: 16.17 MB / 0.7476 GB, free: 129 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/1.254, allocations: 4 kB / 0.7476 GB, free: 129 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002716/1.257, allocations: 0.7256 MB / 0.7483 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002628/1.259, allocations: 1.078 MB / 0.7494 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004811/1.26, allocations: 91.92 kB / 0.7495 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009706/1.269, allocations: 8.064 MB / 0.7574 GB, free: 119 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.269, allocations: 7.938 kB / 0.7574 GB, free: 119 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/1.282, allocations: 9.924 MB / 0.7671 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002138/1.285, allocations: 0.9683 MB / 0.768 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007116/1.285, allocations: 79.98 kB / 0.7681 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/1.287, allocations: 215.9 kB / 0.7683 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005789/1.288, allocations: 287.3 kB / 0.7686 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000228/1.288, allocations: 120 kB / 0.7687 GB, free: 107.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003176/1.291, allocations: 2.463 MB / 0.7711 GB, free: 104.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.291, allocations: 0 / 0.7711 GB, free: 104.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00548/1.297, allocations: 1.611 MB / 0.7727 GB, free: 103.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * 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 (392): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006766/1.298, allocations: 296 kB / 0.7729 GB, free: 103 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01051/1.308, allocations: 7.166 MB / 0.7799 GB, free: 95.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/1.308, allocations: 4 kB / 0.7799 GB, free: 95.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005422/1.314, allocations: 3.414 MB / 0.7833 GB, free: 92.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007724/1.321, allocations: 0.9136 MB / 0.7842 GB, free: 91.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03232/1.354, allocations: 20.64 MB / 0.8043 GB, free: 70.74 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008501/1.362, allocations: 6.195 MB / 0.8104 GB, free: 64.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00537/1.368, allocations: 1.904 MB / 0.8122 GB, free: 62.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/1.369, allocations: 347.3 kB / 0.8126 GB, free: 62.25 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/1.369, allocations: 0 / 0.8126 GB, free: 62.25 MB / 490.7 MB Notification: Performance of Templates: time 0.4127/1.781, allocations: 65.95 MB / 0.877 GB, free: 159.1 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches