Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.001201/0.001201, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001698/0.002898, 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.001104/0.001104, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00147/0.002574, 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.9476/0.9476, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08802/1.036, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.123e-05, allocations: 2.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02386/0.02388, allocations: 25.57 MB / 270.8 MB, free: 3.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1396/0.1634, allocations: 8.442 MB / 279.2 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005792/0.1692, allocations: 235.2 kB / 279.5 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01382/0.183, allocations: 9.93 MB / 289.4 MB, free: 1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009451/0.1925, allocations: 3.436 MB / 292.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004038/0.1965, allocations: 1.825 MB / 294.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01418/0.2107, allocations: 12.85 MB / 307.5 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01839/0.2291, allocations: 15.93 MB / 323.4 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01116/0.2403, allocations: 10.14 MB / 333.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006908/0.2472, allocations: 7.206 MB / 340.8 MB, free: 7.691 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002111/0.2493, allocations: 1.832 MB / 342.6 MB, free: 5.859 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.2521, allocations: 2.243 MB / 344.9 MB, free: 3.633 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001775/0.2539, allocations: 2.975 MB / 347.8 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003583/0.2574, allocations: 3.92 MB / 351.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008583/0.266, allocations: 11.12 MB / 362.9 MB, free: 1.977 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.266, allocations: 0 / 362.9 MB, free: 1.977 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.266, allocations: 0 / 362.9 MB, free: 1.977 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001442/0.2662, allocations: 4 kB / 362.9 MB, free: 1.973 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.0188/0.285, allocations: 15.91 MB / 378.8 MB, free: 2.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.285, allocations: 12.62 kB / 378.8 MB, free: 2.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02186/0.3069, allocations: 8.251 MB / 387 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007058/0.3139, allocations: 4.024 MB / 391.1 MB, free: 6.621 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004557/0.3144, allocations: 0.8057 MB / 391.9 MB, free: 5.828 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001551/0.3159, allocations: 1.062 MB / 392.9 MB, free: 4.781 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01219/0.3281, allocations: 9.104 MB / 402 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000152/0.3283, allocations: 19.86 kB / 402.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007755/0.3291, allocations: 448 kB / 402.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000421/0.3295, allocations: 0.6359 MB / 403.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006537/0.336, allocations: 4.794 MB / 407.9 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1612/0.4973, allocations: 34.86 MB / 442.8 MB, free: 78.15 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007506/0.5048, allocations: 7.075 MB / 449.9 MB, free: 77.53 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.506, allocations: 1.28 MB / 451.1 MB, free: 77.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002435/0.5063, allocations: 160.3 kB / 451.3 MB, free: 77.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.5063, allocations: 87.94 kB / 451.4 MB, free: 77.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=518): time 6.523e-06/0.5063, allocations: 4.641 kB / 451.4 MB, free: 77.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=524): time 0.01992/0.5263, allocations: 11.21 MB / 462.6 MB, free: 76.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.5263, allocations: 109.7 kB / 462.7 MB, free: 76.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.5281, allocations: 2.656 MB / 465.4 MB, free: 75.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001926/0.5283, allocations: 111.6 kB / 465.5 MB, free: 75.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001048/0.5294, allocations: 4.273 MB / 469.7 MB, free: 73.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007085/0.5301, allocations: 1.849 MB / 471.6 MB, free: 71.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/0.5311, allocations: 1.25 MB / 472.8 MB, free: 71.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 2.734e-05/0.5312, allocations: 302.3 kB / 473.1 MB, free: 71.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.5322, allocations: 0.9561 MB / 474.1 MB, free: 71.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.5338, allocations: 3.197 MB / 477.3 MB, free: 68.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003416/0.5372, allocations: 5.133 MB / 482.4 MB, free: 65.47 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.672e-05/0.5372, allocations: 27.62 kB / 482.5 MB, free: 65.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.004716/0.5419, allocations: 4.64 MB / 487.1 MB, free: 64.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.5419, allocations: 40 kB / 487.1 MB, free: 64.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-05/0.542, allocations: 76 kB / 487.2 MB, free: 63.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/0.5438, allocations: 1.2 MB / 488.4 MB, free: 62.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/0.5465, allocations: 1.678 MB / 490.1 MB, free: 61.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004749/0.5513, allocations: 5.052 MB / 495.1 MB, free: 57.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.5533, allocations: 255.9 kB / 495.4 MB, free: 57.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002943/0.5536, allocations: 266.3 kB / 495.6 MB, free: 57.06 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001882/0.5554, allocations: 0.5619 MB / 496.2 MB, free: 56.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005633/0.556, allocations: 452.9 kB / 496.7 MB, free: 56.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003909/0.5599, allocations: 3.434 MB / 0.4884 GB, free: 53.49 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00239/0.5623, allocations: 2.208 MB / 0.4905 GB, free: 51.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.5623, allocations: 8 kB / 0.4905 GB, free: 51.28 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/0.5623, allocations: 27.91 kB / 0.4906 GB, free: 51.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/0.5729, allocations: 9.529 MB / 0.4999 GB, free: 44.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.5729, allocations: 4 kB / 0.4999 GB, free: 44.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/0.5748, allocations: 0.9448 MB / 0.5008 GB, free: 43.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000931/0.5757, allocations: 0.6123 MB / 0.5014 GB, free: 42.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001675/0.5774, allocations: 1.065 MB / 0.5024 GB, free: 41.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001728/0.5776, allocations: 105.1 kB / 0.5025 GB, free: 41.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004151/0.5817, allocations: 4.613 MB / 0.507 GB, free: 38.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.5817, allocations: 7.375 kB / 0.507 GB, free: 38.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004187/0.5859, allocations: 4.078 MB / 0.511 GB, free: 34.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000338/0.5862, allocations: 95 kB / 0.5111 GB, free: 34.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008966/0.5871, allocations: 134.5 kB / 0.5112 GB, free: 34.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003817/0.5875, allocations: 364.7 kB / 0.5116 GB, free: 33.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/0.5877, allocations: 108.9 kB / 0.5117 GB, free: 33.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008167/0.5885, allocations: 1.214 MB / 0.5129 GB, free: 32.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5885, allocations: 0 / 0.5129 GB, free: 32.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003307/0.5918, allocations: 1.918 MB / 0.5147 GB, free: 31.21 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (499): * Single equations (assignments): 497 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004263/0.5922, allocations: 286 kB / 0.515 GB, free: 31.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003772/0.596, allocations: 3.96 MB / 0.5189 GB, free: 27.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001362/0.5962, allocations: 117.9 kB / 0.519 GB, free: 27.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002325/0.5985, allocations: 2.616 MB / 0.5216 GB, free: 25.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/0.6017, allocations: 8.323 MB / 0.5297 GB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0587/0.6604, allocations: 16.27 MB / 0.5456 GB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002127/0.6625, allocations: 2.18 MB / 0.5477 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002343/0.6648, allocations: 0.8098 MB / 0.5485 GB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001897/0.6667, allocations: 1.057 MB / 0.5495 GB, free: 11.41 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/0.6667, allocations: 0 / 0.5495 GB, free: 11.41 MB / 410.7 MB Notification: Performance of Templates: time 0.2026/0.8693, allocations: 83.04 MB / 0.6306 GB, free: 96.65 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_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.6263392344117165]