Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.001062/0.001062, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001707/0.001707, allocations: 165.7 kB / 25.33 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9344/0.9344, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 251.1 MB, free: 7.473 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.934e-05, allocations: 2.312 kB / 251.1 MB, free: 7.469 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02147/0.0215, allocations: 26.54 MB / 277.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01644/0.03794, allocations: 7.931 MB / 285.6 MB, free: 4.852 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005803/0.04374, allocations: 202.9 kB / 285.8 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01337/0.05711, allocations: 10.03 MB / 295.8 MB, free: 10.58 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01079/0.0679, allocations: 3.5 MB / 299.3 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004729/0.07263, allocations: 1.855 MB / 301.1 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01471/0.08733, allocations: 12.81 MB / 314 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0254/0.1127, allocations: 15.94 MB / 329.9 MB, free: 8.215 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01626/0.129, allocations: 9.914 MB / 339.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01115/0.1401, allocations: 7.229 MB / 347 MB, free: 7.039 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004927/0.1451, allocations: 1.844 MB / 348.9 MB, free: 5.195 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007948/0.153, allocations: 2.206 MB / 351.1 MB, free: 2.988 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1623/0.3153, allocations: 3.794 MB / 354.9 MB, free: 45.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01584/0.3311, allocations: 4.753 MB / 359.6 MB, free: 45.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02232/0.3534, allocations: 11.88 MB / 371.5 MB, free: 44.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.3534, allocations: 0.875 kB / 371.5 MB, free: 44.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3534, allocations: 0 / 371.5 MB, free: 44.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0007833/0.3542, allocations: 0.8125 kB / 371.5 MB, free: 44.54 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.0397/0.3939, allocations: 15.72 MB / 387.2 MB, free: 38.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/0.394, allocations: 14.42 kB / 387.2 MB, free: 38.78 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03406/0.428, allocations: 11.59 MB / 398.8 MB, free: 35.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/0.4415, allocations: 6.493 MB / 405.3 MB, free: 29.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006188/0.4421, allocations: 0.814 MB / 406.1 MB, free: 29.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00437/0.4465, allocations: 1.085 MB / 407.2 MB, free: 28.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03657/0.483, allocations: 9.905 MB / 417.1 MB, free: 18.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004086/0.4835, allocations: 11.94 kB / 417.2 MB, free: 18.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003834/0.4873, allocations: 455.2 kB / 417.6 MB, free: 17.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004372/0.4877, allocations: 0.6989 MB / 418.3 MB, free: 16.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0223/0.51, allocations: 5.862 MB / 424.2 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07877/0.5888, allocations: 46.69 MB / 470.8 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01619/0.605, allocations: 13.27 MB / 484.1 MB, free: 1.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003463/0.6085, allocations: 1.791 MB / 485.9 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01308/0.6215, allocations: 7.478 MB / 493.4 MB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/0.6216, allocations: 72.41 kB / 493.5 MB, free: 8.551 MB / 394.7 MB Notification: Performance of pre-optimization done (n=385): time 6.382e-06/0.6216, allocations: 0 / 493.5 MB, free: 8.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=391): time 0.1824/0.804, allocations: 11.66 MB / 0.4933 GB, free: 99.78 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.804, allocations: 97.41 kB / 0.4934 GB, free: 99.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005028/0.8091, allocations: 3.958 MB / 0.4972 GB, free: 99.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007084/0.8098, allocations: 89.83 kB / 0.4973 GB, free: 99.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002749/0.8125, allocations: 5.264 MB / 0.5025 GB, free: 96.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001544/0.8141, allocations: 1.443 MB / 0.5039 GB, free: 95.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002022/0.8161, allocations: 1.41 MB / 0.5053 GB, free: 95.15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.29e-05/0.8161, allocations: 476.8 kB / 0.5057 GB, free: 94.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/0.8179, allocations: 0.9833 MB / 0.5067 GB, free: 94.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002786/0.8207, allocations: 4.924 MB / 0.5115 GB, free: 89.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005594/0.8263, allocations: 6.518 MB / 0.5178 GB, free: 85.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-05/0.8264, allocations: 25.34 kB / 0.5179 GB, free: 85.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.008705/0.8351, allocations: 6.046 MB / 0.5238 GB, free: 84.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/0.8351, allocations: 47.5 kB / 0.5238 GB, free: 84.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.85e-05/0.8352, allocations: 90.03 kB / 0.5239 GB, free: 84.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002449/0.8377, allocations: 1.301 MB / 0.5252 GB, free: 84.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002813/0.8405, allocations: 1.458 MB / 0.5266 GB, free: 84.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007082/0.8475, allocations: 6.773 MB / 0.5332 GB, free: 82.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003904/0.8514, allocations: 400.1 kB / 0.5336 GB, free: 82.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005776/0.852, allocations: 328.8 kB / 0.5339 GB, free: 82.31 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003321/0.8553, allocations: 0.5759 MB / 0.5345 GB, free: 82.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009767/0.8563, allocations: 0.5576 MB / 0.535 GB, free: 81.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005548/0.8619, allocations: 4.047 MB / 0.539 GB, free: 81.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003614/0.8655, allocations: 2.83 MB / 0.5417 GB, free: 79.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.8655, allocations: 12 kB / 0.5417 GB, free: 79.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/0.8655, allocations: 18.75 kB / 0.5418 GB, free: 79.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01742/0.8829, allocations: 11.4 MB / 0.5529 GB, free: 72.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.8829, allocations: 0 / 0.5529 GB, free: 72.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/0.8845, allocations: 0.7231 MB / 0.5536 GB, free: 71.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002211/0.8867, allocations: 1.16 MB / 0.5547 GB, free: 70.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/0.8869, allocations: 87.91 kB / 0.5548 GB, free: 70.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005912/0.8929, allocations: 6.188 MB / 0.5609 GB, free: 65.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.8929, allocations: 3.984 kB / 0.5609 GB, free: 65.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007118/0.9, allocations: 4.709 MB / 0.5655 GB, free: 60.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/0.9018, allocations: 0.8833 MB / 0.5663 GB, free: 59.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000435/0.9022, allocations: 68 kB / 0.5664 GB, free: 59.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.9033, allocations: 251.7 kB / 0.5666 GB, free: 59.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004951/0.9038, allocations: 286.8 kB / 0.5669 GB, free: 59.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/0.9039, allocations: 112 kB / 0.567 GB, free: 59.13 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002072/0.906, allocations: 1.747 MB / 0.5687 GB, free: 57.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.906, allocations: 0 / 0.5687 GB, free: 57.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005524/0.9115, allocations: 1.828 MB / 0.5705 GB, free: 55.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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.0005313/0.9121, allocations: 255.6 kB / 0.5707 GB, free: 55.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006353/0.9184, allocations: 4.516 MB / 0.5751 GB, free: 51.08 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.9184, allocations: 0 / 0.5751 GB, free: 51.08 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002765/0.9212, allocations: 2.202 MB / 0.5773 GB, free: 48.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/0.9242, allocations: 0.988 MB / 0.5783 GB, free: 47.99 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0221/0.9463, allocations: 15.94 MB / 0.5938 GB, free: 31.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002362/0.9487, allocations: 2.973 MB / 0.5967 GB, free: 28.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003373/0.9521, allocations: 1.89 MB / 0.5986 GB, free: 27.04 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007505/0.9528, allocations: 356.4 kB / 0.5989 GB, free: 26.69 MB / 394.7 MB Notification: Performance of SimCode: time 2.094e-06/0.9528, allocations: 0 / 0.5989 GB, free: 26.69 MB / 394.7 MB Notification: Performance of Templates: time 0.2203/1.173, allocations: 66.81 MB / 0.6642 GB, free: 112.7 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.063767238985747]