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.0009581/0.0009581, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001454/0.002412, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.000958/0.000958, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007984/0.008942, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9893/0.9893, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0876/1.077, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.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.383e-06/1.383e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.7e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.04342/0.04344, allocations: 23.52 MB / 268.7 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1406/0.1841, allocations: 7.776 MB / 276.5 MB, free: 1.457 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003859/0.1879, allocations: 225.4 kB / 276.7 MB, free: 1.457 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01199/0.1999, allocations: 9.317 MB / 286 MB, free: 1.215 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006034/0.2059, allocations: 3.02 MB / 289.1 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.2086, allocations: 1.731 MB / 290.8 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009582/0.2181, allocations: 11.37 MB / 302.2 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01487/0.233, allocations: 14.28 MB / 316.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01107/0.2441, allocations: 8.988 MB / 325.4 MB, free: 5.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007648/0.2517, allocations: 6.287 MB / 331.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003022/0.2548, allocations: 1.668 MB / 333.4 MB, free: 14.24 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00366/0.2584, allocations: 2.069 MB / 335.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003701/0.2621, allocations: 2.624 MB / 338.1 MB, free: 9.566 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009823/0.2719, allocations: 3.463 MB / 341.5 MB, free: 6.098 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01498/0.2869, allocations: 9.817 MB / 351.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.355e-05/0.2869, allocations: 0 / 351.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2869, allocations: 0 / 351.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004413/0.2874, allocations: 0 / 351.4 MB, free: 12.66 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.02623/0.3136, allocations: 13.86 MB / 365.2 MB, free: 15.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.3137, allocations: 12.62 kB / 365.2 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02758/0.3412, allocations: 6.301 MB / 371.5 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008983/0.3502, allocations: 3.608 MB / 375.1 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006065/0.3508, allocations: 0.698 MB / 375.8 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002429/0.3533, allocations: 0.9286 MB / 376.8 MB, free: 4.207 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02056/0.3738, allocations: 7.757 MB / 384.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003019/0.3741, allocations: 18.08 kB / 384.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002167/0.3763, allocations: 390.8 kB / 384.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004496/0.3767, allocations: 0.5313 MB / 385.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0126/0.3893, allocations: 3.991 MB / 389.4 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04994/0.4393, allocations: 30.87 MB / 420.3 MB, free: 8.789 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008254/0.4475, allocations: 5.363 MB / 425.7 MB, free: 3.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002217/0.4497, allocations: 1.004 MB / 426.7 MB, free: 2.398 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003298/0.4501, allocations: 123 kB / 426.8 MB, free: 2.277 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.916e-05/0.4501, allocations: 77.69 kB / 426.9 MB, free: 2.191 MB / 394.7 MB Notification: Performance of pre-optimization done (n=398): time 8.076e-06/0.4502, allocations: 0 / 426.9 MB, free: 2.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=404): time 0.1682/0.6184, allocations: 9.095 MB / 436 MB, free: 99.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.6184, allocations: 93.3 kB / 436.1 MB, free: 99.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/0.6204, allocations: 2.358 MB / 438.4 MB, free: 99.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.6206, allocations: 92.08 kB / 438.5 MB, free: 99.26 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.6217, allocations: 3.801 MB / 442.3 MB, free: 96.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006291/0.6223, allocations: 1.431 MB / 443.7 MB, free: 95.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/0.6234, allocations: 1.054 MB / 444.8 MB, free: 95.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.634e-05/0.6234, allocations: 306.5 kB / 445.1 MB, free: 95.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009636/0.6244, allocations: 0.7824 MB / 445.9 MB, free: 95.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.6259, allocations: 2.777 MB / 448.7 MB, free: 92.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003436/0.6293, allocations: 4.358 MB / 453 MB, free: 90.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.867e-05/0.6294, allocations: 20.16 kB / 453 MB, free: 90.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.004618/0.634, allocations: 3.945 MB / 457 MB, free: 90.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.634, allocations: 35 kB / 457 MB, free: 90.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-05/0.6341, allocations: 69.31 kB / 457.1 MB, free: 90.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001799/0.6359, allocations: 1.039 MB / 458.1 MB, free: 90.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/0.6383, allocations: 1.392 MB / 459.5 MB, free: 90.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004862/0.6431, allocations: 4.501 MB / 464 MB, free: 88.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.6448, allocations: 214.7 kB / 464.2 MB, free: 88.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/0.6451, allocations: 232.5 kB / 464.5 MB, free: 88.54 MB / 394.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.001729/0.6468, allocations: 0.4941 MB / 464.9 MB, free: 88.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004968/0.6473, allocations: 361.2 kB / 465.3 MB, free: 88.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/0.6507, allocations: 2.738 MB / 468 MB, free: 88.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002016/0.6527, allocations: 1.779 MB / 469.8 MB, free: 87.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.6527, allocations: 15.06 kB / 469.8 MB, free: 87.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/0.6527, allocations: 22.83 kB / 469.9 MB, free: 87.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008868/0.6616, allocations: 8.236 MB / 478.1 MB, free: 85.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.6616, allocations: 7.375 kB / 478.1 MB, free: 85.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001467/0.6631, allocations: 0.7397 MB / 478.8 MB, free: 84.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009133/0.664, allocations: 0.5118 MB / 479.3 MB, free: 84.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/0.6656, allocations: 0.9386 MB / 480.3 MB, free: 83.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.6658, allocations: 87.91 kB / 480.4 MB, free: 83.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003947/0.6697, allocations: 4.135 MB / 484.5 MB, free: 79.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.6697, allocations: 11.28 kB / 484.5 MB, free: 79.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00371/0.6734, allocations: 3.415 MB / 487.9 MB, free: 75.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003238/0.6737, allocations: 79.98 kB / 488 MB, free: 75.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007875/0.6745, allocations: 104 kB / 488.1 MB, free: 75.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003513/0.6749, allocations: 302.4 kB / 488.4 MB, free: 75.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.675, allocations: 87.97 kB / 488.5 MB, free: 75.15 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009669/0.676, allocations: 1.075 MB / 489.6 MB, free: 74.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.676, allocations: 4.031 kB / 489.6 MB, free: 74.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003781/0.6798, allocations: 1.602 MB / 491.2 MB, free: 72.61 MB / 394.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.0004522/0.6802, allocations: 258.6 kB / 491.4 MB, free: 72.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003455/0.6837, allocations: 3.319 MB / 494.7 MB, free: 69.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001193/0.6838, allocations: 99.66 kB / 494.8 MB, free: 69.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.6858, allocations: 2.171 MB / 497 MB, free: 67.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003677/0.6895, allocations: 7.159 MB / 0.4924 GB, free: 58.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05192/0.7414, allocations: 14 MB / 0.506 GB, free: 44.83 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001673/0.7431, allocations: 1.853 MB / 0.5078 GB, free: 42.95 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002062/0.7452, allocations: 0.6739 MB / 0.5085 GB, free: 42.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/0.7466, allocations: 0.887 MB / 0.5094 GB, free: 41.38 MB / 394.7 MB Notification: Performance of SimCode: time 1.703e-06/0.7466, allocations: 0 / 0.5094 GB, free: 41.38 MB / 394.7 MB Notification: Performance of Templates: time 0.2167/0.9634, allocations: 70.07 MB / 0.5778 GB, free: 110.8 MB / 410.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.545197618193924]