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.001461/0.001461, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001491/0.001491, allocations: 160.5 kB / 24.56 MB, free: 16 kB / 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.8995/0.8995, allocations: 177 MB / 204.8 MB, free: 5.59 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.563e-06/1.563e-06, allocations: 0 / 273 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.684e-05, allocations: 2.312 kB / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1388/0.1388, allocations: 24.36 MB / 297.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.1506, allocations: 7.373 MB / 304.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003415/0.154, allocations: 222.5 kB / 304.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009715/0.1637, allocations: 9.415 MB / 314.3 MB, free: 6.949 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006621/0.1703, allocations: 3.042 MB / 317.4 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.1728, allocations: 1.742 MB / 319.1 MB, free: 3.184 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008423/0.1812, allocations: 11.31 MB / 330.4 MB, free: 9.262 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01552/0.1967, allocations: 14.22 MB / 344.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.011/0.2077, allocations: 8.686 MB / 353.3 MB, free: 2.195 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007353/0.2151, allocations: 6.2 MB / 359.5 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002934/0.218, allocations: 1.664 MB / 361.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003223/0.2212, allocations: 2.058 MB / 363.3 MB, free: 8.258 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001882/0.2231, allocations: 3.281 MB / 366.5 MB, free: 4.969 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005578/0.2287, allocations: 4.125 MB / 370.7 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01159/0.2403, allocations: 10.4 MB / 381.1 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0002635/0.2405, allocations: 3.984 kB / 381.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2405, allocations: 0 / 381.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004279/0.241, allocations: 0 / 381.1 MB, free: 6.402 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.02071/0.2617, allocations: 13.66 MB / 394.7 MB, free: 8.637 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.2617, allocations: 15.98 kB / 394.7 MB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01897/0.2807, allocations: 7.748 MB / 402.5 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/0.2908, allocations: 6.698 MB / 409.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004963/0.2913, allocations: 0.6985 MB / 409.9 MB, free: 9.395 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002477/0.2938, allocations: 0.9218 MB / 410.8 MB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01959/0.3134, allocations: 8.287 MB / 419.1 MB, free: 76 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002082/0.3136, allocations: 19.89 kB / 419.1 MB, free: 56 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001023/0.3146, allocations: 392 kB / 419.5 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003956/0.315, allocations: 0.5469 MB / 420 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/0.328, allocations: 4.603 MB / 424.6 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.271/0.599, allocations: 40.82 MB / 465.5 MB, free: 72.87 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/0.6099, allocations: 7.982 MB / 473.4 MB, free: 71.47 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002052/0.6119, allocations: 1.345 MB / 474.8 MB, free: 71.18 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/0.6122, allocations: 122.7 kB / 474.9 MB, free: 71.16 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.6122, allocations: 82.11 kB / 475 MB, free: 71.09 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 7.805e-06/0.6122, allocations: 0 / 475 MB, free: 71.09 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.01938/0.6316, allocations: 10.32 MB / 485.3 MB, free: 64.89 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.6316, allocations: 93.95 kB / 485.4 MB, free: 64.79 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/0.6346, allocations: 3.307 MB / 488.7 MB, free: 61.56 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002805/0.6349, allocations: 89.7 kB / 488.8 MB, free: 61.46 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001516/0.6364, allocations: 4.364 MB / 493.2 MB, free: 57.76 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007533/0.6372, allocations: 1.481 MB / 494.6 MB, free: 56.35 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001061/0.6382, allocations: 1.264 MB / 495.9 MB, free: 55.07 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.994e-05/0.6383, allocations: 484.7 kB / 496.4 MB, free: 54.59 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.6397, allocations: 0.8742 MB / 497.3 MB, free: 53.71 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/0.6417, allocations: 4.12 MB / 0.4896 GB, free: 48.26 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003963/0.6457, allocations: 5.503 MB / 0.495 GB, free: 41.68 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-05/0.6457, allocations: 24 kB / 0.495 GB, free: 41.66 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.006832/0.6526, allocations: 5.335 MB / 0.5002 GB, free: 36.78 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.6526, allocations: 36 kB / 0.5003 GB, free: 36.74 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.593e-05/0.6527, allocations: 68 kB / 0.5003 GB, free: 36.68 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002226/0.6549, allocations: 1.122 MB / 0.5014 GB, free: 35.56 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/0.6572, allocations: 1.32 MB / 0.5027 GB, free: 34.33 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005991/0.6631, allocations: 6.043 MB / 0.5086 GB, free: 28.22 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/0.6654, allocations: 323.6 kB / 0.5089 GB, free: 27.9 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/0.6656, allocations: 288 kB / 0.5092 GB, free: 27.62 MB / 378.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.001733/0.6674, allocations: 0.5371 MB / 0.5097 GB, free: 27.16 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005781/0.6679, allocations: 0.5219 MB / 0.5102 GB, free: 26.64 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004404/0.6724, allocations: 3.657 MB / 0.5138 GB, free: 22.98 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003283/0.6756, allocations: 2.671 MB / 0.5164 GB, free: 20.32 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.6756, allocations: 15.94 kB / 0.5164 GB, free: 20.31 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/0.6757, allocations: 19.92 kB / 0.5164 GB, free: 20.29 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.6879, allocations: 11.33 MB / 0.5275 GB, free: 8.988 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.6879, allocations: 4 kB / 0.5275 GB, free: 8.984 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/0.6893, allocations: 0.7238 MB / 0.5282 GB, free: 8.297 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001821/0.6911, allocations: 1.027 MB / 0.5292 GB, free: 7.27 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.6913, allocations: 95.91 kB / 0.5293 GB, free: 7.176 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005128/0.6964, allocations: 5.573 MB / 0.5348 GB, free: 1.512 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.6964, allocations: 8.406 kB / 0.5348 GB, free: 1.508 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008185/0.7046, allocations: 4.683 MB / 0.5393 GB, free: 12.73 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002/0.7066, allocations: 0.8212 MB / 0.5401 GB, free: 11.9 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004261/0.707, allocations: 76 kB / 0.5402 GB, free: 11.83 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.7083, allocations: 195.8 kB / 0.5404 GB, free: 11.64 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005858/0.7089, allocations: 309.1 kB / 0.5407 GB, free: 11.34 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/0.7091, allocations: 124 kB / 0.5408 GB, free: 11.21 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.002348/0.7115, allocations: 1.51 MB / 0.5423 GB, free: 9.711 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7115, allocations: 0 / 0.5423 GB, free: 9.711 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004746/0.7162, allocations: 1.609 MB / 0.5439 GB, free: 8.102 MB / 394.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.0005284/0.7167, allocations: 282.9 kB / 0.5441 GB, free: 7.859 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.007466/0.7242, allocations: 4.113 MB / 0.5481 GB, free: 3.945 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7242, allocations: 0 / 0.5481 GB, free: 3.945 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003493/0.7277, allocations: 2.118 MB / 0.5502 GB, free: 1.887 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/0.7307, allocations: 0.9063 MB / 0.5511 GB, free: 1.02 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/0.7515, allocations: 13.82 MB / 0.5646 GB, free: 3.035 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002471/0.754, allocations: 2.593 MB / 0.5671 GB, free: 412 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003734/0.7577, allocations: 1.617 MB / 0.5687 GB, free: 14.78 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.7588, allocations: 356.4 kB / 0.569 GB, free: 14.43 MB / 426.8 MB Notification: Performance of SimCode: time 1.793e-06/0.7588, allocations: 0 / 0.569 GB, free: 14.43 MB / 426.8 MB Notification: Performance of Templates: time 0.1944/0.9532, allocations: 63.45 MB / 0.631 GB, free: 100.6 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.644445406738669]