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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.000991/0.0009911, allocations: 187 kB / 17.92 MB, free: 3.855 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.147/1.147, allocations: 205.1 MB / 223.7 MB, free: 8.469 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.0009074/0.0009073, allocations: 103.7 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007967/0.0007968, allocations: 39.94 kB / 327.2 MB, free: 292 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1916, allocations: 46.62 MB / 373.9 MB, free: 45.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01781/0.2094, allocations: 24.45 MB / 398.3 MB, free: 24.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0122/0.2218, allocations: 7.289 MB / 405.6 MB, free: 17.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004274/0.2261, allocations: 151.5 kB / 405.7 MB, free: 17.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01443/0.2405, allocations: 8.323 MB / 414.1 MB, free: 9.156 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008043/0.2486, allocations: 2.73 MB / 416.8 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004217/0.2528, allocations: 1.619 MB / 418.4 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0113/0.2641, allocations: 10.99 MB / 429.4 MB, free: 9.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02694/0.2911, allocations: 18.17 MB / 447.6 MB, free: 7.453 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006842/0.298, allocations: 5.001 MB / 452.6 MB, free: 2.438 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007914/0.3059, allocations: 6.042 MB / 458.6 MB, free: 12.38 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00287/0.3088, allocations: 1.082 MB / 459.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004517/0.3133, allocations: 1.449 MB / 461.1 MB, free: 9.844 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003487/0.3169, allocations: 2.613 MB / 463.8 MB, free: 7.223 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008131/0.325, allocations: 5.555 MB / 469.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01943/0.3444, allocations: 21.87 MB / 491.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3445, allocations: 4 kB / 491.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3445, allocations: 0 / 491.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005254/0.345, allocations: 0 / 491.2 MB, free: 11.71 MB / 378.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.2994/0.6445, allocations: 12.98 MB / 0.4924 GB, free: 93.88 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.6445, allocations: 7.875 kB / 0.4924 GB, free: 93.88 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0337/0.6782, allocations: 7.131 MB / 0.4993 GB, free: 92.04 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/0.6905, allocations: 6.149 MB / 0.5053 GB, free: 87.9 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003726/0.6909, allocations: 0.7174 MB / 0.506 GB, free: 87.58 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002329/0.6932, allocations: 0.9428 MB / 0.507 GB, free: 87.27 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02296/0.7162, allocations: 16.22 MB / 0.5228 GB, free: 71.74 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001604/0.7164, allocations: 11.91 kB / 0.5228 GB, free: 71.73 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008248/0.7172, allocations: 399.1 kB / 0.5232 GB, free: 71.35 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003459/0.7176, allocations: 0.5825 MB / 0.5238 GB, free: 70.77 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01971/0.7373, allocations: 15.47 MB / 0.5389 GB, free: 55.28 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06416/0.8015, allocations: 52.84 MB / 0.5905 GB, free: 1.449 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02745/0.829, allocations: 35.51 MB / 0.6251 GB, free: 9.648 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005133/0.8341, allocations: 3.427 MB / 0.6285 GB, free: 6.203 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01756/0.8517, allocations: 10.16 MB / 0.6384 GB, free: 11.94 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.8518, allocations: 64.92 kB / 0.6385 GB, free: 11.86 MB / 442.8 MB Notification: Performance of pre-optimization done (n=303): time 4.509e-06/0.8518, allocations: 0 / 0.6385 GB, free: 11.86 MB / 442.8 MB Notification: Performance of matching and sorting (n=309): time 0.03157/0.8834, allocations: 15.1 MB / 0.6532 GB, free: 12.62 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.8835, allocations: 85.81 kB / 0.6533 GB, free: 12.52 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00616/0.8896, allocations: 3.852 MB / 0.6571 GB, free: 8.676 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002909/0.89, allocations: 81.7 kB / 0.6571 GB, free: 8.59 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002432/0.8924, allocations: 4.251 MB / 0.6613 GB, free: 4.281 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009233/0.8933, allocations: 1.079 MB / 0.6623 GB, free: 3.188 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001751/0.8951, allocations: 1.095 MB / 0.6634 GB, free: 2.082 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 7.729e-05/0.8952, allocations: 305.1 kB / 0.6637 GB, free: 1.781 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.165/1.06, allocations: 2.582 MB / 0.6662 GB, free: 159.9 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005148/1.065, allocations: 4.95 MB / 0.6711 GB, free: 156.5 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008326/1.074, allocations: 8.005 MB / 0.6789 GB, free: 150.8 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.892e-05/1.074, allocations: 22.38 kB / 0.6789 GB, free: 150.8 MB / 458.8 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01126/1.085, allocations: 8.702 MB / 0.6874 GB, free: 147.5 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.678e-05/1.085, allocations: 42.44 kB / 0.6874 GB, free: 147.5 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.747e-05/1.085, allocations: 78.34 kB / 0.6875 GB, free: 147.5 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00269/1.088, allocations: 1.204 MB / 0.6887 GB, free: 147.2 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003368/1.091, allocations: 1.227 MB / 0.6899 GB, free: 147.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/1.102, allocations: 9.132 MB / 0.6988 GB, free: 142.3 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003551/1.106, allocations: 330.9 kB / 0.6991 GB, free: 142.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000357/1.106, allocations: 287.9 kB / 0.6994 GB, free: 142.2 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 (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.004438/1.111, allocations: 3.736 MB / 0.703 GB, free: 139.7 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006125/1.111, allocations: 381.1 kB / 0.7034 GB, free: 139.6 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008046/1.119, allocations: 5.859 MB / 0.7091 GB, free: 134.7 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005853/1.125, allocations: 4.815 MB / 0.7138 GB, free: 129.9 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.125, allocations: 8 kB / 0.7138 GB, free: 129.9 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/1.125, allocations: 15.94 kB / 0.7139 GB, free: 129.9 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/1.142, allocations: 13.79 MB / 0.7273 GB, free: 116 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/1.142, allocations: 4.406 kB / 0.7273 GB, free: 116 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001965/1.144, allocations: 0.5656 MB / 0.7279 GB, free: 115.5 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002405/1.147, allocations: 1.089 MB / 0.7289 GB, free: 114.4 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001811/1.147, allocations: 67.98 kB / 0.729 GB, free: 114.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008973/1.156, allocations: 8.053 MB / 0.7369 GB, free: 106.2 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.156, allocations: 4 kB / 0.7369 GB, free: 106.2 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/1.172, allocations: 15.03 MB / 0.7516 GB, free: 91.06 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/1.174, allocations: 0.8671 MB / 0.7524 GB, free: 90.17 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003608/1.174, allocations: 59.94 kB / 0.7525 GB, free: 90.11 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/1.176, allocations: 191.9 kB / 0.7526 GB, free: 89.93 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000491/1.176, allocations: 218.7 kB / 0.7528 GB, free: 89.71 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/1.176, allocations: 95.92 kB / 0.7529 GB, free: 89.62 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002503/1.179, allocations: 2.585 MB / 0.7555 GB, free: 87.05 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.4e-07/1.179, allocations: 0 / 0.7555 GB, free: 87.05 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.004407/1.183, allocations: 1.775 MB / 0.7572 GB, free: 85.28 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 (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.0004007/1.184, allocations: 254.2 kB / 0.7574 GB, free: 85.03 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.008254/1.192, allocations: 6.572 MB / 0.7639 GB, free: 78.44 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.192, allocations: 4 kB / 0.7639 GB, free: 78.43 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003947/1.196, allocations: 2.981 MB / 0.7668 GB, free: 75.45 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003519/1.199, allocations: 0.8879 MB / 0.7676 GB, free: 74.58 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02192/1.221, allocations: 22.21 MB / 0.7893 GB, free: 52.29 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004603/1.226, allocations: 6.317 MB / 0.7955 GB, free: 45.93 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004668/1.231, allocations: 1.941 MB / 0.7974 GB, free: 43.98 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000771/1.232, allocations: 307.4 kB / 0.7977 GB, free: 43.68 MB / 458.8 MB Notification: Performance of SimCode: time 6.61e-07/1.232, allocations: 0 / 0.7977 GB, free: 43.68 MB / 458.8 MB Notification: Performance of Templates: time 0.2318/1.463, allocations: 63.4 MB / 0.8596 GB, free: 134.4 MB / 458.8 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@2/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