Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009048/0.0009048, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 140.1 kB / 24.89 MB, free: 9.215 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9114/0.9114, allocations: 173.3 MB / 201.5 MB, free: 9.191 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 268.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.373e-05, allocations: 2.312 kB / 268.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1202/0.1203, allocations: 25.3 MB / 293.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.1341, allocations: 8.341 MB / 302.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004463/0.1386, allocations: 236.6 kB / 302.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01104/0.1496, allocations: 9.984 MB / 312.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009858/0.1595, allocations: 3.473 MB / 315.8 MB, free: 8.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003982/0.1634, allocations: 1.828 MB / 317.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01076/0.1742, allocations: 12.67 MB / 330.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02099/0.1952, allocations: 16.36 MB / 346.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01421/0.2094, allocations: 9.852 MB / 356.5 MB, free: 1.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009699/0.2191, allocations: 7.217 MB / 363.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004158/0.2233, allocations: 1.836 MB / 365.6 MB, free: 8.859 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005751/0.229, allocations: 2.198 MB / 367.8 MB, free: 6.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00458/0.2336, allocations: 3.733 MB / 371.5 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008618/0.2422, allocations: 4.683 MB / 376.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.2554, allocations: 11.76 MB / 388 MB, free: 2.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2554, allocations: 0 / 388 MB, free: 2.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2554, allocations: 0 / 388 MB, free: 2.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004806/0.2559, allocations: 0 / 388 MB, free: 2.438 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.02547/0.2814, allocations: 13.62 MB / 401.6 MB, free: 4.723 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.2814, allocations: 12.92 kB / 401.6 MB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02544/0.3069, allocations: 8.312 MB / 409.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009317/0.3162, allocations: 3.995 MB / 413.9 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005071/0.3167, allocations: 0.8067 MB / 414.7 MB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002433/0.3191, allocations: 1.07 MB / 415.8 MB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/0.3321, allocations: 9.062 MB / 424.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001911/0.3323, allocations: 15.78 kB / 424.9 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000858/0.3332, allocations: 443.9 kB / 425.3 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004625/0.3336, allocations: 0.6749 MB / 426 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009219/0.3428, allocations: 4.766 MB / 430.7 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2582/0.6011, allocations: 34.57 MB / 465.3 MB, free: 76.86 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007275/0.6084, allocations: 7.068 MB / 472.4 MB, free: 76.23 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/0.6097, allocations: 1.279 MB / 473.7 MB, free: 76.15 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/0.61, allocations: 145.5 kB / 473.8 MB, free: 76.14 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.61, allocations: 83.5 kB / 473.9 MB, free: 76.09 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 7.354e-06/0.61, allocations: 0 / 473.9 MB, free: 76.09 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.01516/0.6252, allocations: 9.382 MB / 483.3 MB, free: 70.98 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.6252, allocations: 103.5 kB / 483.4 MB, free: 70.86 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/0.6271, allocations: 2.653 MB / 486 MB, free: 69.05 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001978/0.6273, allocations: 113.3 kB / 486.1 MB, free: 69 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.6283, allocations: 4.269 MB / 490.4 MB, free: 65.95 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006304/0.629, allocations: 1.854 MB / 492.2 MB, free: 64.43 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.63, allocations: 1.236 MB / 493.5 MB, free: 63.75 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.558e-05/0.63, allocations: 312.2 kB / 493.8 MB, free: 63.45 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.631, allocations: 0.949 MB / 494.7 MB, free: 62.61 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.6324, allocations: 3.195 MB / 497.9 MB, free: 58.57 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002886/0.6352, allocations: 4.827 MB / 0.491 GB, free: 53.2 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.346e-05/0.6353, allocations: 20 kB / 0.491 GB, free: 53.18 MB / 378.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.004716/0.64, allocations: 4.635 MB / 0.4955 GB, free: 49.29 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.64, allocations: 40 kB / 0.4956 GB, free: 49.25 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.304e-05/0.6401, allocations: 76 kB / 0.4956 GB, free: 49.17 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001867/0.6419, allocations: 1.188 MB / 0.4968 GB, free: 48.03 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002433/0.6444, allocations: 1.465 MB / 0.4982 GB, free: 46.73 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/0.649, allocations: 5.049 MB / 0.5032 GB, free: 42.09 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.651, allocations: 259.8 kB / 0.5034 GB, free: 41.84 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002622/0.6512, allocations: 268 kB / 0.5037 GB, free: 41.57 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.001654/0.6529, allocations: 0.5707 MB / 0.5042 GB, free: 41.1 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005669/0.6535, allocations: 435.6 kB / 0.5046 GB, free: 40.68 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003671/0.6571, allocations: 3.463 MB / 0.508 GB, free: 37.2 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002319/0.6594, allocations: 2.19 MB / 0.5101 GB, free: 34.98 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.6595, allocations: 12 kB / 0.5102 GB, free: 34.97 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.607e-05/0.6595, allocations: 31.89 kB / 0.5102 GB, free: 34.94 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.6696, allocations: 9.497 MB / 0.5195 GB, free: 26.65 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.6696, allocations: 7.984 kB / 0.5195 GB, free: 26.64 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/0.6712, allocations: 0.7868 MB / 0.5202 GB, free: 25.9 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001691/0.6729, allocations: 1.066 MB / 0.5213 GB, free: 24.85 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001743/0.6731, allocations: 99.97 kB / 0.5214 GB, free: 24.75 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004132/0.6772, allocations: 4.606 MB / 0.5259 GB, free: 20.18 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6772, allocations: 3.938 kB / 0.5259 GB, free: 20.17 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004401/0.6816, allocations: 4.051 MB / 0.5298 GB, free: 16.09 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.6827, allocations: 0.606 MB / 0.5304 GB, free: 15.48 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003446/0.683, allocations: 103.9 kB / 0.5305 GB, free: 15.38 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009184/0.6839, allocations: 136 kB / 0.5307 GB, free: 15.25 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003672/0.6843, allocations: 352.3 kB / 0.531 GB, free: 14.9 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/0.6845, allocations: 104 kB / 0.5311 GB, free: 14.8 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001089/0.6856, allocations: 1.21 MB / 0.5323 GB, free: 13.75 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6856, allocations: 0 / 0.5323 GB, free: 13.75 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004117/0.6897, allocations: 1.919 MB / 0.5341 GB, free: 11.84 MB / 378.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.0004815/0.6902, allocations: 295.7 kB / 0.5344 GB, free: 11.6 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.00436/0.6945, allocations: 3.84 MB / 0.5382 GB, free: 8.027 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 9.671e-05/0.6946, allocations: 64.12 kB / 0.5382 GB, free: 7.961 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.6966, allocations: 2.035 MB / 0.5402 GB, free: 6.051 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/0.699, allocations: 1.015 MB / 0.5412 GB, free: 5.066 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/0.7174, allocations: 15.77 MB / 0.5566 GB, free: 5.227 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001986/0.7194, allocations: 2.147 MB / 0.5587 GB, free: 3.043 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002345/0.7218, allocations: 0.8025 MB / 0.5595 GB, free: 2.234 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001928/0.7237, allocations: 1.038 MB / 0.5605 GB, free: 1.188 MB / 394.8 MB Notification: Performance of SimCode: time 2.505e-06/0.7237, allocations: 0 / 0.5605 GB, free: 1.188 MB / 394.8 MB Notification: Performance of Templates: time 0.2028/0.9265, allocations: 77.64 MB / 0.6363 GB, free: 78.12 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.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.0.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.7488354980014265]