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.000886/0.000886, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.0009838/0.0009838, allocations: 161.9 kB / 24.91 MB, free: 9.152 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.863/0.863, allocations: 177 MB / 205.2 MB, free: 5.445 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.232e-06/1.232e-06, allocations: 0 / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.352e-05, allocations: 6.25 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1101/0.1101, allocations: 23.3 MB / 296.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.1216, allocations: 7.711 MB / 304.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/0.124, allocations: 221.7 kB / 304.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008055/0.1321, allocations: 9.357 MB / 314 MB, free: 7.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005059/0.1371, allocations: 3.061 MB / 317.1 MB, free: 4.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.1393, allocations: 1.745 MB / 318.8 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007744/0.147, allocations: 11.3 MB / 330.1 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01468/0.1617, allocations: 14.65 MB / 344.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01138/0.1731, allocations: 8.729 MB / 353.5 MB, free: 1.902 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006082/0.1791, allocations: 6.289 MB / 359.8 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.1803, allocations: 1.664 MB / 361.4 MB, free: 9.938 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.1824, allocations: 2.058 MB / 363.5 MB, free: 7.879 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001682/0.1841, allocations: 3.265 MB / 366.8 MB, free: 4.605 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002889/0.187, allocations: 4.129 MB / 370.9 MB, free: 480 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007488/0.1945, allocations: 10.41 MB / 381.3 MB, free: 6.031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1945, allocations: 4 kB / 381.3 MB, free: 6.027 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1945, allocations: 0 / 381.3 MB, free: 6.027 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001027/0.1946, allocations: 0 / 381.3 MB, free: 6.027 MB / 330.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.01386/0.2085, allocations: 11.89 MB / 393.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.2085, allocations: 15.98 kB / 393.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01587/0.2244, allocations: 6.31 MB / 399.5 MB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005413/0.2298, allocations: 3.607 MB / 403.1 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/0.2301, allocations: 0.6985 MB / 403.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009933/0.2311, allocations: 0.9295 MB / 404.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008393/0.2395, allocations: 7.763 MB / 412.5 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001286/0.2396, allocations: 7.953 kB / 412.5 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006514/0.2403, allocations: 392 kB / 412.9 MB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003365/0.2406, allocations: 0.5508 MB / 413.5 MB, free: 5.586 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005565/0.2462, allocations: 3.99 MB / 417.4 MB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1422/0.3884, allocations: 30.71 MB / 448.2 MB, free: 74.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006086/0.3945, allocations: 5.345 MB / 453.5 MB, free: 74.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.3956, allocations: 1.012 MB / 454.5 MB, free: 74.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/0.3958, allocations: 128.3 kB / 454.6 MB, free: 74.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.3958, allocations: 73.3 kB / 454.7 MB, free: 74.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=398): time 5.56e-06/0.3958, allocations: 0 / 454.7 MB, free: 74.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=404): time 0.01268/0.4085, allocations: 7.752 MB / 462.5 MB, free: 73.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.4086, allocations: 92.36 kB / 462.6 MB, free: 73.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.4101, allocations: 2.364 MB / 464.9 MB, free: 72.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001604/0.4102, allocations: 90.67 kB / 465 MB, free: 72.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008967/0.4111, allocations: 3.787 MB / 468.8 MB, free: 70.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005199/0.4116, allocations: 1.436 MB / 470.2 MB, free: 69.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009511/0.4126, allocations: 1.061 MB / 471.3 MB, free: 69.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.405e-05/0.4126, allocations: 304.4 kB / 471.6 MB, free: 69.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000908/0.4135, allocations: 0.7815 MB / 472.4 MB, free: 69.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.4147, allocations: 2.78 MB / 475.2 MB, free: 66.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002627/0.4174, allocations: 4.098 MB / 479.3 MB, free: 63.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.5e-05/0.4174, allocations: 20 kB / 479.3 MB, free: 63.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.00418/0.4216, allocations: 3.948 MB / 483.2 MB, free: 60.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.4216, allocations: 40.94 kB / 483.3 MB, free: 60.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.635e-05/0.4217, allocations: 72 kB / 483.3 MB, free: 60.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001685/0.4233, allocations: 1.034 MB / 484.4 MB, free: 59.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/0.4253, allocations: 1.217 MB / 485.6 MB, free: 58.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004268/0.4296, allocations: 4.492 MB / 490.1 MB, free: 55.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.4311, allocations: 217.8 kB / 490.3 MB, free: 54.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.4313, allocations: 235.9 kB / 490.5 MB, free: 54.81 MB / 378.7 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.001303/0.4326, allocations: 0.4897 MB / 491 MB, free: 54.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004498/0.4331, allocations: 363.6 kB / 491.4 MB, free: 54.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/0.4362, allocations: 2.756 MB / 494.1 MB, free: 51.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002046/0.4383, allocations: 1.767 MB / 495.9 MB, free: 50.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.4383, allocations: 12 kB / 495.9 MB, free: 50.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/0.4383, allocations: 23.86 kB / 495.9 MB, free: 50.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00864/0.4469, allocations: 8.238 MB / 0.4923 GB, free: 44.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.4469, allocations: 4 kB / 0.4923 GB, free: 44.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.4482, allocations: 0.6249 MB / 0.493 GB, free: 43.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001554/0.4498, allocations: 0.9291 MB / 0.4939 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001665/0.4499, allocations: 90.14 kB / 0.4939 GB, free: 42.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003751/0.4537, allocations: 4.134 MB / 0.498 GB, free: 39.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4537, allocations: 4 kB / 0.498 GB, free: 39.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/0.4574, allocations: 3.405 MB / 0.5013 GB, free: 36.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008057/0.4582, allocations: 0.5 MB / 0.5018 GB, free: 35.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/0.4585, allocations: 84.72 kB / 0.5019 GB, free: 35.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000759/0.4592, allocations: 104.7 kB / 0.502 GB, free: 35.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003061/0.4595, allocations: 299.8 kB / 0.5023 GB, free: 35.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.4597, allocations: 90.34 kB / 0.5024 GB, free: 35.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008403/0.4605, allocations: 1.077 MB / 0.5034 GB, free: 34.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4605, allocations: 0 / 0.5034 GB, free: 34.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003098/0.4636, allocations: 1.603 MB / 0.505 GB, free: 33.02 MB / 378.7 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.0003687/0.464, allocations: 258.5 kB / 0.5052 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003151/0.4671, allocations: 3.23 MB / 0.5084 GB, free: 30.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.607e-05/0.4672, allocations: 63.94 kB / 0.5084 GB, free: 30.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.4688, allocations: 1.696 MB / 0.5101 GB, free: 28.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.4706, allocations: 0.8938 MB / 0.511 GB, free: 28.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.4829, allocations: 13.5 MB / 0.5241 GB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/0.4842, allocations: 1.84 MB / 0.5259 GB, free: 13.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001441/0.4857, allocations: 0.6739 MB / 0.5266 GB, free: 13.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/0.4871, allocations: 0.8896 MB / 0.5275 GB, free: 12.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4871, allocations: 0 / 0.5275 GB, free: 12.16 MB / 378.7 MB Notification: Performance of Templates: time 0.1767/0.6638, allocations: 66.32 MB / 0.5922 GB, free: 132.8 MB / 426.7 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.182543170172721]