Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001374, allocations: 199.7 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007873/0.0007874, allocations: 103.5 kB / 299.8 MB, free: 5.371 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003102, allocations: 4 kB / 360.7 MB, free: 8.484 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2142, allocations: 51.41 MB / 412.1 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.0146/0.2288, allocations: 11.85 MB / 423.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.2393, allocations: 5.924 MB / 429.8 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002882/0.2423, allocations: 75.69 kB / 429.9 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003626/0.2459, allocations: 0.8628 MB / 430.8 MB, free: 6.746 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004586/0.2506, allocations: 1.428 MB / 432.2 MB, free: 5.238 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.2537, allocations: 1.184 MB / 433.4 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007445/0.2612, allocations: 4.268 MB / 437.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006158/0.2674, allocations: 2.678 MB / 440.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003109/0.2706, allocations: 1.284 MB / 441.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003659/0.2742, allocations: 1.649 MB / 443.3 MB, free: 9.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.2753, allocations: 204 kB / 443.5 MB, free: 9.781 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.2777, allocations: 431.6 kB / 443.9 MB, free: 9.359 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.2792, allocations: 0.7471 MB / 444.6 MB, free: 8.609 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003766/0.283, allocations: 1.712 MB / 446.4 MB, free: 6.883 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009628/0.2927, allocations: 6.205 MB / 452.6 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2927, allocations: 4 kB / 452.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.2928, allocations: 0 / 452.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000196/0.293, allocations: 0 / 452.6 MB, free: 0.6523 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01442/0.3074, allocations: 3.677 MB / 456.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.3075, allocations: 12.03 kB / 456.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007138/0.3146, allocations: 0.8125 MB / 457.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006533/0.3212, allocations: 2.282 MB / 459.3 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003509/0.3216, allocations: 242.4 kB / 459.6 MB, free: 9.496 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/0.3229, allocations: 311.8 kB / 459.9 MB, free: 9.191 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01255/0.3355, allocations: 4.215 MB / 464.1 MB, free: 4.926 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.443e-05/0.3356, allocations: 4 kB / 464.1 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004479/0.3361, allocations: 120 kB / 464.2 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002146/0.3363, allocations: 154.3 kB / 464.4 MB, free: 4.652 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.3468, allocations: 3.605 MB / 468 MB, free: 1.039 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02555/0.3724, allocations: 13.34 MB / 481.3 MB, free: 3.352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007075/0.3795, allocations: 7.165 MB / 488.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002888/0.3824, allocations: 1.585 MB / 490.1 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006821/0.3893, allocations: 4.217 MB / 494.3 MB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.3893, allocations: 51.56 kB / 494.3 MB, free: 5.223 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 3.988e-06/0.3893, allocations: 0 / 494.3 MB, free: 5.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.01065/0.4, allocations: 5.611 MB / 500 MB, free: 15.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.4001, allocations: 64.41 kB / 0.4883 GB, free: 15.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/0.4025, allocations: 1.71 MB / 0.49 GB, free: 13.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.4027, allocations: 45.7 kB / 0.49 GB, free: 13.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009879/0.4036, allocations: 1.399 MB / 0.4914 GB, free: 12.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003503/0.404, allocations: 437.7 kB / 0.4918 GB, free: 11.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-05/0.4041, allocations: 28 kB / 0.4918 GB, free: 11.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.4042, allocations: 369.9 kB / 0.4922 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.4054, allocations: 0.6637 MB / 0.4928 GB, free: 10.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.4067, allocations: 1.125 MB / 0.4939 GB, free: 9.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/0.4093, allocations: 1.906 MB / 0.4958 GB, free: 7.234 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.4093, allocations: 4 kB / 0.4958 GB, free: 7.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004103/0.4134, allocations: 2.402 MB / 0.4981 GB, free: 4.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.4135, allocations: 15.94 kB / 0.4981 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.4135, allocations: 20 kB / 0.4982 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008161/0.4143, allocations: 319.4 kB / 0.4985 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.4156, allocations: 359.4 kB / 0.4988 GB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1821/0.5978, allocations: 6.113 MB / 0.5048 GB, free: 85.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.5993, allocations: 76.52 kB / 0.5049 GB, free: 85.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/0.5995, allocations: 70.23 kB / 0.5049 GB, free: 85.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(1,1,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001947/0.6014, allocations: 1.003 MB / 0.5059 GB, free: 85.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003494/0.6018, allocations: 181.4 kB / 0.5061 GB, free: 85.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00356/0.6054, allocations: 2.225 MB / 0.5082 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.6054, allocations: 11.97 kB / 0.5083 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.6054, allocations: 7.312 kB / 0.5083 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.6054, allocations: 6.375 kB / 0.5083 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006956/0.6124, allocations: 4.963 MB / 0.5131 GB, free: 81.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.6124, allocations: 2.156 kB / 0.5131 GB, free: 81.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008375/0.6133, allocations: 171.8 kB / 0.5133 GB, free: 81.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/0.6145, allocations: 0.4987 MB / 0.5138 GB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.813e-05/0.6146, allocations: 35.72 kB / 0.5138 GB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008178/0.6227, allocations: 10.51 MB / 0.5241 GB, free: 72.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6228, allocations: 7.812 kB / 0.5241 GB, free: 72.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004325/0.6271, allocations: 3.113 MB / 0.5271 GB, free: 71.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008933/0.628, allocations: 412.3 kB / 0.5275 GB, free: 71.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.6283, allocations: 27.78 kB / 0.5275 GB, free: 71.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007819/0.6291, allocations: 82.52 kB / 0.5276 GB, free: 71.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/0.6293, allocations: 98.89 kB / 0.5277 GB, free: 71.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-05/0.6294, allocations: 38.11 kB / 0.5277 GB, free: 71.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001614/0.631, allocations: 1.167 MB / 0.5289 GB, free: 70.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.631, allocations: 0 / 0.5289 GB, free: 70.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001828/0.6329, allocations: 0.5582 MB / 0.5294 GB, free: 70.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.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 (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002891/0.6332, allocations: 177.5 kB / 0.5296 GB, free: 70.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002827/0.636, allocations: 2.129 MB / 0.5317 GB, free: 68.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.636, allocations: 0 / 0.5317 GB, free: 68.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.6379, allocations: 1.563 MB / 0.5332 GB, free: 66.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/0.6403, allocations: 0.491 MB / 0.5337 GB, free: 66.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008093/0.6485, allocations: 6.992 MB / 0.5405 GB, free: 59.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.65, allocations: 2.281 MB / 0.5427 GB, free: 56.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001444/0.6515, allocations: 383.9 kB / 0.5431 GB, free: 56.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.6518, allocations: 123.4 kB / 0.5432 GB, free: 56.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/0.6518, allocations: 3.938 kB / 0.5432 GB, free: 56.3 MB / 378.7 MB Notification: Performance of Templates: time 0.03934/0.6912, allocations: 26.78 MB / 0.5694 GB, free: 29.89 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches