Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009365/0.0009365, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 163.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9077/0.9077, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_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=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 274.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.665e-05, allocations: 2.312 kB / 274.1 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02365/0.02367, allocations: 23.28 MB / 297.4 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.03488, allocations: 7.326 MB / 304.8 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002116/0.037, allocations: 222.9 kB / 305 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008788/0.04579, allocations: 9.1 MB / 314.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005697/0.05148, allocations: 3.022 MB / 317.1 MB, free: 9.125 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.05386, allocations: 1.728 MB / 318.8 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009/0.06286, allocations: 11.31 MB / 330.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1384/0.2012, allocations: 14.22 MB / 344.3 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0105/0.2117, allocations: 8.689 MB / 353 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006311/0.218, allocations: 6.219 MB / 359.3 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002051/0.2201, allocations: 1.669 MB / 360.9 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.2221, allocations: 2.058 MB / 363 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001499/0.2236, allocations: 3.27 MB / 366.3 MB, free: 22.49 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003154/0.2267, allocations: 4.128 MB / 370.4 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006593/0.2333, allocations: 10.41 MB / 380.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2333, allocations: 0.9375 kB / 380.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2333, allocations: 0 / 380.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001228/0.2335, allocations: 2.859 kB / 380.8 MB, free: 15.72 MB / 314.7 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.01564/0.2491, allocations: 12.69 MB / 393.5 MB, free: 4.066 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2491, allocations: 12.03 kB / 393.5 MB, free: 4.055 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0162/0.2653, allocations: 6.011 MB / 399.5 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006713/0.272, allocations: 6.259 MB / 405.8 MB, free: 8.078 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/0.2724, allocations: 0.7033 MB / 406.5 MB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/0.2736, allocations: 0.9268 MB / 407.4 MB, free: 6.473 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009457/0.283, allocations: 7.578 MB / 415 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/0.2832, allocations: 15.5 kB / 415 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006767/0.2839, allocations: 392.7 kB / 415.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003622/0.2842, allocations: 0.5508 MB / 415.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005553/0.2898, allocations: 3.597 MB / 419.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03894/0.3287, allocations: 40.27 MB / 459.8 MB, free: 3.418 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007067/0.3358, allocations: 6.598 MB / 466.4 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.337, allocations: 1.165 MB / 467.5 MB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/0.3372, allocations: 127 kB / 467.7 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.3373, allocations: 72.52 kB / 467.7 MB, free: 12.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=398): time 4.809e-06/0.3373, allocations: 4 kB / 467.7 MB, free: 12.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=404): time 0.01559/0.3529, allocations: 8.562 MB / 476.3 MB, free: 4.133 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.3529, allocations: 94.58 kB / 476.4 MB, free: 4.027 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/0.3558, allocations: 3.25 MB / 479.7 MB, free: 1.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.356, allocations: 85.7 kB / 479.7 MB, free: 1.141 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002269/0.3582, allocations: 4.388 MB / 484.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007881/0.359, allocations: 1.485 MB / 485.6 MB, free: 11.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/0.3603, allocations: 1.294 MB / 486.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.3604, allocations: 484.7 kB / 487.4 MB, free: 9.793 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008763/0.3613, allocations: 0.6671 MB / 488 MB, free: 9.121 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00257/0.3638, allocations: 3.949 MB / 492 MB, free: 3.977 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2302/0.594, allocations: 5.163 MB / 497.2 MB, free: 93.5 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.066e-05/0.5941, allocations: 20.22 kB / 497.2 MB, free: 93.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.006724/0.6008, allocations: 4.838 MB / 0.4902 GB, free: 93.34 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.6009, allocations: 37.5 kB / 0.4903 GB, free: 93.34 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.23e-05/0.6009, allocations: 70.25 kB / 0.4903 GB, free: 93.34 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001931/0.6029, allocations: 1.09 MB / 0.4914 GB, free: 93.31 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.605, allocations: 1.234 MB / 0.4926 GB, free: 93.31 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0053/0.6103, allocations: 5.728 MB / 0.4982 GB, free: 91.27 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.6123, allocations: 227.1 kB / 0.4984 GB, free: 91.26 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002434/0.6125, allocations: 238 kB / 0.4987 GB, free: 91.26 MB / 410.8 MB 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.001773/0.6143, allocations: 0.5325 MB / 0.4992 GB, free: 91.1 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000554/0.6149, allocations: 0.5226 MB / 0.4997 GB, free: 91 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003849/0.6187, allocations: 3.302 MB / 0.5029 GB, free: 90.72 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002644/0.6214, allocations: 2.317 MB / 0.5052 GB, free: 90.54 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.6214, allocations: 10.97 kB / 0.5052 GB, free: 90.54 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/0.6214, allocations: 23.11 kB / 0.5052 GB, free: 90.54 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/0.633, allocations: 10.85 MB / 0.5158 GB, free: 89.4 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.633, allocations: 7.344 kB / 0.5158 GB, free: 89.4 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.6343, allocations: 0.6503 MB / 0.5164 GB, free: 89.39 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/0.6359, allocations: 0.9734 MB / 0.5174 GB, free: 89.34 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.6361, allocations: 99.67 kB / 0.5175 GB, free: 89.34 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004566/0.6406, allocations: 5.296 MB / 0.5227 GB, free: 87.2 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.6406, allocations: 3.562 kB / 0.5227 GB, free: 87.2 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004706/0.6453, allocations: 4.155 MB / 0.5267 GB, free: 86.26 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.6465, allocations: 0.7569 MB / 0.5275 GB, free: 86.04 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003015/0.6468, allocations: 77.94 kB / 0.5275 GB, free: 86.04 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008132/0.6476, allocations: 109.2 kB / 0.5276 GB, free: 86.04 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003504/0.6479, allocations: 306 kB / 0.5279 GB, free: 86.03 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/0.6481, allocations: 97.78 kB / 0.528 GB, free: 86.03 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.00128/0.6494, allocations: 1.397 MB / 0.5294 GB, free: 85.84 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.6494, allocations: 0 / 0.5294 GB, free: 85.84 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.003523/0.6529, allocations: 1.606 MB / 0.531 GB, free: 84.61 MB / 410.8 MB 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.0003563/0.6532, allocations: 275.6 kB / 0.5312 GB, free: 84.45 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.003706/0.6569, allocations: 3.722 MB / 0.5349 GB, free: 81.84 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6569, allocations: 384 / 0.5349 GB, free: 81.84 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.6588, allocations: 1.94 MB / 0.5368 GB, free: 80.49 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.6608, allocations: 0.9008 MB / 0.5376 GB, free: 80.01 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.6741, allocations: 13.7 MB / 0.551 GB, free: 67.48 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/0.6757, allocations: 2.597 MB / 0.5535 GB, free: 65.53 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001604/0.6773, allocations: 0.673 MB / 0.5542 GB, free: 64.91 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/0.6788, allocations: 0.9899 MB / 0.5552 GB, free: 63.92 MB / 410.8 MB Notification: Performance of SimCode: time 1.503e-06/0.6788, allocations: 0 / 0.5552 GB, free: 63.92 MB / 410.8 MB Notification: Performance of Templates: time 0.07289/0.7517, allocations: 67.13 MB / 0.6207 GB, free: 13.65 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.940282483119518]