Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001546/0.001546, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001581/0.001581, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.431/1.431, allocations: 227.7 MB / 247.7 MB, free: 10.31 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.001971, allocations: 61.19 kB / 307.9 MB, free: 464 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1103, allocations: 50.54 MB / 358.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2165/0.3269, allocations: 24.79 MB / 383.2 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02194/0.3489, allocations: 7.459 MB / 390.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007856/0.3568, allocations: 190.6 kB / 390.9 MB, free: 2.902 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02257/0.3794, allocations: 8.789 MB / 399.7 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01412/0.3936, allocations: 2.909 MB / 402.6 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006721/0.4003, allocations: 1.727 MB / 404.3 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01723/0.4176, allocations: 10.75 MB / 415.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03613/0.4538, allocations: 21.92 MB / 437 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01036/0.4642, allocations: 5.697 MB / 442.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01127/0.4755, allocations: 6.327 MB / 449 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00435/0.4799, allocations: 1.668 MB / 450.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006724/0.4866, allocations: 2.066 MB / 452.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004941/0.4916, allocations: 3.161 MB / 455.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01281/0.5044, allocations: 6.094 MB / 462 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03113/0.5356, allocations: 22.24 MB / 484.2 MB, free: 13.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.307e-05/0.5356, allocations: 4 kB / 484.2 MB, free: 13.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.36e-06/0.5356, allocations: 4 kB / 484.2 MB, free: 13.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007996/0.5364, allocations: 0 / 484.2 MB, free: 13.77 MB / 398.1 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.04207/0.5785, allocations: 12.81 MB / 497.1 MB, free: 0.8633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.5786, allocations: 8.031 kB / 497.1 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03606/0.6147, allocations: 6.154 MB / 0.4914 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01518/0.6299, allocations: 6.737 MB / 0.498 GB, free: 3.887 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007933/0.6307, allocations: 0.6986 MB / 0.4987 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004186/0.6349, allocations: 0.9217 MB / 0.4996 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04386/0.6788, allocations: 15.74 MB / 0.515 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003193/0.6791, allocations: 23.83 kB / 0.515 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003099/0.6823, allocations: 388 kB / 0.5154 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006427/0.6829, allocations: 0.547 MB / 0.5159 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03549/0.7184, allocations: 14.76 MB / 0.5303 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4467/1.165, allocations: 52.68 MB / 0.5818 GB, free: 94.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01862/1.184, allocations: 26.45 MB / 0.6076 GB, free: 69.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004278/1.188, allocations: 3.215 MB / 0.6107 GB, free: 67.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003246/1.188, allocations: 256.8 kB / 0.611 GB, free: 67.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/1.188, allocations: 80.69 kB / 0.611 GB, free: 67.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 6.111e-06/1.189, allocations: 0 / 0.611 GB, free: 67.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=404): time 0.03381/1.222, allocations: 17.29 MB / 0.6279 GB, free: 51.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/1.222, allocations: 94.58 kB / 0.628 GB, free: 51.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004526/1.227, allocations: 3.696 MB / 0.6316 GB, free: 47.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004513/1.227, allocations: 89.7 kB / 0.6317 GB, free: 47.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/1.229, allocations: 3.976 MB / 0.6356 GB, free: 43.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009937/1.23, allocations: 1.384 MB / 0.6369 GB, free: 41.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001373/1.231, allocations: 1.147 MB / 0.6381 GB, free: 40.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.308e-05/1.231, allocations: 305.1 kB / 0.6384 GB, free: 40.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003401/1.235, allocations: 2.799 MB / 0.6411 GB, free: 37.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004115/1.239, allocations: 4.953 MB / 0.6459 GB, free: 31.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008098/1.247, allocations: 8.31 MB / 0.654 GB, free: 22.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-05/1.247, allocations: 20 kB / 0.6541 GB, free: 22.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01315/1.26, allocations: 9.092 MB / 0.6629 GB, free: 13.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.186e-05/1.26, allocations: 38.19 kB / 0.663 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.822e-05/1.26, allocations: 68 kB / 0.663 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003106/1.264, allocations: 1.25 MB / 0.6643 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004371/1.268, allocations: 1.318 MB / 0.6656 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/1.28, allocations: 9.916 MB / 0.6752 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004262/1.285, allocations: 335.4 kB / 0.6756 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006009/1.285, allocations: 280 kB / 0.6758 GB, free: 0 / 446.1 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.006643/1.292, allocations: 3.709 MB / 0.6794 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/1.293, allocations: 395.1 kB / 0.6798 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/1.306, allocations: 6.705 MB / 0.6864 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009963/1.316, allocations: 5.595 MB / 0.6918 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.946e-05/1.316, allocations: 8 kB / 0.6918 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.44e-05/1.316, allocations: 23.92 kB / 0.6919 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.231/1.547, allocations: 16.1 MB / 0.7076 GB, free: 146.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-05/1.547, allocations: 4.875 kB / 0.7076 GB, free: 146.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003498/1.55, allocations: 0.7267 MB / 0.7083 GB, free: 146.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003647/1.554, allocations: 1.123 MB / 0.7094 GB, free: 146.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006951/1.555, allocations: 91.91 kB / 0.7095 GB, free: 146.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01329/1.568, allocations: 8.856 MB / 0.7181 GB, free: 143.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.568, allocations: 5.922 kB / 0.7181 GB, free: 143.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01656/1.585, allocations: 9.84 MB / 0.7277 GB, free: 139.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002284/1.587, allocations: 0.9559 MB / 0.7287 GB, free: 139.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007017/1.588, allocations: 83.38 kB / 0.7288 GB, free: 139.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/1.59, allocations: 204.1 kB / 0.729 GB, free: 139.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006605/1.591, allocations: 290.2 kB / 0.7292 GB, free: 139.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002247/1.591, allocations: 117.2 kB / 0.7293 GB, free: 139.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003225/1.594, allocations: 2.495 MB / 0.7318 GB, free: 138.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.232e-06/1.594, allocations: 0 / 0.7318 GB, free: 138.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005615/1.6, allocations: 1.614 MB / 0.7334 GB, free: 138.2 MB / 478.1 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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000701/1.6, allocations: 287.6 kB / 0.7336 GB, free: 138 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02883/1.629, allocations: 13.65 MB / 0.747 GB, free: 133.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/1.629, allocations: 4 kB / 0.747 GB, free: 133.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005874/1.635, allocations: 3.392 MB / 0.7503 GB, free: 130.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004794/1.64, allocations: 0.9716 MB / 0.7512 GB, free: 129.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02564/1.666, allocations: 16.34 MB / 0.7672 GB, free: 114.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005758/1.671, allocations: 6.007 MB / 0.773 GB, free: 109.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001637/1.673, allocations: 378.1 kB / 0.7734 GB, free: 109.5 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/1.673, allocations: 4 kB / 0.7734 GB, free: 109.5 MB / 478.1 MB Notification: Performance of Templates: time 0.4072/2.08, allocations: 157.8 MB / 0.9275 GB, free: 137.3 MB / 494.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches