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.0009118/0.0009118, allocations: 88.86 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.000948/0.000948, allocations: 163.4 kB / 24.91 MB, free: 8.715 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.8583/0.8583, allocations: 177 MB / 205.2 MB, free: 5.062 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.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.132e-06/1.132e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.183e-05, allocations: 2.312 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1083/0.1083, allocations: 25.34 MB / 298.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.1202, allocations: 8.441 MB / 307.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002475/0.1226, allocations: 236.1 kB / 307.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007951/0.1306, allocations: 9.977 MB / 317.4 MB, free: 4.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00465/0.1352, allocations: 3.473 MB / 320.9 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.1374, allocations: 1.838 MB / 322.7 MB, free: 140 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008734/0.1461, allocations: 12.78 MB / 335.5 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01507/0.1612, allocations: 16.35 MB / 351.9 MB, free: 3.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008623/0.1698, allocations: 9.848 MB / 361.7 MB, free: 9.402 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00587/0.1757, allocations: 7.226 MB / 368.9 MB, free: 2.164 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001572/0.1773, allocations: 1.836 MB / 370.8 MB, free: 336 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.1795, allocations: 2.222 MB / 373 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002111/0.1816, allocations: 3.737 MB / 376.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003642/0.1852, allocations: 4.686 MB / 381.4 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008688/0.1939, allocations: 11.78 MB / 393.2 MB, free: 9.852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1939, allocations: 0 / 393.2 MB, free: 9.852 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1939, allocations: 4 kB / 393.2 MB, free: 9.848 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.936e-05/0.194, allocations: 0 / 393.2 MB, free: 9.848 MB / 346.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.01585/0.2099, allocations: 13.64 MB / 406.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.2099, allocations: 11.98 kB / 406.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02149/0.2314, allocations: 8.265 MB / 415.1 MB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005963/0.2373, allocations: 4.023 MB / 419.1 MB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003616/0.2377, allocations: 0.8145 MB / 419.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001168/0.2389, allocations: 1.062 MB / 421 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00993/0.2488, allocations: 9.105 MB / 430.1 MB, free: 4.598 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001566/0.249, allocations: 19.88 kB / 430.1 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008043/0.2498, allocations: 447.9 kB / 430.6 MB, free: 4.141 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004119/0.2502, allocations: 0.6711 MB / 431.2 MB, free: 3.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1949/0.4451, allocations: 4.79 MB / 436 MB, free: 83.76 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03347/0.4785, allocations: 34.67 MB / 470.7 MB, free: 71.42 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006918/0.4855, allocations: 7.085 MB / 477.8 MB, free: 68.05 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.4866, allocations: 1.28 MB / 479.1 MB, free: 66.93 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002167/0.4868, allocations: 159.8 kB / 479.2 MB, free: 66.8 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.4869, allocations: 90.62 kB / 479.3 MB, free: 66.7 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 6.482e-06/0.4869, allocations: 0 / 479.3 MB, free: 66.7 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.01444/0.5013, allocations: 9.434 MB / 488.7 MB, free: 58.42 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.5013, allocations: 107.5 kB / 488.8 MB, free: 58.3 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.5029, allocations: 2.655 MB / 491.5 MB, free: 56.3 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001902/0.5031, allocations: 109.7 kB / 491.6 MB, free: 56.18 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008757/0.504, allocations: 4.278 MB / 495.9 MB, free: 52.43 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005646/0.5045, allocations: 1.841 MB / 497.7 MB, free: 50.69 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/0.5055, allocations: 1.253 MB / 499 MB, free: 49.57 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 1.971e-05/0.5056, allocations: 309.9 kB / 499.3 MB, free: 49.26 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.5066, allocations: 0.9491 MB / 0.4885 GB, free: 48.31 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.508, allocations: 3.194 MB / 0.4916 GB, free: 44.22 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002823/0.5108, allocations: 4.856 MB / 0.4964 GB, free: 38.7 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.06e-05/0.5108, allocations: 24 kB / 0.4964 GB, free: 38.67 MB / 378.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.004531/0.5153, allocations: 4.646 MB / 0.5009 GB, free: 34.51 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.5154, allocations: 40 kB / 0.501 GB, free: 34.47 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.912e-05/0.5154, allocations: 80.7 kB / 0.501 GB, free: 34.39 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/0.5172, allocations: 1.193 MB / 0.5022 GB, free: 33.21 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/0.5197, allocations: 1.465 MB / 0.5036 GB, free: 31.85 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004613/0.5243, allocations: 5.046 MB / 0.5086 GB, free: 26.86 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.526, allocations: 255.7 kB / 0.5088 GB, free: 26.61 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/0.5262, allocations: 275.9 kB / 0.5091 GB, free: 26.34 MB / 378.8 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.001446/0.5277, allocations: 0.5603 MB / 0.5096 GB, free: 25.88 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000538/0.5282, allocations: 450.1 kB / 0.5101 GB, free: 25.44 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003701/0.5319, allocations: 3.421 MB / 0.5134 GB, free: 22 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002404/0.5343, allocations: 2.208 MB / 0.5156 GB, free: 19.78 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.5343, allocations: 12 kB / 0.5156 GB, free: 19.77 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/0.5344, allocations: 27.89 kB / 0.5156 GB, free: 19.74 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009388/0.5437, allocations: 9.525 MB / 0.5249 GB, free: 11.42 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.5438, allocations: 11.97 kB / 0.5249 GB, free: 11.41 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/0.5454, allocations: 0.7934 MB / 0.5257 GB, free: 10.66 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001657/0.547, allocations: 1.06 MB / 0.5267 GB, free: 9.609 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001702/0.5472, allocations: 104 kB / 0.5268 GB, free: 9.508 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004039/0.5512, allocations: 4.596 MB / 0.5313 GB, free: 4.949 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5512, allocations: 4 kB / 0.5313 GB, free: 4.945 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004222/0.5555, allocations: 4.057 MB / 0.5353 GB, free: 0.8555 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008546/0.5563, allocations: 0.6226 MB / 0.5359 GB, free: 236 kB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003463/0.5567, allocations: 100 kB / 0.536 GB, free: 136 kB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008913/0.5576, allocations: 136 kB / 0.5361 GB, free: 0 / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003949/0.5579, allocations: 364.1 kB / 0.5364 GB, free: 15.64 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/0.5581, allocations: 104 kB / 0.5365 GB, free: 15.54 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0009577/0.5591, allocations: 1.217 MB / 0.5377 GB, free: 14.49 MB / 394.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5591, allocations: 0 / 0.5377 GB, free: 14.49 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.003418/0.5625, allocations: 1.918 MB / 0.5396 GB, free: 12.57 MB / 394.8 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.0004234/0.5629, allocations: 289.3 kB / 0.5399 GB, free: 12.33 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.003973/0.5669, allocations: 3.847 MB / 0.5436 GB, free: 8.75 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 9.634e-05/0.567, allocations: 71.94 kB / 0.5437 GB, free: 8.676 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002079/0.5691, allocations: 2.034 MB / 0.5457 GB, free: 6.766 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/0.5713, allocations: 1.035 MB / 0.5467 GB, free: 5.777 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/0.5874, allocations: 15.68 MB / 0.562 GB, free: 6.031 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001837/0.5892, allocations: 2.147 MB / 0.5641 GB, free: 3.848 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.00205/0.5913, allocations: 0.8137 MB / 0.5649 GB, free: 3.027 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001915/0.5932, allocations: 1.067 MB / 0.566 GB, free: 1.953 MB / 410.8 MB Notification: Performance of SimCode: time 1.313e-06/0.5932, allocations: 0 / 0.566 GB, free: 1.953 MB / 410.8 MB Notification: Performance of Templates: time 0.1912/0.7844, allocations: 78.64 MB / 0.6428 GB, free: 87.02 MB / 426.8 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.581233197357506]