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.000921/0.000921, 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.001811/0.001811, allocations: 165 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.9202/0.9202, allocations: 177.2 MB / 205 MB, free: 5.297 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 2.245e-06/2.245e-06, allocations: 4 kB / 273 MB, free: 1.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/2.002e-05, allocations: 6.312 kB / 273 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1203/0.1203, allocations: 26.49 MB / 299.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.132, allocations: 8.059 MB / 307.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002424/0.1344, allocations: 237.1 kB / 307.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008645/0.1431, allocations: 10.04 MB / 317.9 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004922/0.148, allocations: 3.465 MB / 321.3 MB, free: 1.652 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.1503, allocations: 1.846 MB / 323.2 MB, free: 236 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008419/0.1587, allocations: 12.78 MB / 335.9 MB, free: 3.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01561/0.1743, allocations: 15.89 MB / 351.8 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00858/0.1829, allocations: 9.821 MB / 361.7 MB, free: 9.902 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006428/0.1893, allocations: 7.12 MB / 368.8 MB, free: 2.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002145/0.1915, allocations: 1.832 MB / 370.6 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.1941, allocations: 2.23 MB / 372.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001921/0.196, allocations: 3.733 MB / 376.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004133/0.2001, allocations: 4.686 MB / 381.3 MB, free: 6.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009663/0.2098, allocations: 11.78 MB / 393 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2098, allocations: 0 / 393 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2098, allocations: 0 / 393 MB, free: 10.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001659/0.21, allocations: 0 / 393 MB, free: 10.45 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.01901/0.229, allocations: 15.55 MB / 408.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.229, allocations: 8.031 kB / 408.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02434/0.2534, allocations: 10.37 MB / 419 MB, free: 404 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00876/0.2621, allocations: 7.394 MB / 426.4 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000414/0.2625, allocations: 0.8106 MB / 427.2 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001263/0.2638, allocations: 1.055 MB / 428.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2214/0.4852, allocations: 9.715 MB / 438 MB, free: 80.27 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002481/0.4854, allocations: 11.08 kB / 438 MB, free: 80.27 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009948/0.4864, allocations: 449 kB / 438.4 MB, free: 80.27 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006639/0.4871, allocations: 0.6697 MB / 439.1 MB, free: 80.24 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01522/0.5023, allocations: 5.626 MB / 444.7 MB, free: 80.1 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04363/0.5459, allocations: 46.19 MB / 490.9 MB, free: 55.09 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/0.5566, allocations: 11.13 MB / 0.4903 GB, free: 46 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/0.5586, allocations: 1.717 MB / 0.4919 GB, free: 44.27 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002351/0.5588, allocations: 159.9 kB / 0.4921 GB, free: 44.11 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.5589, allocations: 89.45 kB / 0.4922 GB, free: 44 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 6.913e-06/0.5589, allocations: 0 / 0.4922 GB, free: 44 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.01918/0.5781, allocations: 12.62 MB / 0.5045 GB, free: 31.68 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.5781, allocations: 107.5 kB / 0.5046 GB, free: 31.55 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/0.581, allocations: 3.718 MB / 0.5082 GB, free: 27.95 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001795/0.5811, allocations: 113.1 kB / 0.5083 GB, free: 27.84 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.5825, allocations: 4.933 MB / 0.5132 GB, free: 23.28 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006781/0.5832, allocations: 1.903 MB / 0.515 GB, free: 21.4 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/0.5844, allocations: 1.512 MB / 0.5165 GB, free: 19.88 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.835e-05/0.5844, allocations: 476.8 kB / 0.5169 GB, free: 19.41 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.5859, allocations: 1.092 MB / 0.518 GB, free: 18.32 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002371/0.5883, allocations: 4.744 MB / 0.5226 GB, free: 12.1 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00442/0.5927, allocations: 6.486 MB / 0.529 GB, free: 4.371 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-05/0.5928, allocations: 24 kB / 0.529 GB, free: 4.348 MB / 378.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.00732/0.6001, allocations: 6.337 MB / 0.5352 GB, free: 14.45 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.6001, allocations: 40 kB / 0.5352 GB, free: 14.41 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.135e-05/0.6002, allocations: 76 kB / 0.5353 GB, free: 14.34 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002443/0.6026, allocations: 1.301 MB / 0.5366 GB, free: 13.04 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002974/0.6056, allocations: 1.626 MB / 0.5382 GB, free: 11.53 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007591/0.6132, allocations: 6.766 MB / 0.5448 GB, free: 4.691 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.6152, allocations: 401.2 kB / 0.5451 GB, free: 4.301 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003451/0.6155, allocations: 340 kB / 0.5455 GB, free: 3.969 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.001684/0.6172, allocations: 0.6053 MB / 0.5461 GB, free: 3.461 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007036/0.6179, allocations: 0.6337 MB / 0.5467 GB, free: 2.824 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006438/0.6244, allocations: 4.617 MB / 0.5512 GB, free: 14.14 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005/0.6294, allocations: 3.374 MB / 0.5545 GB, free: 10.72 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.6294, allocations: 12 kB / 0.5545 GB, free: 10.71 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.964e-05/0.6294, allocations: 31.88 kB / 0.5545 GB, free: 10.68 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/0.6454, allocations: 13.17 MB / 0.5674 GB, free: 13.59 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.6454, allocations: 8.031 kB / 0.5674 GB, free: 13.58 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/0.6475, allocations: 0.9387 MB / 0.5683 GB, free: 12.69 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00238/0.6498, allocations: 1.157 MB / 0.5694 GB, free: 11.53 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002984/0.6501, allocations: 120 kB / 0.5696 GB, free: 11.41 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006922/0.6571, allocations: 6.181 MB / 0.5756 GB, free: 5.137 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6571, allocations: 7.469 kB / 0.5756 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1309/0.788, allocations: 5.67 MB / 0.5811 GB, free: 107.4 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/0.7903, allocations: 0.9951 MB / 0.5821 GB, free: 107.4 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004833/0.7908, allocations: 93.34 kB / 0.5822 GB, free: 107.4 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.7922, allocations: 260.3 kB / 0.5824 GB, free: 107.4 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007146/0.7929, allocations: 375.7 kB / 0.5828 GB, free: 107.4 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002403/0.7931, allocations: 157.5 kB / 0.5829 GB, free: 107.4 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002416/0.7955, allocations: 1.694 MB / 0.5846 GB, free: 107.2 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.7955, allocations: 0 / 0.5846 GB, free: 107.2 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.004642/0.8002, allocations: 1.916 MB / 0.5865 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.0005559/0.8007, allocations: 298.2 kB / 0.5868 GB, free: 107.1 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.006714/0.8074, allocations: 4.94 MB / 0.5916 GB, free: 106.6 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.8075, allocations: 4.469 kB / 0.5916 GB, free: 106.6 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002788/0.8102, allocations: 2.567 MB / 0.5941 GB, free: 106.3 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.8127, allocations: 1.042 MB / 0.5951 GB, free: 106.3 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/0.8329, allocations: 16.03 MB / 0.6108 GB, free: 100.5 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002281/0.8352, allocations: 2.983 MB / 0.6137 GB, free: 100.2 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003954/0.8391, allocations: 1.928 MB / 0.6156 GB, free: 100.1 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/0.8402, allocations: 441.6 kB / 0.616 GB, free: 100.1 MB / 426.8 MB Notification: Performance of SimCode: time 1.693e-06/0.8402, allocations: 0 / 0.616 GB, free: 100.1 MB / 426.8 MB Notification: Performance of Templates: time 0.08163/0.9218, allocations: 75.29 MB / 0.6895 GB, free: 31.53 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: 4.890735934022814]