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.IMC_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.001301/0.001301, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001665/0.001665, allocations: 140.3 kB / 24.89 MB, free: 9.207 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.9454/0.9454, allocations: 173.3 MB / 201.5 MB, free: 9.176 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 268.5 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.03e-05, allocations: 2.312 kB / 268.5 MB, free: 6.137 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1284/0.1284, allocations: 23.26 MB / 291.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.1408, allocations: 7.622 MB / 299.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002225/0.143, allocations: 223.5 kB / 299.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008886/0.1519, allocations: 9.369 MB / 309 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004789/0.1567, allocations: 3.054 MB / 312 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.1589, allocations: 1.737 MB / 313.8 MB, free: 8.855 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006525/0.1654, allocations: 11.19 MB / 324.9 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01463/0.1801, allocations: 14.65 MB / 339.6 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008485/0.1885, allocations: 8.729 MB / 348.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006253/0.1948, allocations: 6.293 MB / 354.6 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002104/0.1969, allocations: 1.668 MB / 356.3 MB, free: 2.086 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.1993, allocations: 2.027 MB / 358.3 MB, free: 56 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001735/0.201, allocations: 3.266 MB / 361.6 MB, free: 12.78 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003871/0.2049, allocations: 4.133 MB / 365.7 MB, free: 8.637 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008664/0.2135, allocations: 10.38 MB / 376.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2135, allocations: 4 kB / 376.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2135, allocations: 0 / 376.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000207/0.2137, allocations: 4 kB / 376.1 MB, free: 14.22 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.01535/0.2291, allocations: 11.86 MB / 388 MB, free: 2.273 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2291, allocations: 12.91 kB / 388 MB, free: 2.262 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01587/0.245, allocations: 6.341 MB / 394.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006526/0.2515, allocations: 3.588 MB / 397.9 MB, free: 8.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003741/0.2519, allocations: 0.6985 MB / 398.6 MB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001132/0.253, allocations: 0.9296 MB / 399.5 MB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009763/0.2628, allocations: 7.724 MB / 407.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001404/0.2629, allocations: 11.94 kB / 407.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006682/0.2636, allocations: 396 kB / 407.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003423/0.2639, allocations: 0.5508 MB / 408.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006052/0.27, allocations: 3.97 MB / 412.2 MB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2753/0.5453, allocations: 30.63 MB / 442.8 MB, free: 79.11 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006289/0.5516, allocations: 5.349 MB / 448.2 MB, free: 78.7 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.5526, allocations: 1.012 MB / 449.2 MB, free: 78.65 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/0.5528, allocations: 106 kB / 449.3 MB, free: 78.64 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.5529, allocations: 78.22 kB / 449.3 MB, free: 78.6 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 6.172e-06/0.5529, allocations: 0 / 449.3 MB, free: 78.6 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.01376/0.5666, allocations: 7.719 MB / 457.1 MB, free: 77.98 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.5667, allocations: 96.05 kB / 457.2 MB, free: 77.91 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/0.5684, allocations: 2.359 MB / 459.5 MB, free: 77.57 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.5686, allocations: 87.67 kB / 459.6 MB, free: 77.54 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001077/0.5697, allocations: 3.79 MB / 463.4 MB, free: 75.82 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000519/0.5702, allocations: 1.432 MB / 464.8 MB, free: 74.94 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009063/0.5711, allocations: 1.051 MB / 465.9 MB, free: 74.85 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.861e-05/0.5711, allocations: 308.8 kB / 466.2 MB, free: 74.55 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008131/0.5719, allocations: 0.7775 MB / 467 MB, free: 74.52 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.5732, allocations: 2.781 MB / 469.7 MB, free: 71.9 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002521/0.5757, allocations: 4.087 MB / 473.8 MB, free: 69.22 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.128e-05/0.5758, allocations: 25.47 kB / 473.9 MB, free: 69.21 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.004418/0.5802, allocations: 3.926 MB / 477.8 MB, free: 69.01 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.5802, allocations: 33.47 kB / 477.8 MB, free: 69.01 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.991e-05/0.5803, allocations: 71.44 kB / 477.9 MB, free: 69.01 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/0.5821, allocations: 1.037 MB / 478.9 MB, free: 68.96 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/0.5841, allocations: 1.214 MB / 480.1 MB, free: 68.96 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00448/0.5886, allocations: 4.499 MB / 484.6 MB, free: 66.08 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/0.5907, allocations: 224 kB / 484.8 MB, free: 65.95 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/0.591, allocations: 227.2 kB / 485.1 MB, free: 65.78 MB / 378.8 MB 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.002085/0.5931, allocations: 0.4902 MB / 485.6 MB, free: 65.53 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/0.5936, allocations: 365.3 kB / 485.9 MB, free: 65.23 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00326/0.5968, allocations: 2.76 MB / 488.7 MB, free: 62.94 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002034/0.5989, allocations: 1.767 MB / 490.4 MB, free: 61.21 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.5989, allocations: 12 kB / 490.5 MB, free: 61.2 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/0.5989, allocations: 19.92 kB / 490.5 MB, free: 61.18 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.6092, allocations: 8.23 MB / 498.7 MB, free: 55.13 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.6093, allocations: 4 kB / 498.7 MB, free: 55.12 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.6105, allocations: 0.6223 MB / 499.3 MB, free: 54.56 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/0.6121, allocations: 0.9363 MB / 0.4885 GB, free: 53.66 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.6122, allocations: 85.41 kB / 0.4886 GB, free: 53.63 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00386/0.6161, allocations: 4.115 MB / 0.4926 GB, free: 50.41 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6161, allocations: 7.656 kB / 0.4926 GB, free: 50.41 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003738/0.6198, allocations: 3.394 MB / 0.496 GB, free: 47.22 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008456/0.6207, allocations: 0.4949 MB / 0.4964 GB, free: 46.79 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/0.6209, allocations: 85.77 kB / 0.4965 GB, free: 46.76 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007375/0.6217, allocations: 107.2 kB / 0.4966 GB, free: 46.71 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002912/0.622, allocations: 292.6 kB / 0.4969 GB, free: 46.46 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/0.6221, allocations: 86.53 kB / 0.497 GB, free: 46.41 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.000797/0.6229, allocations: 1.073 MB / 0.498 GB, free: 45.52 MB / 378.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6229, allocations: 0 / 0.498 GB, free: 45.52 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003427/0.6263, allocations: 1.607 MB / 0.4996 GB, free: 44.08 MB / 378.8 MB 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.0003776/0.6267, allocations: 269.9 kB / 0.4999 GB, free: 43.92 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.00316/0.6299, allocations: 3.217 MB / 0.503 GB, free: 41.21 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 8.547e-05/0.63, allocations: 63.94 kB / 0.5031 GB, free: 41.14 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.6315, allocations: 1.697 MB / 0.5047 GB, free: 39.72 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.6333, allocations: 0.884 MB / 0.5056 GB, free: 39.11 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.6458, allocations: 13.54 MB / 0.5188 GB, free: 26.77 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/0.6471, allocations: 1.839 MB / 0.5206 GB, free: 24.92 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001515/0.6486, allocations: 0.6778 MB / 0.5213 GB, free: 24.23 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/0.6499, allocations: 0.8782 MB / 0.5221 GB, free: 23.39 MB / 378.8 MB Notification: Performance of SimCode: time 9.02e-07/0.6499, allocations: 3.5 kB / 0.5221 GB, free: 23.39 MB / 378.8 MB Notification: Performance of Templates: time 0.2017/0.8516, allocations: 65.59 MB / 0.5862 GB, free: 117.2 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_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.41931836726144]