Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9085/0.9085, allocations: 177.1 MB / 206.1 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 274.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.724e-05, allocations: 3.688 kB / 274.2 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01848/0.01849, allocations: 25.32 MB / 299.6 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01454/0.03303, allocations: 8.019 MB / 307.6 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005087/0.03812, allocations: 238.8 kB / 307.8 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01196/0.05008, allocations: 9.695 MB / 317.5 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00973/0.05981, allocations: 3.449 MB / 321 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00387/0.06368, allocations: 1.821 MB / 322.8 MB, free: 3.633 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01184/0.07552, allocations: 12.78 MB / 335.6 MB, free: 6.793 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1507/0.2262, allocations: 15.88 MB / 351.4 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01271/0.2389, allocations: 9.811 MB / 361.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009213/0.2481, allocations: 7.153 MB / 368.4 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004112/0.2522, allocations: 1.834 MB / 370.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004333/0.2565, allocations: 2.223 MB / 372.5 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002737/0.2593, allocations: 3.74 MB / 376.2 MB, free: 17.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005833/0.2651, allocations: 4.691 MB / 380.9 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.2757, allocations: 11.78 MB / 392.7 MB, free: 5.039 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2757, allocations: 4 kB / 392.7 MB, free: 5.035 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.2757, allocations: 0.5 kB / 392.7 MB, free: 5.035 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003919/0.2761, allocations: 2.25 kB / 392.7 MB, free: 5.035 MB / 314.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.0219/0.298, allocations: 14.54 MB / 407.2 MB, free: 7.098 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.298, allocations: 12.03 kB / 407.2 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02268/0.3207, allocations: 7.801 MB / 415 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009226/0.3299, allocations: 6.902 MB / 421.9 MB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005253/0.3304, allocations: 0.8045 MB / 422.7 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001982/0.3324, allocations: 1.067 MB / 423.8 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01457/0.347, allocations: 8.906 MB / 432.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002011/0.3472, allocations: 11.86 kB / 432.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009385/0.3481, allocations: 448.8 kB / 433.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000457/0.3486, allocations: 0.6672 MB / 433.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00861/0.3572, allocations: 4.4 MB / 438.2 MB, free: 8.871 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05242/0.4096, allocations: 45.42 MB / 483.7 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/0.4199, allocations: 9.339 MB / 493 MB, free: 5.395 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002155/0.4221, allocations: 1.477 MB / 494.5 MB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003022/0.4224, allocations: 167.9 kB / 494.6 MB, free: 3.773 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.359e-05/0.4225, allocations: 85.45 kB / 494.7 MB, free: 3.676 MB / 410.7 MB Notification: Performance of pre-optimization done (n=518): time 7.243e-06/0.4225, allocations: 0 / 494.7 MB, free: 3.676 MB / 410.7 MB Notification: Performance of matching and sorting (n=524): time 0.2717/0.6942, allocations: 10.49 MB / 0.4934 GB, free: 91.39 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.6942, allocations: 108 kB / 0.4935 GB, free: 91.32 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003661/0.6979, allocations: 3.637 MB / 0.497 GB, free: 90.88 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003953/0.6983, allocations: 113 kB / 0.4971 GB, free: 90.84 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002017/0.7003, allocations: 4.964 MB / 0.502 GB, free: 88.87 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001282/0.7016, allocations: 1.921 MB / 0.5038 GB, free: 87.71 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001399/0.703, allocations: 1.527 MB / 0.5053 GB, free: 87.6 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.394e-05/0.703, allocations: 486.6 kB / 0.5058 GB, free: 87.13 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.7041, allocations: 0.8349 MB / 0.5066 GB, free: 87.11 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/0.7062, allocations: 4.518 MB / 0.511 GB, free: 82.82 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004167/0.7104, allocations: 6.055 MB / 0.5169 GB, free: 78.5 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.522e-05/0.7104, allocations: 23.09 kB / 0.517 GB, free: 78.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.00787/0.7183, allocations: 5.73 MB / 0.5226 GB, free: 77.91 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.7183, allocations: 38.62 kB / 0.5226 GB, free: 77.91 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-05/0.7184, allocations: 77.31 kB / 0.5227 GB, free: 77.91 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00233/0.7208, allocations: 1.252 MB / 0.5239 GB, free: 77.85 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003265/0.724, allocations: 1.484 MB / 0.5253 GB, free: 77.85 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006798/0.7308, allocations: 6.401 MB / 0.5316 GB, free: 75.62 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004616/0.7354, allocations: 257.4 kB / 0.5318 GB, free: 75.6 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/0.737, allocations: 283.5 kB / 0.5321 GB, free: 75.6 MB / 410.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.004259/0.7412, allocations: 0.6076 MB / 0.5327 GB, free: 75.39 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001386/0.7426, allocations: 0.6303 MB / 0.5333 GB, free: 75.14 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005853/0.7485, allocations: 4.168 MB / 0.5374 GB, free: 74.72 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004153/0.7526, allocations: 2.912 MB / 0.5402 GB, free: 74.44 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/0.7526, allocations: 9.812 kB / 0.5402 GB, free: 74.44 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.315e-05/0.7527, allocations: 26.39 kB / 0.5403 GB, free: 74.44 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02143/0.7741, allocations: 12.54 MB / 0.5525 GB, free: 68.73 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.7741, allocations: 4 kB / 0.5525 GB, free: 68.72 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002477/0.7766, allocations: 0.8158 MB / 0.5533 GB, free: 68.05 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002816/0.7794, allocations: 1.107 MB / 0.5544 GB, free: 67.24 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003863/0.7798, allocations: 119.3 kB / 0.5545 GB, free: 67.13 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007/0.7868, allocations: 5.86 MB / 0.5602 GB, free: 61.88 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.7868, allocations: 4 kB / 0.5602 GB, free: 61.87 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008518/0.7953, allocations: 4.973 MB / 0.5651 GB, free: 57.5 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/0.7974, allocations: 0.9048 MB / 0.566 GB, free: 56.71 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007051/0.7982, allocations: 100 kB / 0.5661 GB, free: 56.62 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.7996, allocations: 127.7 kB / 0.5662 GB, free: 56.5 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006376/0.8003, allocations: 378.8 kB / 0.5666 GB, free: 56.31 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002508/0.8005, allocations: 123.8 kB / 0.5667 GB, free: 56.2 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001954/0.8025, allocations: 1.574 MB / 0.5682 GB, free: 55.08 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8025, allocations: 2.625 kB / 0.5682 GB, free: 55.08 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005484/0.8079, allocations: 1.91 MB / 0.5701 GB, free: 53.17 MB / 410.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.000562/0.8085, allocations: 304.7 kB / 0.5704 GB, free: 52.93 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.007503/0.816, allocations: 4.437 MB / 0.5747 GB, free: 49.28 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.816, allocations: 3.844 kB / 0.5747 GB, free: 49.28 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004057/0.8201, allocations: 2.332 MB / 0.577 GB, free: 47.06 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/0.8241, allocations: 1.045 MB / 0.578 GB, free: 46.07 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02128/0.8454, allocations: 15.84 MB / 0.5935 GB, free: 30.15 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002546/0.8479, allocations: 2.978 MB / 0.5964 GB, free: 27.14 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002372/0.8503, allocations: 0.8176 MB / 0.5972 GB, free: 26.31 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/0.852, allocations: 1.185 MB / 0.5983 GB, free: 25.13 MB / 410.8 MB Notification: Performance of SimCode: time 2.545e-06/0.852, allocations: 0 / 0.5983 GB, free: 25.13 MB / 410.8 MB Notification: Performance of Templates: time 0.2342/1.086, allocations: 79.7 MB / 0.6762 GB, free: 97.52 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 5.462884092703462]