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.001315/0.001315, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.001228/0.001228, allocations: 160.5 kB / 24.56 MB, free: 12 kB / 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.9054/0.9054, allocations: 177 MB / 204.8 MB, free: 5.559 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.633e-06/1.633e-06, allocations: 0 / 273 MB, free: 1.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.786e-05, allocations: 2.312 kB / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1305/0.1305, allocations: 26.5 MB / 299.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.1449, allocations: 8.063 MB / 307.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004524/0.1494, allocations: 237 kB / 307.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01128/0.1607, allocations: 10.04 MB / 317.8 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008847/0.1695, allocations: 3.453 MB / 321.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.1731, allocations: 1.848 MB / 323.1 MB, free: 188 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01295/0.186, allocations: 12.77 MB / 335.9 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02093/0.207, allocations: 15.89 MB / 351.8 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01085/0.2178, allocations: 9.801 MB / 361.6 MB, free: 9.875 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008484/0.2263, allocations: 7.124 MB / 368.7 MB, free: 2.738 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004206/0.2305, allocations: 1.832 MB / 370.5 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005733/0.2363, allocations: 2.229 MB / 372.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003373/0.2396, allocations: 3.737 MB / 376.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007678/0.2473, allocations: 4.683 MB / 381.2 MB, free: 6.238 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.2596, allocations: 11.78 MB / 392.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2596, allocations: 7.938 kB / 392.9 MB, free: 10.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2596, allocations: 0 / 392.9 MB, free: 10.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004975/0.2601, allocations: 0 / 392.9 MB, free: 10.42 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.02567/0.2858, allocations: 15.55 MB / 408.5 MB, free: 10.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.2858, allocations: 11.98 kB / 408.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02652/0.3124, allocations: 10.37 MB / 418.9 MB, free: 368 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.3238, allocations: 7.387 MB / 426.3 MB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005102/0.3243, allocations: 0.8106 MB / 427.1 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001925/0.3262, allocations: 1.062 MB / 428.1 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2483/0.5745, allocations: 9.712 MB / 437.8 MB, free: 80.24 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.003545/0.5781, allocations: 13.14 kB / 437.9 MB, free: 80.24 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002426/0.5805, allocations: 454.5 kB / 438.3 MB, free: 80.24 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009381/0.5815, allocations: 0.6679 MB / 439 MB, free: 80.22 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02069/0.6021, allocations: 5.635 MB / 444.6 MB, free: 80.08 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05131/0.6534, allocations: 46.19 MB / 490.8 MB, free: 55 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/0.6638, allocations: 11.12 MB / 0.4902 GB, free: 45.9 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/0.6658, allocations: 1.721 MB / 0.4918 GB, free: 44.16 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.666, allocations: 160 kB / 0.492 GB, free: 44 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.666, allocations: 89.02 kB / 0.4921 GB, free: 43.91 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 7.394e-06/0.6661, allocations: 4 kB / 0.4921 GB, free: 43.9 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.0223/0.6884, allocations: 12.62 MB / 0.5044 GB, free: 31.57 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.6884, allocations: 106.9 kB / 0.5045 GB, free: 31.46 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003866/0.6923, allocations: 3.717 MB / 0.5081 GB, free: 27.86 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006986/0.693, allocations: 115.9 kB / 0.5082 GB, free: 27.74 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001885/0.6949, allocations: 4.938 MB / 0.5131 GB, free: 23.18 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001321/0.6962, allocations: 1.904 MB / 0.5149 GB, free: 21.3 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001322/0.6975, allocations: 1.508 MB / 0.5164 GB, free: 19.78 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.522e-05/0.6975, allocations: 480.8 kB / 0.5169 GB, free: 19.3 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.6992, allocations: 1.091 MB / 0.5179 GB, free: 18.21 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/0.7016, allocations: 4.747 MB / 0.5226 GB, free: 12 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004916/0.7065, allocations: 6.487 MB / 0.5289 GB, free: 4.262 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-05/0.7066, allocations: 20 kB / 0.5289 GB, free: 4.242 MB / 378.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.008392/0.715, allocations: 6.338 MB / 0.5351 GB, free: 14.35 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.953e-05/0.715, allocations: 36 kB / 0.5351 GB, free: 14.31 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.396e-05/0.7151, allocations: 80 kB / 0.5352 GB, free: 14.23 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002643/0.7177, allocations: 1.294 MB / 0.5365 GB, free: 12.94 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003401/0.7211, allocations: 1.621 MB / 0.5381 GB, free: 11.43 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008523/0.7296, allocations: 6.771 MB / 0.5447 GB, free: 4.59 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00323/0.7329, allocations: 395.5 kB / 0.545 GB, free: 4.203 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000844/0.7337, allocations: 339.9 kB / 0.5454 GB, free: 3.871 MB / 394.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.002711/0.7364, allocations: 0.6111 MB / 0.546 GB, free: 3.355 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/0.7376, allocations: 0.6298 MB / 0.5466 GB, free: 2.723 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007284/0.7449, allocations: 4.632 MB / 0.5511 GB, free: 14.03 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005369/0.7502, allocations: 3.372 MB / 0.5544 GB, free: 10.61 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.7502, allocations: 8 kB / 0.5544 GB, free: 10.6 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.251e-05/0.7503, allocations: 31.89 kB / 0.5544 GB, free: 10.57 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02813/0.7784, allocations: 13.17 MB / 0.5673 GB, free: 13.48 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/0.7784, allocations: 4 kB / 0.5673 GB, free: 13.48 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002463/0.7809, allocations: 0.9427 MB / 0.5682 GB, free: 12.58 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002311/0.7832, allocations: 1.158 MB / 0.5693 GB, free: 11.42 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000258/0.7835, allocations: 116 kB / 0.5695 GB, free: 11.3 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007002/0.7905, allocations: 6.181 MB / 0.5755 GB, free: 5.031 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.7905, allocations: 0 / 0.5755 GB, free: 5.031 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1369/0.9274, allocations: 5.669 MB / 0.581 GB, free: 107.5 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002448/0.9298, allocations: 0.9966 MB / 0.582 GB, free: 107.5 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005703/0.9304, allocations: 93.75 kB / 0.5821 GB, free: 107.5 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.9321, allocations: 261.3 kB / 0.5823 GB, free: 107.5 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008386/0.9329, allocations: 378.6 kB / 0.5827 GB, free: 107.5 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003362/0.9333, allocations: 158.2 kB / 0.5829 GB, free: 107.5 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002795/0.9361, allocations: 1.687 MB / 0.5845 GB, free: 107.3 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.81e-07/0.9361, allocations: 0 / 0.5845 GB, free: 107.3 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005425/0.9415, allocations: 1.917 MB / 0.5864 GB, free: 107.3 MB / 426.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.0005937/0.9421, allocations: 300.5 kB / 0.5867 GB, free: 107.2 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00796/0.9501, allocations: 4.938 MB / 0.5915 GB, free: 106.7 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.9501, allocations: 0 / 0.5915 GB, free: 106.7 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003588/0.9536, allocations: 2.564 MB / 0.594 GB, free: 106.4 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/0.9568, allocations: 1.053 MB / 0.595 GB, free: 106.3 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/0.9781, allocations: 16.03 MB / 0.6107 GB, free: 100.6 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002192/0.9803, allocations: 2.98 MB / 0.6136 GB, free: 100.3 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002976/0.9832, allocations: 1.94 MB / 0.6155 GB, free: 100.1 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008062/0.984, allocations: 435.8 kB / 0.6159 GB, free: 100.1 MB / 426.8 MB Notification: Performance of SimCode: time 1.853e-06/0.984, allocations: 0 / 0.6159 GB, free: 100.1 MB / 426.8 MB Notification: Performance of Templates: time 0.07476/1.059, allocations: 75.26 MB / 0.6894 GB, free: 31.31 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: 5.124233515001833]