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.001192/0.001192, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001157/0.001157, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.9557/0.9557, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.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 1.673e-06/1.673e-06, allocations: 0 / 273.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.59e-05, allocations: 2.312 kB / 273.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1312/0.1312, allocations: 23.35 MB / 296.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.1436, allocations: 7.711 MB / 304.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.1463, allocations: 227.4 kB / 304.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008196/0.1545, allocations: 9.292 MB / 314.1 MB, free: 7.168 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006629/0.1611, allocations: 3.03 MB / 317.1 MB, free: 4.742 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.1636, allocations: 1.735 MB / 318.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008524/0.1722, allocations: 11.31 MB / 330.2 MB, free: 9.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01898/0.1911, allocations: 14.63 MB / 344.8 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00896/0.2001, allocations: 8.741 MB / 353.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006064/0.2062, allocations: 6.295 MB / 359.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001913/0.2081, allocations: 1.668 MB / 361.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002273/0.2103, allocations: 2.073 MB / 363.6 MB, free: 7.973 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001879/0.2122, allocations: 3.269 MB / 366.8 MB, free: 4.695 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003027/0.2153, allocations: 4.133 MB / 371 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00817/0.2234, allocations: 10.4 MB / 381.4 MB, free: 6.129 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2234, allocations: 0 / 381.4 MB, free: 6.129 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2234, allocations: 0 / 381.4 MB, free: 6.129 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001085/0.2235, allocations: 4 kB / 381.4 MB, free: 6.125 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.01444/0.238, allocations: 11.88 MB / 393.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.238, allocations: 12.03 kB / 393.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02792/0.2659, allocations: 6.318 MB / 399.6 MB, free: 3.816 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007245/0.2732, allocations: 3.607 MB / 403.2 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004838/0.2737, allocations: 0.6985 MB / 403.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001924/0.2756, allocations: 0.9217 MB / 404.8 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01343/0.289, allocations: 7.763 MB / 412.6 MB, free: 6.641 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001732/0.2892, allocations: 15.94 kB / 412.6 MB, free: 6.625 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007492/0.2899, allocations: 392 kB / 413 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003669/0.2903, allocations: 0.5508 MB / 413.5 MB, free: 5.688 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007755/0.2981, allocations: 3.982 MB / 417.5 MB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2625/0.5605, allocations: 30.72 MB / 448.2 MB, free: 72.37 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006142/0.5667, allocations: 5.35 MB / 453.6 MB, free: 71.95 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.568, allocations: 1.012 MB / 454.6 MB, free: 71.91 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002408/0.5682, allocations: 124.4 kB / 454.7 MB, free: 71.91 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/0.5683, allocations: 71.59 kB / 454.8 MB, free: 71.86 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 5.791e-06/0.5683, allocations: 0 / 454.8 MB, free: 71.86 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.01358/0.5819, allocations: 7.755 MB / 462.5 MB, free: 71.03 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.5819, allocations: 95.92 kB / 462.6 MB, free: 70.96 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.5837, allocations: 2.365 MB / 465 MB, free: 70.62 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.5838, allocations: 89.92 kB / 465.1 MB, free: 70.59 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.5849, allocations: 3.794 MB / 468.9 MB, free: 68.87 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000582/0.5854, allocations: 1.432 MB / 470.3 MB, free: 67.99 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009245/0.5864, allocations: 1.056 MB / 471.4 MB, free: 67.9 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.807e-05/0.5864, allocations: 301.1 kB / 471.7 MB, free: 67.6 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008442/0.5872, allocations: 0.7841 MB / 472.4 MB, free: 67.57 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.5884, allocations: 2.782 MB / 475.2 MB, free: 64.96 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/0.5909, allocations: 4.099 MB / 479.3 MB, free: 62.17 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.631e-05/0.5909, allocations: 20 kB / 479.3 MB, free: 62.15 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.004367/0.5953, allocations: 3.947 MB / 483.3 MB, free: 59.42 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.5953, allocations: 39.98 kB / 483.3 MB, free: 59.38 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-05/0.5954, allocations: 72 kB / 483.4 MB, free: 59.31 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/0.5971, allocations: 1.035 MB / 484.4 MB, free: 58.32 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/0.5993, allocations: 1.289 MB / 485.7 MB, free: 57.17 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004406/0.6037, allocations: 4.535 MB / 490.3 MB, free: 53.57 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.6058, allocations: 223.8 kB / 490.5 MB, free: 53.45 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002635/0.606, allocations: 232.4 kB / 490.7 MB, free: 53.27 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.001498/0.6075, allocations: 0.4954 MB / 491.2 MB, free: 53.01 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004902/0.608, allocations: 360.7 kB / 491.6 MB, free: 52.71 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003073/0.6111, allocations: 2.736 MB / 494.3 MB, free: 50.41 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001943/0.613, allocations: 1.774 MB / 496.1 MB, free: 48.68 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.613, allocations: 11.94 kB / 496.1 MB, free: 48.66 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/0.6131, allocations: 23.92 kB / 496.1 MB, free: 48.64 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009389/0.6224, allocations: 8.231 MB / 0.4925 GB, free: 42.58 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.6225, allocations: 8.75 kB / 0.4925 GB, free: 42.57 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/0.6238, allocations: 0.6736 MB / 0.4932 GB, free: 41.96 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/0.6254, allocations: 0.9331 MB / 0.4941 GB, free: 41.05 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/0.6255, allocations: 90.47 kB / 0.4942 GB, free: 41.02 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003794/0.6293, allocations: 4.176 MB / 0.4983 GB, free: 37.75 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6293, allocations: 7.281 kB / 0.4983 GB, free: 37.74 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003897/0.6332, allocations: 3.399 MB / 0.5016 GB, free: 34.55 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009674/0.6342, allocations: 0.5093 MB / 0.5021 GB, free: 34.11 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/0.6345, allocations: 81.73 kB / 0.5022 GB, free: 34.08 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007406/0.6352, allocations: 106.8 kB / 0.5023 GB, free: 34.03 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003557/0.6356, allocations: 294.2 kB / 0.5025 GB, free: 33.78 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/0.6357, allocations: 90.66 kB / 0.5026 GB, free: 33.72 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0009353/0.6366, allocations: 1.081 MB / 0.5037 GB, free: 32.83 MB / 378.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6366, allocations: 0 / 0.5037 GB, free: 32.83 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003285/0.6399, allocations: 1.598 MB / 0.5052 GB, free: 31.39 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.0003536/0.6403, allocations: 261.8 kB / 0.5055 GB, free: 31.24 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003375/0.6437, allocations: 3.231 MB / 0.5086 GB, free: 28.51 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 8.603e-05/0.6437, allocations: 61.23 kB / 0.5087 GB, free: 28.45 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001865/0.6456, allocations: 1.702 MB / 0.5104 GB, free: 27.02 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/0.6482, allocations: 0.901 MB / 0.5112 GB, free: 26.41 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/0.6661, allocations: 13.49 MB / 0.5244 GB, free: 13.78 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001896/0.668, allocations: 1.844 MB / 0.5262 GB, free: 11.9 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002361/0.6704, allocations: 0.6744 MB / 0.5269 GB, free: 11.22 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/0.6722, allocations: 0.8924 MB / 0.5278 GB, free: 10.33 MB / 378.8 MB Notification: Performance of SimCode: time 2.084e-06/0.6722, allocations: 0 / 0.5278 GB, free: 10.33 MB / 378.8 MB Notification: Performance of Templates: time 0.2151/0.8874, allocations: 66.33 MB / 0.5925 GB, free: 128.3 MB / 426.8 MB " [Timeout remaining time 659] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.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.1.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.559280823916197]