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.IMC_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.00129/0.00129, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 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.001349/0.001349, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 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 1.507/1.507, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 48.02 kB / 374.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1094, allocations: 53.34 MB / 427.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2541/0.3635, allocations: 24.9 MB / 452.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01853/0.382, allocations: 7.474 MB / 459.9 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005765/0.3878, allocations: 222.8 kB / 460.1 MB, free: 6.562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02162/0.4094, allocations: 8.889 MB / 469 MB, free: 1.129 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01279/0.4222, allocations: 2.961 MB / 472 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006126/0.4283, allocations: 1.734 MB / 473.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01655/0.4449, allocations: 10.83 MB / 484.5 MB, free: 6.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03221/0.4771, allocations: 16.58 MB / 0.4894 GB, free: 6.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01136/0.4885, allocations: 5.829 MB / 0.4951 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0117/0.5002, allocations: 6.355 MB / 0.5013 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004861/0.505, allocations: 1.668 MB / 0.5029 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007081/0.5121, allocations: 2.046 MB / 0.5049 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005083/0.5172, allocations: 3.168 MB / 0.508 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01226/0.5294, allocations: 6.094 MB / 0.5139 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03224/0.5617, allocations: 22.4 MB / 0.5358 GB, free: 7.211 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5617, allocations: 0 / 0.5358 GB, free: 7.211 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5617, allocations: 0 / 0.5358 GB, free: 7.211 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005956/0.5623, allocations: 0 / 0.5358 GB, free: 7.211 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.04586/0.6082, allocations: 12.96 MB / 0.5485 GB, free: 10.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.6082, allocations: 12.03 kB / 0.5485 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03751/0.6457, allocations: 6.183 MB / 0.5545 GB, free: 3.938 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01754/0.6633, allocations: 6.946 MB / 0.5613 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008811/0.6641, allocations: 0.7023 MB / 0.562 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004468/0.6686, allocations: 0.9217 MB / 0.5629 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0489/0.7175, allocations: 15.78 MB / 0.5783 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006683/0.7182, allocations: 7.953 kB / 0.5783 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005348/0.7235, allocations: 396 kB / 0.5787 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008719/0.7244, allocations: 0.5547 MB / 0.5792 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04085/0.7652, allocations: 14.81 MB / 0.5937 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6694/1.435, allocations: 52.16 MB / 0.6446 GB, free: 123.8 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02414/1.459, allocations: 26.1 MB / 0.6701 GB, free: 102.6 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00604/1.465, allocations: 2.935 MB / 0.673 GB, free: 101.4 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000541/1.465, allocations: 274.8 kB / 0.6732 GB, free: 101.2 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.272e-05/1.465, allocations: 80.89 kB / 0.6733 GB, free: 101.2 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 7.013e-06/1.465, allocations: 0 / 0.6733 GB, free: 101.2 MB / 0.5138 GB Notification: Performance of matching and sorting (n=404): time 0.04265/1.508, allocations: 17.41 MB / 0.6903 GB, free: 93.71 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/1.508, allocations: 95.64 kB / 0.6904 GB, free: 93.64 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006276/1.514, allocations: 3.705 MB / 0.694 GB, free: 91.71 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.00119/1.516, allocations: 92.8 kB / 0.6941 GB, free: 91.62 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003159/1.519, allocations: 4.131 MB / 0.6981 GB, free: 88.54 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001783/1.521, allocations: 1.442 MB / 0.6996 GB, free: 87.3 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001835/1.522, allocations: 1.151 MB / 0.7007 GB, free: 86.63 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 6.604e-05/1.523, allocations: 301.1 kB / 0.701 GB, free: 86.34 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003986/1.526, allocations: 2.801 MB / 0.7037 GB, free: 84.82 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00528/1.532, allocations: 4.959 MB / 0.7085 GB, free: 80.44 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/1.542, allocations: 8.33 MB / 0.7167 GB, free: 73.98 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001213/1.542, allocations: 20 kB / 0.7167 GB, free: 73.96 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01714/1.559, allocations: 9.098 MB / 0.7256 GB, free: 64.84 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.41e-05/1.559, allocations: 40 kB / 0.7256 GB, free: 64.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001188/1.56, allocations: 72 kB / 0.7257 GB, free: 64.73 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003221/1.563, allocations: 1.223 MB / 0.7269 GB, free: 63.51 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005136/1.568, allocations: 1.334 MB / 0.7282 GB, free: 62.17 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/1.581, allocations: 9.919 MB / 0.7379 GB, free: 52.12 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005222/1.586, allocations: 333.2 kB / 0.7382 GB, free: 51.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001182/1.587, allocations: 296 kB / 0.7385 GB, free: 51.51 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007259/1.595, allocations: 3.706 MB / 0.7421 GB, free: 47.79 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/1.596, allocations: 417.3 kB / 0.7425 GB, free: 47.38 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/1.606, allocations: 6.666 MB / 0.749 GB, free: 40.68 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008229/1.615, allocations: 5.579 MB / 0.7545 GB, free: 35.08 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/1.615, allocations: 12 kB / 0.7545 GB, free: 35.07 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.856e-05/1.615, allocations: 19.92 kB / 0.7545 GB, free: 35.05 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02823/1.643, allocations: 15.76 MB / 0.7699 GB, free: 19.21 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/1.643, allocations: 8 kB / 0.7699 GB, free: 19.2 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002888/1.646, allocations: 0.73 MB / 0.7706 GB, free: 18.47 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003065/1.649, allocations: 1.113 MB / 0.7717 GB, free: 17.35 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007731/1.65, allocations: 91.97 kB / 0.7718 GB, free: 17.26 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/1.661, allocations: 8.85 MB / 0.7804 GB, free: 8.281 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.661, allocations: 11.94 kB / 0.7804 GB, free: 8.27 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01696/1.678, allocations: 9.859 MB / 0.79 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003278/1.681, allocations: 0.9784 MB / 0.791 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001468/1.683, allocations: 79.94 kB / 0.7911 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003282/1.686, allocations: 199.8 kB / 0.7913 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001117/1.687, allocations: 291.3 kB / 0.7915 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005728/1.688, allocations: 120 kB / 0.7917 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006068/1.694, allocations: 2.503 MB / 0.7941 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/1.694, allocations: 3.844 kB / 0.7941 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008889/1.703, allocations: 1.609 MB / 0.7957 GB, free: 8.516 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * 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,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001713/1.704, allocations: 285.8 kB / 0.796 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0179/1.722, allocations: 6.859 MB / 0.8026 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/1.722, allocations: 3.938 kB / 0.8027 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008215/1.73, allocations: 3.186 MB / 0.8058 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006678/1.737, allocations: 0.9719 MB / 0.8067 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03558/1.773, allocations: 16.3 MB / 0.8226 GB, free: 12.82 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008794/1.781, allocations: 5.999 MB / 0.8285 GB, free: 6.777 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001948/1.783, allocations: 415.3 kB / 0.8289 GB, free: 6.371 MB / 0.5607 GB Notification: Performance of SimCode: time 2.275e-06/1.783, allocations: 0 / 0.8289 GB, free: 6.371 MB / 0.5607 GB Notification: Performance of Templates: time 0.4262/2.21, allocations: 160.7 MB / 0.9858 GB, free: 59.78 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.95907111102133]