Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001911/0.001911, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.4 MB / 222.9 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007543/0.0007543, allocations: 82.42 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004124, allocations: 8 kB / 327.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2732, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02728/0.3005, allocations: 21.76 MB / 396.9 MB, free: 26.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01842/0.319, allocations: 6.753 MB / 403.6 MB, free: 20.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006135/0.3252, allocations: 147.5 kB / 403.8 MB, free: 19.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006389/0.3316, allocations: 1.356 MB / 405.1 MB, free: 18.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01347/0.3451, allocations: 2.464 MB / 407.6 MB, free: 16.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006424/0.3516, allocations: 1.164 MB / 408.8 MB, free: 15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02192/0.3735, allocations: 13.43 MB / 422.2 MB, free: 1.527 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05527/0.4288, allocations: 21.65 MB / 443.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01135/0.4402, allocations: 4.241 MB / 448.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01357/0.4539, allocations: 4.67 MB / 452.7 MB, free: 2.789 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003223/0.4572, allocations: 0.6445 MB / 453.4 MB, free: 2.145 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005973/0.4632, allocations: 0.9996 MB / 454.4 MB, free: 1.145 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003533/0.4667, allocations: 1.947 MB / 456.3 MB, free: 15.19 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009922/0.4767, allocations: 4.646 MB / 461 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02197/0.4987, allocations: 19 MB / 480 MB, free: 7.469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.587e-06/0.4988, allocations: 0 / 480 MB, free: 7.469 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4988, allocations: 0 / 480 MB, free: 7.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005869/0.4994, allocations: 0 / 480 MB, free: 7.469 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.03292/0.5323, allocations: 10.82 MB / 490.8 MB, free: 12.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.5324, allocations: 12.03 kB / 490.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03695/0.5693, allocations: 7.168 MB / 498 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3562/0.9256, allocations: 6.176 MB / 0.4923 GB, free: 89.98 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006975/0.9263, allocations: 0.7139 MB / 0.493 GB, free: 89.96 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003939/0.9303, allocations: 0.9353 MB / 0.4939 GB, free: 89.96 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03902/0.9693, allocations: 16.14 MB / 0.5097 GB, free: 83.32 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002531/0.9696, allocations: 18.72 kB / 0.5097 GB, free: 83.31 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001504/0.9711, allocations: 396.9 kB / 0.5101 GB, free: 83.02 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004174/0.9716, allocations: 0.5813 MB / 0.5107 GB, free: 82.89 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02678/0.9983, allocations: 15.4 MB / 0.5257 GB, free: 69.85 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07491/1.073, allocations: 52.99 MB / 0.5775 GB, free: 16.16 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02556/1.099, allocations: 35.47 MB / 0.6121 GB, free: 8.414 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005602/1.105, allocations: 3.422 MB / 0.6154 GB, free: 4.973 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01765/1.122, allocations: 10.17 MB / 0.6254 GB, free: 10.82 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/1.122, allocations: 60.92 kB / 0.6254 GB, free: 10.75 MB / 426.8 MB Notification: Performance of pre-optimization done (n=303): time 6.002e-06/1.122, allocations: 0 / 0.6254 GB, free: 10.75 MB / 426.8 MB Notification: Performance of matching and sorting (n=309): time 0.03415/1.157, allocations: 15.17 MB / 0.6402 GB, free: 11.45 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/1.157, allocations: 85.81 kB / 0.6403 GB, free: 11.35 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006178/1.163, allocations: 3.817 MB / 0.6441 GB, free: 7.539 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004548/1.163, allocations: 77.7 kB / 0.6441 GB, free: 7.457 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003007/1.166, allocations: 4.252 MB / 0.6483 GB, free: 3.18 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001255/1.168, allocations: 1.07 MB / 0.6493 GB, free: 2.117 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/1.168, allocations: 108 kB / 0.6494 GB, free: 2.012 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0003966/1.168, allocations: 0.5293 MB / 0.6499 GB, free: 1.477 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004103/1.172, allocations: 2.572 MB / 0.6525 GB, free: 14.9 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005672/1.178, allocations: 4.944 MB / 0.6573 GB, free: 8.828 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2515/1.43, allocations: 7.995 MB / 0.6651 GB, free: 152.4 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001016/1.43, allocations: 23.72 kB / 0.6651 GB, free: 152.4 MB / 458.8 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01641/1.446, allocations: 8.675 MB / 0.6736 GB, free: 150 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/1.446, allocations: 41.78 kB / 0.6736 GB, free: 150 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/1.446, allocations: 79.52 kB / 0.6737 GB, free: 150 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003017/1.449, allocations: 1.211 MB / 0.6749 GB, free: 149.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004436/1.454, allocations: 1.224 MB / 0.6761 GB, free: 149.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/1.467, allocations: 9.121 MB / 0.685 GB, free: 144.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004316/1.471, allocations: 338.2 kB / 0.6853 GB, free: 144.8 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000803/1.472, allocations: 282.8 kB / 0.6856 GB, free: 144.8 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (641): * Single equations (assignments): 636 * 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.006239/1.478, allocations: 3.737 MB / 0.6892 GB, free: 143 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007919/1.479, allocations: 380.7 kB / 0.6896 GB, free: 143 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008859/1.488, allocations: 5.855 MB / 0.6953 GB, free: 140.6 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006704/1.495, allocations: 4.818 MB / 0.7 GB, free: 138.7 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-05/1.495, allocations: 9.344 kB / 0.7 GB, free: 138.7 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.02e-05/1.495, allocations: 22.69 kB / 0.7 GB, free: 138.7 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02275/1.517, allocations: 13.79 MB / 0.7135 GB, free: 128.6 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/1.518, allocations: 4.562 kB / 0.7135 GB, free: 128.6 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002147/1.52, allocations: 0.5656 MB / 0.7141 GB, free: 128 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/1.522, allocations: 1.079 MB / 0.7151 GB, free: 126.9 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003526/1.523, allocations: 75.97 kB / 0.7152 GB, free: 126.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009896/1.533, allocations: 8.049 MB / 0.7231 GB, free: 118.8 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.533, allocations: 7.984 kB / 0.7231 GB, free: 118.8 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/1.544, allocations: 8.596 MB / 0.7315 GB, free: 110.2 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/1.547, allocations: 0.8904 MB / 0.7323 GB, free: 109.3 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007916/1.547, allocations: 60 kB / 0.7324 GB, free: 109.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00189/1.549, allocations: 191.9 kB / 0.7326 GB, free: 109 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005559/1.55, allocations: 230.6 kB / 0.7328 GB, free: 108.8 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/1.55, allocations: 91.98 kB / 0.7329 GB, free: 108.7 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003721/1.554, allocations: 2.553 MB / 0.7354 GB, free: 106.2 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.8e-07/1.554, allocations: 8 kB / 0.7354 GB, free: 106.2 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006299/1.56, allocations: 1.546 MB / 0.7369 GB, free: 104.6 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (285): * Single equations (assignments): 280 * 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.0008699/1.561, allocations: 242.2 kB / 0.7371 GB, free: 104.4 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01085/1.572, allocations: 6.574 MB / 0.7435 GB, free: 97.78 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/1.572, allocations: 0 / 0.7435 GB, free: 97.78 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00513/1.577, allocations: 2.988 MB / 0.7465 GB, free: 94.79 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006831/1.584, allocations: 0.8912 MB / 0.7473 GB, free: 93.91 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03284/1.617, allocations: 19.2 MB / 0.7661 GB, free: 74.64 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009424/1.626, allocations: 6.039 MB / 0.772 GB, free: 68.56 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001885/1.628, allocations: 359.4 kB / 0.7723 GB, free: 68.21 MB / 458.8 MB Notification: Performance of SimCode: time 8.92e-07/1.628, allocations: 0 / 0.7723 GB, free: 68.21 MB / 458.8 MB Notification: Performance of Templates: time 0.3884/2.017, allocations: 155.7 MB / 0.9243 GB, free: 64.3 MB / 458.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches