Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009663/0.0009663, allocations: 96.92 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 195.1 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.7 MB / 246.4 MB, free: 9.789 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000215/0.0002154, allocations: 4 kB / 307.1 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08722/0.08745, allocations: 51.52 MB / 358.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2089/0.2963, allocations: 21.56 MB / 380.2 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01744/0.3139, allocations: 6.847 MB / 387.1 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004861/0.3187, allocations: 169.4 kB / 387.2 MB, free: 6.109 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005445/0.3242, allocations: 1.354 MB / 388.6 MB, free: 5.461 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008962/0.3332, allocations: 2.398 MB / 391 MB, free: 4.016 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003767/0.337, allocations: 1.159 MB / 392.1 MB, free: 3.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01674/0.3537, allocations: 13.3 MB / 405.4 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03418/0.388, allocations: 17.99 MB / 423.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006876/0.3949, allocations: 4.202 MB / 427.6 MB, free: 7.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007246/0.4021, allocations: 4.584 MB / 432.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001815/0.404, allocations: 0.6406 MB / 432.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003661/0.4076, allocations: 1.004 MB / 433.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001912/0.4096, allocations: 1.896 MB / 435.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004746/0.4143, allocations: 2.052 MB / 437.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01859/0.4329, allocations: 18.99 MB / 456.8 MB, free: 9.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.433, allocations: 0 / 456.8 MB, free: 9.855 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.433, allocations: 4 kB / 456.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005745/0.4336, allocations: 0 / 456.8 MB, free: 9.852 MB / 366.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.02913/0.4627, allocations: 10.8 MB / 467.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4628, allocations: 8.031 kB / 467.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03423/0.497, allocations: 6.192 MB / 473.8 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01351/0.5106, allocations: 6.672 MB / 480.5 MB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007483/0.5113, allocations: 0.6986 MB / 481.2 MB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003655/0.515, allocations: 0.9295 MB / 482.1 MB, free: 388 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03727/0.5523, allocations: 15.69 MB / 497.8 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000407/0.5527, allocations: 15.81 kB / 497.8 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002554/0.5553, allocations: 388 kB / 498.2 MB, free: 232 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006005/0.5559, allocations: 0.551 MB / 498.7 MB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03111/0.587, allocations: 14.71 MB / 0.5014 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4144/1.001, allocations: 52.74 MB / 0.5529 GB, free: 100.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01756/1.019, allocations: 26.44 MB / 0.5787 GB, free: 78.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004158/1.023, allocations: 3.252 MB / 0.5819 GB, free: 78.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003364/1.024, allocations: 253.4 kB / 0.5822 GB, free: 78.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/1.024, allocations: 81.2 kB / 0.5822 GB, free: 78.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=404): time 5.23e-06/1.024, allocations: 0 / 0.5822 GB, free: 78.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=410): time 0.03945/1.063, allocations: 19.24 MB / 0.601 GB, free: 70.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/1.063, allocations: 89.88 kB / 0.6011 GB, free: 70.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004387/1.068, allocations: 3.667 MB / 0.6047 GB, free: 68.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004044/1.068, allocations: 93.39 kB / 0.6048 GB, free: 68.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001661/1.07, allocations: 3.978 MB / 0.6087 GB, free: 64.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009099/1.071, allocations: 1.394 MB / 0.61 GB, free: 63.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/1.071, allocations: 119.8 kB / 0.6101 GB, free: 63.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002252/1.071, allocations: 0.5408 MB / 0.6107 GB, free: 62.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003563/1.075, allocations: 2.814 MB / 0.6134 GB, free: 61.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00416/1.079, allocations: 4.977 MB / 0.6183 GB, free: 56.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004522/1.083, allocations: 3.972 MB / 0.6222 GB, free: 54.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-05/1.083, allocations: 20 kB / 0.6222 GB, free: 54.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01169/1.095, allocations: 9.112 MB / 0.6311 GB, free: 45.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/1.095, allocations: 36 kB / 0.6311 GB, free: 45.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-05/1.095, allocations: 68.53 kB / 0.6312 GB, free: 45.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002589/1.098, allocations: 1.211 MB / 0.6324 GB, free: 43.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003826/1.102, allocations: 1.322 MB / 0.6336 GB, free: 42.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/1.112, allocations: 9.111 MB / 0.6425 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/1.116, allocations: 343.4 kB / 0.6429 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004914/1.116, allocations: 284 kB / 0.6431 GB, free: 32.7 MB / 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 (697): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004657/1.121, allocations: 3.705 MB / 0.6468 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000705/1.122, allocations: 407 kB / 0.6471 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009817/1.132, allocations: 6.745 MB / 0.6537 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007255/1.139, allocations: 5.631 MB / 0.6592 GB, free: 16.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/1.139, allocations: 12 kB / 0.6592 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.092e-05/1.139, allocations: 19.92 kB / 0.6593 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02252/1.161, allocations: 16.17 MB / 0.6751 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/1.161, allocations: 4 kB / 0.6751 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00274/1.164, allocations: 0.7216 MB / 0.6758 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00279/1.167, allocations: 1.078 MB / 0.6768 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003068/1.167, allocations: 99.92 kB / 0.6769 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/1.179, allocations: 8.057 MB / 0.6848 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/1.179, allocations: 8 kB / 0.6848 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01554/1.195, allocations: 9.916 MB / 0.6945 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/1.197, allocations: 0.9722 MB / 0.6954 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008519/1.198, allocations: 83.98 kB / 0.6955 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/1.2, allocations: 203.9 kB / 0.6957 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005816/1.2, allocations: 295.2 kB / 0.696 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003016/1.201, allocations: 120.6 kB / 0.6961 GB, free: 9.961 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003991/1.205, allocations: 2.464 MB / 0.6985 GB, free: 7.508 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.205, allocations: 0 / 0.6985 GB, free: 7.508 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005702/1.21, allocations: 1.612 MB / 0.7001 GB, free: 5.898 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 (392): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006422/1.211, allocations: 283.2 kB / 0.7003 GB, free: 5.625 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01151/1.223, allocations: 7.168 MB / 0.7073 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.223, allocations: 4 kB / 0.7073 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005427/1.228, allocations: 3.419 MB / 0.7107 GB, free: 11.01 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004309/1.232, allocations: 0.9405 MB / 0.7116 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2012/1.434, allocations: 19.76 MB / 0.7309 GB, free: 157.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007035/1.441, allocations: 6.188 MB / 0.7369 GB, free: 156.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005229/1.446, allocations: 1.916 MB / 0.7388 GB, free: 156.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/1.447, allocations: 340.4 kB / 0.7391 GB, free: 156.6 MB / 494.1 MB Notification: Performance of SimCode: time 8.52e-07/1.447, allocations: 0 / 0.7391 GB, free: 156.6 MB / 494.1 MB Notification: Performance of Templates: time 0.08896/1.536, allocations: 64.58 MB / 0.8022 GB, free: 109.9 MB / 494.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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