Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008319/0.0008319, allocations: 80 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004386/0.004386, allocations: 145.2 kB / 24.68 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8757/0.8757, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.204e-05, allocations: 6.219 kB / 319.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01627/0.0163, allocations: 21.35 MB / 341.1 MB, free: 372 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.02942, allocations: 7.08 MB / 348.2 MB, free: 9.262 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005483/0.0349, allocations: 218.9 kB / 348.4 MB, free: 9.047 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01289/0.04779, allocations: 8.675 MB / 357.1 MB, free: 356 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009128/0.05692, allocations: 3.028 MB / 360.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003878/0.06079, allocations: 1.719 MB / 361.8 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01166/0.07246, allocations: 11.17 MB / 373 MB, free: 396 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02041/0.09287, allocations: 14.2 MB / 387.2 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01335/0.1062, allocations: 8.62 MB / 395.8 MB, free: 9.406 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008486/0.1147, allocations: 5.446 MB / 401.2 MB, free: 3.949 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003278/0.118, allocations: 1.668 MB / 402.9 MB, free: 2.281 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004611/0.1226, allocations: 2.042 MB / 404.9 MB, free: 244 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003012/0.1256, allocations: 3.215 MB / 408.2 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007144/0.1328, allocations: 4.074 MB / 412.2 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02094/0.1537, allocations: 22.69 MB / 434.9 MB, free: 2.188 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1537, allocations: 3.938 kB / 434.9 MB, free: 2.184 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1537, allocations: 0 / 434.9 MB, free: 2.184 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005658/0.1543, allocations: 0 / 434.9 MB, free: 2.184 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03001/0.1843, allocations: 12.76 MB / 447.7 MB, free: 5.324 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.1843, allocations: 12.92 kB / 447.7 MB, free: 5.312 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1965/0.3808, allocations: 6.248 MB / 453.9 MB, free: 108.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.3942, allocations: 6.995 MB / 460.9 MB, free: 106.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005169/0.3947, allocations: 0.7018 MB / 461.6 MB, free: 105.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003638/0.3983, allocations: 0.9251 MB / 462.6 MB, free: 105.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03214/0.4305, allocations: 15.89 MB / 478.5 MB, free: 91.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003485/0.4308, allocations: 19.84 kB / 478.5 MB, free: 91.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003276/0.4341, allocations: 391.5 kB / 478.9 MB, free: 91.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003515/0.4344, allocations: 0.5624 MB / 479.4 MB, free: 91.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0259/0.4603, allocations: 14.7 MB / 494.1 MB, free: 76.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06324/0.5236, allocations: 44 MB / 0.5255 GB, free: 31.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/0.5343, allocations: 9.158 MB / 0.5344 GB, free: 23.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003631/0.5379, allocations: 2.915 MB / 0.5373 GB, free: 20.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/0.5382, allocations: 87.06 kB / 0.5374 GB, free: 20.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.5383, allocations: 77.62 kB / 0.5375 GB, free: 20.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=398): time 6.432e-06/0.5383, allocations: 3.938 kB / 0.5375 GB, free: 20.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=404): time 0.02385/0.5621, allocations: 17.03 MB / 0.5541 GB, free: 3.414 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.5622, allocations: 94.58 kB / 0.5542 GB, free: 3.309 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004081/0.5662, allocations: 3.577 MB / 0.5577 GB, free: 15.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005677/0.5668, allocations: 97.64 kB / 0.5578 GB, free: 15.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002285/0.5691, allocations: 4.124 MB / 0.5618 GB, free: 11.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00134/0.5704, allocations: 1.424 MB / 0.5632 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001513/0.5719, allocations: 1.133 MB / 0.5643 GB, free: 8.941 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.572, allocations: 309.1 kB / 0.5646 GB, free: 8.637 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003355/0.5754, allocations: 2.791 MB / 0.5673 GB, free: 5.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004836/0.5802, allocations: 4.971 MB / 0.5722 GB, free: 15.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009386/0.5896, allocations: 8.294 MB / 0.5803 GB, free: 6.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001118/0.5897, allocations: 20 kB / 0.5803 GB, free: 6.551 MB / 442.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01464/0.6044, allocations: 9.036 MB / 0.5891 GB, free: 13.49 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.668e-05/0.6044, allocations: 32 kB / 0.5891 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.921e-05/0.6045, allocations: 72 kB / 0.5892 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002062/0.6066, allocations: 1.186 MB / 0.5904 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003145/0.6097, allocations: 1.322 MB / 0.5917 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.6199, allocations: 9.456 MB / 0.6009 GB, free: 1.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003259/0.6232, allocations: 343.5 kB / 0.6012 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/0.6243, allocations: 284 kB / 0.6015 GB, free: 0.707 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006046/0.6303, allocations: 3.705 MB / 0.6051 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007536/0.6311, allocations: 393.5 kB / 0.6055 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008118/0.6392, allocations: 6.613 MB / 0.6119 GB, free: 5.953 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006096/0.6453, allocations: 5.525 MB / 0.6173 GB, free: 412 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/0.6453, allocations: 15.94 kB / 0.6174 GB, free: 396 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-05/0.6453, allocations: 19.92 kB / 0.6174 GB, free: 376 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2034/0.8487, allocations: 13.43 MB / 0.6305 GB, free: 150.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.8487, allocations: 3.906 kB / 0.6305 GB, free: 150.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/0.8503, allocations: 0.7246 MB / 0.6312 GB, free: 150.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001873/0.8522, allocations: 1.083 MB / 0.6323 GB, free: 150.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002588/0.8524, allocations: 89.08 kB / 0.6323 GB, free: 150.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006906/0.8593, allocations: 8.41 MB / 0.6406 GB, free: 146 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.8593, allocations: 10.06 kB / 0.6406 GB, free: 146 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009229/0.8686, allocations: 9.762 MB / 0.6501 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/0.8704, allocations: 0.8944 MB / 0.651 GB, free: 138.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005195/0.8709, allocations: 76 kB / 0.651 GB, free: 138.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.872, allocations: 206.2 kB / 0.6512 GB, free: 138.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004408/0.8725, allocations: 303 kB / 0.6515 GB, free: 138 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/0.8726, allocations: 122.7 kB / 0.6516 GB, free: 137.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002235/0.8749, allocations: 2.328 MB / 0.6539 GB, free: 135.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 3e-08/0.8749, allocations: 0 / 0.6539 GB, free: 135.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004187/0.879, allocations: 1.6 MB / 0.6555 GB, free: 134.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * 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,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005685/0.8796, allocations: 286.6 kB / 0.6558 GB, free: 134.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006949/0.8866, allocations: 6.828 MB / 0.6624 GB, free: 128.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.8866, allocations: 0 / 0.6624 GB, free: 128.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003915/0.8905, allocations: 3.149 MB / 0.6655 GB, free: 125.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/0.894, allocations: 0.8709 MB / 0.6663 GB, free: 124.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01943/0.9134, allocations: 16.36 MB / 0.6823 GB, free: 108.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004044/0.9175, allocations: 5.545 MB / 0.6877 GB, free: 102.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/0.9188, allocations: 376.4 kB / 0.6881 GB, free: 102.2 MB / 474.7 MB Notification: Performance of SimCode: time 3.627e-06/0.9188, allocations: 0 / 0.6881 GB, free: 102.2 MB / 474.7 MB Notification: Performance of Templates: time 0.2931/1.212, allocations: 160.2 MB / 0.8446 GB, free: 145.5 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.327449573203921]