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.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.0009472/0.0009472, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001121/0.001121, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9522/0.9522, allocations: 177.1 MB / 205 MB, free: 5.637 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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.363e-05, allocations: 2.312 kB / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1627/0.1627, allocations: 26.49 MB / 299.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01448/0.1772, allocations: 8.067 MB / 307.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004619/0.1818, allocations: 236.9 kB / 307.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01024/0.1921, allocations: 10.04 MB / 317.9 MB, free: 4.449 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007298/0.1994, allocations: 3.459 MB / 321.3 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.2022, allocations: 1.846 MB / 323.2 MB, free: 304 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01039/0.2126, allocations: 12.78 MB / 335.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01838/0.2309, allocations: 15.9 MB / 351.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01073/0.2417, allocations: 9.809 MB / 361.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007291/0.249, allocations: 6.975 MB / 368.6 MB, free: 3.031 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002638/0.2516, allocations: 1.836 MB / 370.5 MB, free: 1.195 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.2544, allocations: 2.226 MB / 372.7 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00201/0.2564, allocations: 3.741 MB / 376.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003754/0.2602, allocations: 4.686 MB / 381.1 MB, free: 6.523 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00957/0.2698, allocations: 11.79 MB / 392.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2698, allocations: 0 / 392.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2698, allocations: 4 kB / 392.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001291/0.2699, allocations: 0 / 392.9 MB, free: 10.7 MB / 346.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.02015/0.2901, allocations: 15.55 MB / 408.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.2901, allocations: 8.031 kB / 408.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02501/0.3151, allocations: 10.37 MB / 418.8 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/0.3263, allocations: 7.402 MB / 426.2 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00042/0.3267, allocations: 0.8067 MB / 427 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001968/0.3286, allocations: 1.066 MB / 428.1 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2991/0.6278, allocations: 9.716 MB / 437.8 MB, free: 80.04 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003225/0.6281, allocations: 12.58 kB / 437.8 MB, free: 80.04 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002006/0.6301, allocations: 449.7 kB / 438.3 MB, free: 80.04 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007344/0.6308, allocations: 0.6664 MB / 438.9 MB, free: 80.02 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0215/0.6523, allocations: 5.632 MB / 444.6 MB, free: 79.88 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06492/0.7172, allocations: 46.18 MB / 490.8 MB, free: 55.24 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/0.7289, allocations: 11.13 MB / 0.4901 GB, free: 46.14 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002549/0.7315, allocations: 1.716 MB / 0.4918 GB, free: 44.41 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003078/0.7318, allocations: 164.6 kB / 0.4919 GB, free: 44.24 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.7318, allocations: 85.45 kB / 0.492 GB, free: 44.14 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 8.135e-06/0.7318, allocations: 0 / 0.492 GB, free: 44.14 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.02443/0.7563, allocations: 12.63 MB / 0.5044 GB, free: 31.81 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.7563, allocations: 103.5 kB / 0.5045 GB, free: 31.7 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004877/0.7612, allocations: 3.713 MB / 0.5081 GB, free: 28.1 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005627/0.7618, allocations: 109.7 kB / 0.5082 GB, free: 27.98 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002064/0.7638, allocations: 4.94 MB / 0.513 GB, free: 23.42 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00132/0.7652, allocations: 1.905 MB / 0.5149 GB, free: 21.54 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001681/0.7668, allocations: 1.508 MB / 0.5163 GB, free: 20.02 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.861e-05/0.7669, allocations: 480.8 kB / 0.5168 GB, free: 19.55 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/0.7688, allocations: 1.091 MB / 0.5179 GB, free: 18.45 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003127/0.7719, allocations: 4.751 MB / 0.5225 GB, free: 12.23 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005902/0.7778, allocations: 6.479 MB / 0.5288 GB, free: 4.508 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-05/0.7779, allocations: 24 kB / 0.5289 GB, free: 4.484 MB / 378.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.009823/0.7878, allocations: 6.341 MB / 0.5351 GB, free: 14.59 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.471e-05/0.7878, allocations: 36 kB / 0.5351 GB, free: 14.55 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001077/0.7879, allocations: 80 kB / 0.5352 GB, free: 14.47 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002853/0.7908, allocations: 1.295 MB / 0.5364 GB, free: 13.18 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004101/0.7949, allocations: 1.614 MB / 0.538 GB, free: 11.68 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009163/0.8041, allocations: 6.778 MB / 0.5446 GB, free: 4.832 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003799/0.8078, allocations: 395.5 kB / 0.545 GB, free: 4.445 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009551/0.8088, allocations: 339.9 kB / 0.5453 GB, free: 4.113 MB / 394.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.002988/0.8118, allocations: 0.6109 MB / 0.5459 GB, free: 3.602 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/0.813, allocations: 0.6298 MB / 0.5465 GB, free: 2.969 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007786/0.8208, allocations: 4.629 MB / 0.5511 GB, free: 14.28 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005251/0.8261, allocations: 3.373 MB / 0.5543 GB, free: 10.86 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/0.8261, allocations: 16 kB / 0.5544 GB, free: 10.84 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/0.8261, allocations: 23.91 kB / 0.5544 GB, free: 10.82 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02482/0.8509, allocations: 13.18 MB / 0.5673 GB, free: 13.72 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.8509, allocations: 0 / 0.5673 GB, free: 13.72 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002117/0.8531, allocations: 0.9321 MB / 0.5682 GB, free: 12.84 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002612/0.8557, allocations: 1.166 MB / 0.5693 GB, free: 11.67 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003671/0.856, allocations: 112 kB / 0.5694 GB, free: 11.56 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007692/0.8637, allocations: 6.19 MB / 0.5755 GB, free: 5.27 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.8637, allocations: 0 / 0.5755 GB, free: 5.27 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1794/1.043, allocations: 5.669 MB / 0.581 GB, free: 107.4 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002675/1.046, allocations: 0.995 MB / 0.582 GB, free: 107.4 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007238/1.047, allocations: 92.25 kB / 0.5821 GB, free: 107.4 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/1.048, allocations: 263.2 kB / 0.5823 GB, free: 107.4 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008128/1.049, allocations: 379.3 kB / 0.5827 GB, free: 107.4 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003112/1.049, allocations: 155 kB / 0.5828 GB, free: 107.4 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003658/1.053, allocations: 1.687 MB / 0.5845 GB, free: 107.2 MB / 426.8 MB Notification: Performance of sort global known variables: time 2e-07/1.053, allocations: 0 / 0.5845 GB, free: 107.2 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006685/1.06, allocations: 1.92 MB / 0.5863 GB, free: 107.2 MB / 426.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.0009549/1.061, allocations: 304.3 kB / 0.5866 GB, free: 107.1 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.008896/1.069, allocations: 4.935 MB / 0.5914 GB, free: 106.6 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.069, allocations: 3.188 kB / 0.5914 GB, free: 106.6 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003702/1.073, allocations: 2.565 MB / 0.594 GB, free: 106.2 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003686/1.077, allocations: 1.051 MB / 0.595 GB, free: 106.2 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/1.101, allocations: 16.03 MB / 0.6106 GB, free: 100.4 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003228/1.104, allocations: 2.982 MB / 0.6135 GB, free: 100.1 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.004194/1.109, allocations: 1.932 MB / 0.6154 GB, free: 99.98 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/1.11, allocations: 432.5 kB / 0.6158 GB, free: 99.98 MB / 426.8 MB Notification: Performance of SimCode: time 2.485e-06/1.11, allocations: 3.281 kB / 0.6158 GB, free: 99.98 MB / 426.8 MB Notification: Performance of Templates: time 0.08349/1.193, allocations: 71.73 MB / 0.6859 GB, free: 35.14 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.431809325236827]