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.001008/0.001008, allocations: 84.34 kB / 22.22 MB, free: 2.281 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.00123/0.00123, allocations: 164.1 kB / 25.61 MB, free: 8.859 MB / 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.9025/0.9025, allocations: 177 MB / 205.9 MB, free: 4.465 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.413e-06/1.413e-06, allocations: 0 / 274.2 MB, free: 4.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.727e-05, allocations: 2.312 kB / 274.2 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01832/0.01834, allocations: 25.32 MB / 299.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.03168, allocations: 8.03 MB / 307.5 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003296/0.03498, allocations: 234.8 kB / 307.7 MB, free: 2.547 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009865/0.04484, allocations: 9.695 MB / 317.4 MB, free: 8.809 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006706/0.05155, allocations: 3.438 MB / 320.9 MB, free: 5.352 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.05431, allocations: 1.828 MB / 322.7 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01114/0.06545, allocations: 12.78 MB / 335.5 MB, free: 6.695 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1358/0.2012, allocations: 15.88 MB / 351.4 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009159/0.2104, allocations: 9.796 MB / 361.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006149/0.2165, allocations: 7.151 MB / 368.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001721/0.2182, allocations: 1.834 MB / 370.1 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.2203, allocations: 2.228 MB / 372.4 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001504/0.2218, allocations: 3.736 MB / 376.1 MB, free: 17.51 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003682/0.2255, allocations: 4.682 MB / 380.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006719/0.2322, allocations: 11.78 MB / 392.6 MB, free: 4.902 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2322, allocations: 0 / 392.6 MB, free: 4.902 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2322, allocations: 0.6562 kB / 392.6 MB, free: 4.902 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000161/0.2323, allocations: 0 / 392.6 MB, free: 4.902 MB / 314.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.01658/0.2489, allocations: 14.55 MB / 407.1 MB, free: 6.953 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.249, allocations: 8.031 kB / 407.1 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02166/0.2706, allocations: 7.798 MB / 414.9 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007536/0.2782, allocations: 6.904 MB / 421.8 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003725/0.2785, allocations: 0.8036 MB / 422.6 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/0.2797, allocations: 1.073 MB / 423.7 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.2904, allocations: 8.905 MB / 432.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000162/0.2906, allocations: 11.94 kB / 432.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007481/0.2913, allocations: 447.8 kB / 433.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006451/0.292, allocations: 0.6706 MB / 433.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006325/0.2983, allocations: 4.399 MB / 438.1 MB, free: 8.734 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04259/0.3409, allocations: 45.41 MB / 483.6 MB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009364/0.3502, allocations: 9.335 MB / 492.9 MB, free: 5.258 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.3518, allocations: 1.481 MB / 494.4 MB, free: 3.805 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.352, allocations: 152 kB / 494.5 MB, free: 3.652 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.54e-05/0.352, allocations: 97.44 kB / 494.6 MB, free: 3.543 MB / 410.7 MB Notification: Performance of pre-optimization done (n=518): time 6.312e-06/0.3521, allocations: 0 / 494.6 MB, free: 3.543 MB / 410.7 MB Notification: Performance of matching and sorting (n=524): time 0.222/0.5741, allocations: 10.48 MB / 0.4933 GB, free: 91.36 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.5741, allocations: 108.2 kB / 0.4934 GB, free: 91.29 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002838/0.577, allocations: 3.64 MB / 0.4969 GB, free: 90.84 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001888/0.5772, allocations: 108.1 kB / 0.497 GB, free: 90.81 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.5786, allocations: 4.962 MB / 0.5019 GB, free: 88.84 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006871/0.5793, allocations: 1.922 MB / 0.5037 GB, free: 87.69 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/0.5806, allocations: 1.528 MB / 0.5052 GB, free: 87.57 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.095e-05/0.5806, allocations: 484.7 kB / 0.5057 GB, free: 87.1 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009274/0.5815, allocations: 0.8314 MB / 0.5065 GB, free: 87.09 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.5834, allocations: 4.526 MB / 0.5109 GB, free: 82.8 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003438/0.5868, allocations: 6.053 MB / 0.5168 GB, free: 78.45 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-05/0.5869, allocations: 23.81 kB / 0.5169 GB, free: 78.45 MB / 410.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.006297/0.5932, allocations: 5.729 MB / 0.5225 GB, free: 77.86 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.5932, allocations: 38.66 kB / 0.5225 GB, free: 77.86 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.72e-05/0.5932, allocations: 77.61 kB / 0.5226 GB, free: 77.86 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002134/0.5954, allocations: 1.254 MB / 0.5238 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002633/0.598, allocations: 1.484 MB / 0.5252 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006149/0.6042, allocations: 6.4 MB / 0.5315 GB, free: 75.57 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/0.6065, allocations: 258.5 kB / 0.5317 GB, free: 75.55 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/0.6068, allocations: 283.9 kB / 0.532 GB, free: 75.55 MB / 410.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.001908/0.6087, allocations: 0.6088 MB / 0.5326 GB, free: 75.34 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006617/0.6094, allocations: 0.6289 MB / 0.5332 GB, free: 75.09 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004816/0.6142, allocations: 4.163 MB / 0.5373 GB, free: 74.68 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003232/0.6174, allocations: 2.914 MB / 0.5401 GB, free: 74.4 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.6174, allocations: 10.91 kB / 0.5401 GB, free: 74.4 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.929e-05/0.6175, allocations: 28.08 kB / 0.5402 GB, free: 74.4 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/0.63, allocations: 12.54 MB / 0.5524 GB, free: 68.59 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.63, allocations: 0 / 0.5524 GB, free: 68.59 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/0.6317, allocations: 0.819 MB / 0.5532 GB, free: 67.92 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/0.6335, allocations: 1.11 MB / 0.5543 GB, free: 67.11 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/0.6337, allocations: 119.3 kB / 0.5544 GB, free: 67 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005046/0.6387, allocations: 5.858 MB / 0.5601 GB, free: 61.75 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6387, allocations: 4 kB / 0.5601 GB, free: 61.74 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005452/0.6442, allocations: 4.978 MB / 0.565 GB, free: 57.37 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.6454, allocations: 0.9084 MB / 0.5659 GB, free: 56.58 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003669/0.6457, allocations: 96.03 kB / 0.566 GB, free: 56.49 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.6467, allocations: 131.5 kB / 0.5661 GB, free: 56.37 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003939/0.6471, allocations: 378.6 kB / 0.5665 GB, free: 56.18 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/0.6473, allocations: 119.6 kB / 0.5666 GB, free: 56.07 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001233/0.6486, allocations: 1.561 MB / 0.5681 GB, free: 54.96 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6486, allocations: 4 kB / 0.5681 GB, free: 54.96 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.003914/0.6525, allocations: 1.918 MB / 0.57 GB, free: 53.05 MB / 410.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.0003993/0.6529, allocations: 304.1 kB / 0.5703 GB, free: 52.8 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.004213/0.6571, allocations: 4.447 MB / 0.5746 GB, free: 49.07 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6571, allocations: 0 / 0.5746 GB, free: 49.07 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002058/0.6591, allocations: 2.33 MB / 0.5769 GB, free: 46.86 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/0.6613, allocations: 1.049 MB / 0.5779 GB, free: 45.86 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/0.6758, allocations: 15.84 MB / 0.5934 GB, free: 29.94 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001775/0.6776, allocations: 2.981 MB / 0.5963 GB, free: 26.93 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002091/0.6797, allocations: 0.8098 MB / 0.5971 GB, free: 26.11 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001763/0.6815, allocations: 1.185 MB / 0.5982 GB, free: 24.93 MB / 410.8 MB Notification: Performance of SimCode: time 1.293e-06/0.6815, allocations: 0 / 0.5982 GB, free: 24.93 MB / 410.8 MB Notification: Performance of Templates: time 0.2041/0.8855, allocations: 79.7 MB / 0.6761 GB, free: 97.26 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.399891686625779]