Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008876/0.0008876, allocations: 93.02 kB / 17.3 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008314/0.0008316, allocations: 173.9 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004992, allocations: 8 kB / 281.4 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1205, allocations: 47.57 MB / 329 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0253/0.1458, allocations: 23.36 MB / 352.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01911/0.165, allocations: 7.21 MB / 359.6 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007178/0.1722, allocations: 147.6 kB / 359.7 MB, free: 4.898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007083/0.1793, allocations: 1.789 MB / 361.5 MB, free: 3.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01302/0.1924, allocations: 2.711 MB / 364.2 MB, free: 388 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006118/0.1986, allocations: 1.528 MB / 365.7 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01867/0.2172, allocations: 10.82 MB / 376.5 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3071/0.5243, allocations: 22.16 MB / 398.7 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008698/0.5331, allocations: 4.077 MB / 402.8 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01113/0.5443, allocations: 4.874 MB / 407.7 MB, free: 8.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003323/0.5476, allocations: 0.6489 MB / 408.3 MB, free: 8.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006128/0.5538, allocations: 1.001 MB / 409.3 MB, free: 8.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003937/0.5578, allocations: 1.994 MB / 411.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009018/0.5668, allocations: 4.839 MB / 416.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02683/0.5936, allocations: 21.03 MB / 437.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5937, allocations: 0 / 437.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.5937, allocations: 0 / 437.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006993/0.5944, allocations: 0 / 437.2 MB, free: 1.875 MB / 334.1 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.03716/0.6316, allocations: 10.83 MB / 448 MB, free: 7.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.6316, allocations: 12.03 kB / 448 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04067/0.6723, allocations: 7.166 MB / 455.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01493/0.6873, allocations: 6.18 MB / 461.4 MB, free: 9.977 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008389/0.6882, allocations: 0.7123 MB / 462.1 MB, free: 9.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0048/0.693, allocations: 0.9507 MB / 463 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05047/0.7435, allocations: 16.22 MB / 479.2 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007526/0.7443, allocations: 19.84 kB / 479.3 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00569/0.75, allocations: 398.1 kB / 479.6 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006756/0.7507, allocations: 0.5786 MB / 480.2 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0378/0.7885, allocations: 15.47 MB / 495.7 MB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1112/0.8997, allocations: 52.98 MB / 0.5358 GB, free: 2.152 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4652/1.365, allocations: 35.5 MB / 0.5705 GB, free: 110.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006962/1.372, allocations: 3.439 MB / 0.5738 GB, free: 109.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01709/1.389, allocations: 10.15 MB / 0.5837 GB, free: 104.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.498e-05/1.389, allocations: 68.36 kB / 0.5838 GB, free: 104.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=303): time 5.611e-06/1.389, allocations: 0 / 0.5838 GB, free: 104.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=309): time 0.03159/1.421, allocations: 15.22 MB / 0.5987 GB, free: 98.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/1.421, allocations: 83.91 kB / 0.5988 GB, free: 98.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005263/1.426, allocations: 3.853 MB / 0.6025 GB, free: 96.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005765/1.427, allocations: 73.52 kB / 0.6026 GB, free: 96.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001978/1.429, allocations: 4.254 MB / 0.6067 GB, free: 93.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001278/1.43, allocations: 1.073 MB / 0.6078 GB, free: 92.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005765/1.431, allocations: 442.9 kB / 0.6082 GB, free: 92.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.813e-05/1.431, allocations: 305.1 kB / 0.6085 GB, free: 92.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00364/1.434, allocations: 2.59 MB / 0.611 GB, free: 91.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004086/1.439, allocations: 4.965 MB / 0.6159 GB, free: 86.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00785/1.446, allocations: 8.028 MB / 0.6237 GB, free: 76.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.609e-05/1.446, allocations: 24 kB / 0.6237 GB, free: 76.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01327/1.46, allocations: 8.714 MB / 0.6322 GB, free: 68.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.211e-05/1.46, allocations: 40 kB / 0.6323 GB, free: 68.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00012/1.46, allocations: 83.98 kB / 0.6324 GB, free: 67.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/1.463, allocations: 1.206 MB / 0.6335 GB, free: 66.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004206/1.467, allocations: 1.232 MB / 0.6347 GB, free: 65.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/1.479, allocations: 9.149 MB / 0.6437 GB, free: 56.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005062/1.484, allocations: 331.5 kB / 0.644 GB, free: 55.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/1.485, allocations: 284 kB / 0.6443 GB, free: 55.66 MB / 446.1 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 (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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00776/1.493, allocations: 3.736 MB / 0.6479 GB, free: 51.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.494, allocations: 383.2 kB / 0.6483 GB, free: 51.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009555/1.504, allocations: 5.875 MB / 0.654 GB, free: 45.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006864/1.511, allocations: 4.834 MB / 0.6587 GB, free: 40.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/1.511, allocations: 12 kB / 0.6588 GB, free: 40.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.889e-05/1.511, allocations: 15.94 kB / 0.6588 GB, free: 40.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02073/1.532, allocations: 13.82 MB / 0.6723 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.532, allocations: 4.031 kB / 0.6723 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002183/1.534, allocations: 0.5617 MB / 0.6728 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002758/1.537, allocations: 1.086 MB / 0.6739 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002964/1.537, allocations: 71.98 kB / 0.6739 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/1.547, allocations: 8.067 MB / 0.6818 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.547, allocations: 11.94 kB / 0.6818 GB, free: 16.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/1.559, allocations: 8.629 MB / 0.6903 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002522/1.562, allocations: 0.8865 MB / 0.6911 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005657/1.563, allocations: 56 kB / 0.6912 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/1.564, allocations: 191.8 kB / 0.6914 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005221/1.565, allocations: 230.7 kB / 0.6916 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/1.565, allocations: 95.97 kB / 0.6917 GB, free: 6.641 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003435/1.569, allocations: 2.585 MB / 0.6942 GB, free: 4.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/1.569, allocations: 0 / 0.6942 GB, free: 4.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005232/1.574, allocations: 1.55 MB / 0.6957 GB, free: 2.523 MB / 446.1 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 (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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000571/1.574, allocations: 253.8 kB / 0.696 GB, free: 2.281 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.011/1.585, allocations: 6.59 MB / 0.7024 GB, free: 11.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.585, allocations: 0 / 0.7024 GB, free: 11.67 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00594/1.591, allocations: 3.003 MB / 0.7053 GB, free: 8.656 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006183/1.598, allocations: 0.8885 MB / 0.7062 GB, free: 7.773 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2493/1.847, allocations: 20.38 MB / 0.7261 GB, free: 142.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009856/1.857, allocations: 6.232 MB / 0.7322 GB, free: 141.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006045/1.863, allocations: 1.939 MB / 0.7341 GB, free: 141.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009685/1.864, allocations: 301.7 kB / 0.7344 GB, free: 141.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.753e-06/1.864, allocations: 0 / 0.7344 GB, free: 141.1 MB / 462.1 MB Notification: Performance of Templates: time 0.1075/1.971, allocations: 60.76 MB / 0.7937 GB, free: 97.31 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches