Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001627/0.001627, allocations: 194 kB / 17.38 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 226.6 MB / 244.7 MB, free: 6.434 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008127/0.0008128, allocations: 99.8 kB / 296.8 MB, free: 6.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002316/0.0002316, allocations: 8 kB / 356.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2292, allocations: 51.28 MB / 408.1 MB, free: 27.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01724/0.2465, allocations: 23.61 MB / 431.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01499/0.2615, allocations: 7.507 MB / 439.2 MB, free: 12.44 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005209/0.2668, allocations: 183.4 kB / 439.4 MB, free: 12.26 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005905/0.2727, allocations: 1.48 MB / 440.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009768/0.2825, allocations: 2.762 MB / 443.6 MB, free: 8.004 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005205/0.2877, allocations: 1.269 MB / 444.9 MB, free: 6.754 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02/0.3078, allocations: 14.82 MB / 459.7 MB, free: 7.887 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03999/0.3478, allocations: 23.53 MB / 483.2 MB, free: 224 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008175/0.356, allocations: 4.751 MB / 488 MB, free: 11.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009323/0.3654, allocations: 5.293 MB / 493.3 MB, free: 6.141 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002568/0.368, allocations: 0.7227 MB / 494 MB, free: 5.418 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00502/0.373, allocations: 1.093 MB / 495.1 MB, free: 4.324 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002949/0.376, allocations: 2.227 MB / 497.3 MB, free: 2.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009026/0.385, allocations: 5.241 MB / 0.4908 GB, free: 12.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.4022/0.7872, allocations: 20.95 MB / 0.5112 GB, free: 35.73 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.7873, allocations: 7.812 kB / 0.5113 GB, free: 35.73 MB / 378.8 MB Notification: Performance of FrontEnd: time 3.156e-06/0.7873, allocations: 0 / 0.5113 GB, free: 35.73 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0006634/0.788, allocations: 0 / 0.5113 GB, free: 35.73 MB / 378.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.03218/0.8201, allocations: 12.17 MB / 0.5231 GB, free: 29.9 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.8202, allocations: 9.312 kB / 0.5231 GB, free: 29.9 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04127/0.8615, allocations: 8.487 MB / 0.5314 GB, free: 26.67 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01381/0.8753, allocations: 7.47 MB / 0.5387 GB, free: 24.68 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006627/0.876, allocations: 0.8121 MB / 0.5395 GB, free: 24.65 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004374/0.8804, allocations: 1.057 MB / 0.5406 GB, free: 24.64 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0417/0.9221, allocations: 18.23 MB / 0.5584 GB, free: 13.3 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003838/0.9226, allocations: 16.84 kB / 0.5584 GB, free: 13.29 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003446/0.926, allocations: 454.8 kB / 0.5588 GB, free: 13.2 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005486/0.9266, allocations: 0.6697 MB / 0.5595 GB, free: 12.58 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03482/0.9614, allocations: 17.46 MB / 0.5765 GB, free: 12.46 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1051/1.067, allocations: 60.02 MB / 0.6351 GB, free: 15.77 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03225/1.099, allocations: 37.43 MB / 0.6717 GB, free: 6.414 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006822/1.106, allocations: 4.161 MB / 0.6757 GB, free: 2.234 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006442/1.106, allocations: 275.2 kB / 0.676 GB, free: 1.941 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.231e-05/1.106, allocations: 86.64 kB / 0.6761 GB, free: 1.844 MB / 490.8 MB Notification: Performance of pre-optimization done (n=524): time 9.247e-06/1.106, allocations: 0 / 0.6761 GB, free: 1.844 MB / 490.8 MB Notification: Performance of matching and sorting (n=530): time 0.2611/1.368, allocations: 21.86 MB / 0.6974 GB, free: 184.8 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.002e-05/1.368, allocations: 109.2 kB / 0.6975 GB, free: 184.8 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01233/1.38, allocations: 4.142 MB / 0.7016 GB, free: 183.8 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001193/1.381, allocations: 113 kB / 0.7017 GB, free: 183.7 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004323/1.386, allocations: 4.503 MB / 0.7061 GB, free: 180.9 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.003144/1.389, allocations: 1.794 MB / 0.7078 GB, free: 179.5 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001411/1.39, allocations: 143.8 kB / 0.708 GB, free: 179.4 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0009457/1.391, allocations: 0.5926 MB / 0.7085 GB, free: 178.9 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01036/1.402, allocations: 3.463 MB / 0.7119 GB, free: 177.6 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0123/1.414, allocations: 5.897 MB / 0.7177 GB, free: 173.3 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02184/1.436, allocations: 10.06 MB / 0.7275 GB, free: 166.6 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001754/1.436, allocations: 23.5 kB / 0.7275 GB, free: 166.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=916) (initialization): time 0.03406/1.47, allocations: 10.95 MB / 0.7382 GB, free: 160.7 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002228/1.471, allocations: 42.03 kB / 0.7383 GB, free: 160.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002297/1.471, allocations: 76 kB / 0.7383 GB, free: 160.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005293/1.476, allocations: 1.392 MB / 0.7397 GB, free: 159.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00676/1.483, allocations: 1.619 MB / 0.7413 GB, free: 158.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/1.498, allocations: 10.57 MB / 0.7516 GB, free: 148.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006012/1.504, allocations: 411.8 kB / 0.752 GB, free: 148.6 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001439/1.505, allocations: 335.2 kB / 0.7523 GB, free: 148.3 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (843): * Single equations (assignments): 838 * 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%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007584/1.513, allocations: 4.164 MB / 0.7564 GB, free: 144.7 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/1.514, allocations: 478.1 kB / 0.7568 GB, free: 144.2 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/1.527, allocations: 8.522 MB / 0.7652 GB, free: 135.6 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01011/1.537, allocations: 7.116 MB / 0.7721 GB, free: 128.4 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.976e-05/1.537, allocations: 12 kB / 0.7721 GB, free: 128.4 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-05/1.537, allocations: 27.89 kB / 0.7722 GB, free: 128.3 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02892/1.566, allocations: 19.39 MB / 0.7911 GB, free: 108.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/1.566, allocations: 4 kB / 0.7911 GB, free: 108.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003502/1.57, allocations: 0.9403 MB / 0.792 GB, free: 107.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003015/1.573, allocations: 1.254 MB / 0.7932 GB, free: 106.5 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004477/1.573, allocations: 112 kB / 0.7933 GB, free: 106.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/1.585, allocations: 9.296 MB / 0.8024 GB, free: 96.94 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.585, allocations: 11.12 kB / 0.8024 GB, free: 96.93 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/1.601, allocations: 12.34 MB / 0.8145 GB, free: 84.39 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002784/1.604, allocations: 1.17 MB / 0.8156 GB, free: 83.19 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/1.605, allocations: 92 kB / 0.8157 GB, free: 83.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002616/1.608, allocations: 279.8 kB / 0.816 GB, free: 82.83 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000658/1.608, allocations: 356.3 kB / 0.8163 GB, free: 82.48 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002802/1.608, allocations: 148 kB / 0.8165 GB, free: 82.33 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003683/1.612, allocations: 2.791 MB / 0.8192 GB, free: 79.53 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.2e-07/1.612, allocations: 0 / 0.8192 GB, free: 79.53 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006256/1.618, allocations: 1.936 MB / 0.8211 GB, free: 77.59 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (502): * Single equations (assignments): 497 * 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%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007106/1.619, allocations: 301.6 kB / 0.8214 GB, free: 77.3 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01256/1.632, allocations: 8.765 MB / 0.8299 GB, free: 68.47 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.632, allocations: 0 / 0.8299 GB, free: 68.47 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006341/1.638, allocations: 4.217 MB / 0.834 GB, free: 64.24 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006482/1.645, allocations: 1.077 MB / 0.8351 GB, free: 63.18 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02974/1.674, allocations: 22.79 MB / 0.8574 GB, free: 40.29 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006191/1.681, allocations: 6.801 MB / 0.864 GB, free: 33.44 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002145/1.683, allocations: 463.3 kB / 0.8644 GB, free: 32.99 MB / 0.4949 GB Notification: Performance of SimCode: time 7.72e-07/1.683, allocations: 8 kB / 0.8644 GB, free: 32.98 MB / 0.4949 GB Notification: Performance of Templates: time 0.3929/2.076, allocations: 180.3 MB / 1.04 GB, free: 20.18 MB / 0.4949 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_Characteristics.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches