Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001407/0.001407, allocations: 108.6 kB / 17.06 MB, free: 6.098 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.001543/0.001543, allocations: 200.1 kB / 18 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 47.92 kB / 351.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2624, allocations: 49.43 MB / 400.8 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02526/0.2877, allocations: 24.77 MB / 425.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.3033, allocations: 7.341 MB / 432.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004696/0.3081, allocations: 191.4 kB / 433.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01978/0.3279, allocations: 8.779 MB / 441.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01054/0.3384, allocations: 2.918 MB / 444.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005217/0.3437, allocations: 1.702 MB / 446.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0148/0.3585, allocations: 10.74 MB / 457.2 MB, free: 252 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03346/0.392, allocations: 21.82 MB / 479 MB, free: 10.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009333/0.4014, allocations: 5.72 MB / 484.7 MB, free: 4.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01035/0.4118, allocations: 6.253 MB / 491 MB, free: 14.28 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004893/0.4167, allocations: 1.676 MB / 492.7 MB, free: 12.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00784/0.4246, allocations: 2.031 MB / 494.7 MB, free: 10.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006586/0.4312, allocations: 3.145 MB / 497.8 MB, free: 7.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01176/0.443, allocations: 6.098 MB / 0.4921 GB, free: 1.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02568/0.4687, allocations: 22.32 MB / 0.5139 GB, free: 10.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.4687, allocations: 4 kB / 0.5139 GB, free: 10.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4687, allocations: 0 / 0.5139 GB, free: 10.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006209/0.4694, allocations: 4 kB / 0.5139 GB, free: 10.91 MB / 446.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.03951/0.5089, allocations: 12.72 MB / 0.5263 GB, free: 14.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.509, allocations: 12.03 kB / 0.5264 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03573/0.5447, allocations: 6.201 MB / 0.5324 GB, free: 7.863 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01497/0.5597, allocations: 6.901 MB / 0.5392 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006997/0.5604, allocations: 0.7024 MB / 0.5398 GB, free: 204 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.435/0.9955, allocations: 0.9131 MB / 0.5407 GB, free: 115.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03156/1.027, allocations: 15.75 MB / 0.5561 GB, free: 110 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002311/1.027, allocations: 12.31 kB / 0.5561 GB, free: 110 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001154/1.028, allocations: 389.9 kB / 0.5565 GB, free: 109.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003664/1.029, allocations: 0.5582 MB / 0.557 GB, free: 109.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02357/1.052, allocations: 14.77 MB / 0.5715 GB, free: 97.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06878/1.121, allocations: 50.98 MB / 0.6212 GB, free: 45.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01636/1.138, allocations: 26.46 MB / 0.6471 GB, free: 16.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004183/1.142, allocations: 3.215 MB / 0.6502 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003197/1.142, allocations: 163.6 kB / 0.6504 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/1.142, allocations: 77.62 kB / 0.6505 GB, free: 12.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 5.981e-06/1.142, allocations: 4 kB / 0.6505 GB, free: 12.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.034/1.176, allocations: 17.29 MB / 0.6673 GB, free: 11.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/1.176, allocations: 94.58 kB / 0.6674 GB, free: 11.14 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006542/1.183, allocations: 3.692 MB / 0.671 GB, free: 7.453 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005343/1.184, allocations: 89.7 kB / 0.6711 GB, free: 7.359 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002705/1.186, allocations: 3.982 MB / 0.675 GB, free: 3.352 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001503/1.188, allocations: 1.378 MB / 0.6764 GB, free: 1.984 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002287/1.19, allocations: 1.136 MB / 0.6775 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.096e-05/1.19, allocations: 301.1 kB / 0.6778 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00451/1.195, allocations: 2.807 MB / 0.6805 GB, free: 13.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005712/1.2, allocations: 4.956 MB / 0.6853 GB, free: 7.777 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/1.212, allocations: 8.31 MB / 0.6934 GB, free: 14.47 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.698e-05/1.212, allocations: 20 kB / 0.6935 GB, free: 14.45 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01909/1.231, allocations: 9.091 MB / 0.7023 GB, free: 5.332 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 8.37e-05/1.231, allocations: 36 kB / 0.7024 GB, free: 5.297 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001359/1.231, allocations: 72 kB / 0.7024 GB, free: 5.227 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003696/1.235, allocations: 1.227 MB / 0.7036 GB, free: 4.004 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004983/1.24, allocations: 1.322 MB / 0.7049 GB, free: 2.68 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01602/1.256, allocations: 9.919 MB / 0.7146 GB, free: 8.629 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004372/1.261, allocations: 335.4 kB / 0.7149 GB, free: 8.301 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/1.262, allocations: 280 kB / 0.7152 GB, free: 8.027 MB / 0.5138 GB 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007601/1.269, allocations: 3.709 MB / 0.7188 GB, free: 4.305 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001266/1.271, allocations: 403.1 kB / 0.7192 GB, free: 3.906 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/1.283, allocations: 6.693 MB / 0.7258 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009092/1.292, allocations: 5.599 MB / 0.7312 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.321e-05/1.292, allocations: 12 kB / 0.7312 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.524e-05/1.292, allocations: 19.92 kB / 0.7312 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2699/1.562, allocations: 15.75 MB / 0.7466 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/1.562, allocations: 4.719 kB / 0.7466 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002485/1.564, allocations: 0.73 MB / 0.7474 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002751/1.567, allocations: 1.113 MB / 0.7484 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002291/1.568, allocations: 87.5 kB / 0.7485 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/1.578, allocations: 8.847 MB / 0.7572 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.578, allocations: 11.53 kB / 0.7572 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/1.591, allocations: 9.847 MB / 0.7668 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002043/1.593, allocations: 0.9513 MB / 0.7677 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004542/1.593, allocations: 79.05 kB / 0.7678 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/1.595, allocations: 204.5 kB / 0.768 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005798/1.596, allocations: 283.6 kB / 0.7683 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002133/1.596, allocations: 119.5 kB / 0.7684 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003175/1.599, allocations: 2.498 MB / 0.7708 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/1.599, allocations: 0 / 0.7708 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004614/1.604, allocations: 1.613 MB / 0.7724 GB, free: 162.8 MB / 0.5294 GB 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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005393/1.604, allocations: 285.7 kB / 0.7727 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0116/1.616, allocations: 7.134 MB / 0.7796 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/1.616, allocations: 4 kB / 0.7796 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005286/1.621, allocations: 3.393 MB / 0.7829 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004291/1.625, allocations: 0.9716 MB / 0.7839 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02439/1.65, allocations: 16.39 MB / 0.7999 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005541/1.655, allocations: 6.191 MB / 0.8059 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004388/1.66, allocations: 1.908 MB / 0.8078 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009383/1.661, allocations: 339.4 kB / 0.8081 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of SimCode: time 8.41e-07/1.661, allocations: 0 / 0.8081 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.0953/1.756, allocations: 66.22 MB / 0.8728 GB, free: 65.17 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches