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.001059/0.001059, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001483/0.001483, allocations: 170.1 kB / 25.33 MB, free: 8.598 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.8737/0.8737, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.773e-06/1.773e-06, allocations: 0 / 251.1 MB, free: 7.473 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.493e-05, allocations: 6.25 kB / 251.1 MB, free: 7.465 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02737/0.02739, allocations: 26.54 MB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.04159, allocations: 7.931 MB / 285.6 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003961/0.04555, allocations: 202.9 kB / 285.8 MB, free: 4.648 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01149/0.05705, allocations: 10.03 MB / 295.8 MB, free: 10.58 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00784/0.06489, allocations: 3.5 MB / 299.3 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.068, allocations: 1.859 MB / 301.1 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0113/0.0793, allocations: 12.81 MB / 314 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01951/0.09881, allocations: 15.94 MB / 329.9 MB, free: 8.207 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01133/0.1101, allocations: 9.895 MB / 339.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007897/0.118, allocations: 7.08 MB / 346.9 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002552/0.1206, allocations: 1.844 MB / 348.7 MB, free: 5.355 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003079/0.1237, allocations: 2.214 MB / 350.9 MB, free: 3.141 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1564/0.28, allocations: 3.803 MB / 354.7 MB, free: 45.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0111/0.2911, allocations: 4.744 MB / 359.5 MB, free: 45.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01332/0.3044, allocations: 11.89 MB / 371.4 MB, free: 44.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3045, allocations: 0 / 371.4 MB, free: 44.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3045, allocations: 0 / 371.4 MB, free: 44.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004751/0.3049, allocations: 2.469 kB / 371.4 MB, free: 44.56 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.02428/0.3292, allocations: 15.72 MB / 387.1 MB, free: 38.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.3293, allocations: 14.86 kB / 387.1 MB, free: 38.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02644/0.3557, allocations: 11.59 MB / 398.7 MB, free: 35.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/0.3667, allocations: 6.499 MB / 405.2 MB, free: 29.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003589/0.3671, allocations: 0.8164 MB / 406 MB, free: 29.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/0.3691, allocations: 1.082 MB / 407.1 MB, free: 28.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/0.385, allocations: 9.906 MB / 417 MB, free: 18.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000156/0.3852, allocations: 15.28 kB / 417 MB, free: 18.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007637/0.3859, allocations: 456 kB / 417.5 MB, free: 17.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003723/0.3863, allocations: 0.704 MB / 418.2 MB, free: 16.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.397, allocations: 5.853 MB / 424 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04904/0.446, allocations: 46.68 MB / 470.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01402/0.46, allocations: 13.27 MB / 484 MB, free: 1.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002699/0.4627, allocations: 1.795 MB / 485.8 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/0.4735, allocations: 7.473 MB / 493.2 MB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.2e-05/0.4735, allocations: 76.41 kB / 493.3 MB, free: 8.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=385): time 5.421e-06/0.4735, allocations: 2.953 kB / 493.3 MB, free: 8.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=391): time 0.1711/0.6446, allocations: 11.66 MB / 0.4931 GB, free: 99.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.6447, allocations: 97.12 kB / 0.4932 GB, free: 99.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005345/0.65, allocations: 3.963 MB / 0.4971 GB, free: 99.24 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003731/0.6504, allocations: 86.86 kB / 0.4972 GB, free: 99.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002401/0.6528, allocations: 5.268 MB / 0.5023 GB, free: 96.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009139/0.6537, allocations: 1.438 MB / 0.5037 GB, free: 95.37 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001848/0.6556, allocations: 1.404 MB / 0.5051 GB, free: 95.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.6556, allocations: 484.3 kB / 0.5056 GB, free: 94.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00216/0.6578, allocations: 0.9835 MB / 0.5065 GB, free: 94.76 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003412/0.6612, allocations: 4.927 MB / 0.5113 GB, free: 89.99 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006344/0.6675, allocations: 6.513 MB / 0.5177 GB, free: 85.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.191e-05/0.6676, allocations: 28.5 kB / 0.5177 GB, free: 85.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.00819/0.6758, allocations: 6.041 MB / 0.5236 GB, free: 84.74 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.6758, allocations: 43.69 kB / 0.5237 GB, free: 84.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.572e-05/0.6759, allocations: 92.91 kB / 0.5238 GB, free: 84.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002417/0.6783, allocations: 1.309 MB / 0.525 GB, free: 84.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002565/0.6809, allocations: 1.454 MB / 0.5265 GB, free: 84.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007225/0.6881, allocations: 6.778 MB / 0.5331 GB, free: 82.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002605/0.6907, allocations: 396.1 kB / 0.5335 GB, free: 82.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003297/0.691, allocations: 329.3 kB / 0.5338 GB, free: 82.41 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.002905/0.6939, allocations: 0.5815 MB / 0.5343 GB, free: 82.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006509/0.6946, allocations: 0.5571 MB / 0.5349 GB, free: 81.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005347/0.6999, allocations: 4.04 MB / 0.5388 GB, free: 81.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003751/0.7037, allocations: 2.83 MB / 0.5416 GB, free: 79.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.7037, allocations: 15.8 kB / 0.5416 GB, free: 79.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/0.7037, allocations: 18.89 kB / 0.5416 GB, free: 79.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01491/0.7186, allocations: 11.4 MB / 0.5527 GB, free: 72.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.7186, allocations: 0 / 0.5527 GB, free: 72.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/0.7202, allocations: 0.7229 MB / 0.5535 GB, free: 71.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002067/0.7222, allocations: 1.168 MB / 0.5546 GB, free: 70.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001887/0.7224, allocations: 79.94 kB / 0.5547 GB, free: 70.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0058/0.7282, allocations: 6.187 MB / 0.5607 GB, free: 65.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7282, allocations: 0 / 0.5607 GB, free: 65.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006282/0.7345, allocations: 4.713 MB / 0.5653 GB, free: 60.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.7359, allocations: 0.8826 MB / 0.5662 GB, free: 59.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003206/0.7362, allocations: 74.62 kB / 0.5663 GB, free: 59.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.7372, allocations: 243.8 kB / 0.5665 GB, free: 59.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003744/0.7376, allocations: 287.4 kB / 0.5668 GB, free: 59.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/0.7378, allocations: 112 kB / 0.5669 GB, free: 59.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002194/0.74, allocations: 1.751 MB / 0.5686 GB, free: 57.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.74, allocations: 0 / 0.5686 GB, free: 57.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005047/0.745, allocations: 1.82 MB / 0.5704 GB, free: 55.61 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.0004562/0.7455, allocations: 259.2 kB / 0.5706 GB, free: 55.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005547/0.751, allocations: 4.512 MB / 0.575 GB, free: 51.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.751, allocations: 5.469 kB / 0.575 GB, free: 51.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002403/0.7534, allocations: 2.197 MB / 0.5772 GB, free: 48.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.7557, allocations: 1.006 MB / 0.5781 GB, free: 48.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/0.7745, allocations: 15.92 MB / 0.5937 GB, free: 31.97 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001815/0.7763, allocations: 2.967 MB / 0.5966 GB, free: 28.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003111/0.7794, allocations: 1.89 MB / 0.5984 GB, free: 27.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007121/0.7801, allocations: 360.4 kB / 0.5988 GB, free: 26.71 MB / 394.7 MB Notification: Performance of SimCode: time 1.733e-06/0.7801, allocations: 0 / 0.5988 GB, free: 26.71 MB / 394.7 MB Notification: Performance of Templates: time 0.2012/0.9813, allocations: 63.59 MB / 0.6609 GB, free: 114.2 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: 4.976242238655686]