Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009671/0.0009671, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 169.7 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9182/0.9182, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 273.5 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.286e-05, allocations: 2.312 kB / 273.5 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.124/0.124, allocations: 23.43 MB / 296.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.1385, allocations: 8.314 MB / 305.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004475/0.143, allocations: 218 kB / 305.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0107/0.1537, allocations: 8.847 MB / 314.3 MB, free: 6.656 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008463/0.1621, allocations: 3.148 MB / 317.4 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003917/0.1661, allocations: 1.834 MB / 319.3 MB, free: 2.711 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01178/0.1778, allocations: 11.7 MB / 331 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02219/0.2, allocations: 14.95 MB / 345.9 MB, free: 9.242 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01624/0.2163, allocations: 9.076 MB / 355 MB, free: 152 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009816/0.2261, allocations: 6.484 MB / 361.5 MB, free: 9.652 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004283/0.2304, allocations: 1.711 MB / 363.2 MB, free: 7.941 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00616/0.2365, allocations: 2.167 MB / 365.4 MB, free: 5.773 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004831/0.2413, allocations: 3.523 MB / 368.9 MB, free: 2.242 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008944/0.2503, allocations: 4.269 MB / 373.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01672/0.267, allocations: 10.87 MB / 384 MB, free: 3.066 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.267, allocations: 0 / 384 MB, free: 3.066 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.267, allocations: 0 / 384 MB, free: 3.066 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005121/0.2675, allocations: 0 / 384 MB, free: 3.066 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.02195/0.2895, allocations: 12.57 MB / 396.6 MB, free: 6.406 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2895, allocations: 11.98 kB / 396.6 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01951/0.309, allocations: 6.369 MB / 403 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007887/0.3169, allocations: 3.852 MB / 406.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004879/0.3174, allocations: 0.7224 MB / 407.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002312/0.3197, allocations: 0.9452 MB / 408.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01893/0.3386, allocations: 7.967 MB / 416.5 MB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002113/0.3388, allocations: 15.84 kB / 416.5 MB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00117/0.34, allocations: 400 kB / 416.9 MB, free: 1.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004008/0.3404, allocations: 0.563 MB / 417.4 MB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009078/0.3495, allocations: 4.078 MB / 421.5 MB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3033/0.6528, allocations: 31.02 MB / 452.5 MB, free: 73.74 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005429/0.6583, allocations: 4.763 MB / 457.3 MB, free: 73.32 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.6597, allocations: 1.17 MB / 458.5 MB, free: 73.26 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.66, allocations: 145.9 kB / 458.6 MB, free: 73.26 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.6601, allocations: 79.59 kB / 458.7 MB, free: 73.21 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 7.064e-06/0.6601, allocations: 0 / 458.7 MB, free: 73.21 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.01911/0.6792, allocations: 9.736 MB / 468.4 MB, free: 72.11 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.6792, allocations: 96.33 kB / 468.5 MB, free: 72.04 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/0.6822, allocations: 3.306 MB / 471.8 MB, free: 71.61 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005511/0.6827, allocations: 97.95 kB / 471.9 MB, free: 71.57 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.6838, allocations: 3.867 MB / 475.8 MB, free: 69.28 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001053/0.6849, allocations: 1.595 MB / 477.4 MB, free: 68.06 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009796/0.6859, allocations: 1.111 MB / 478.5 MB, free: 67.45 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.803e-05/0.6859, allocations: 309 kB / 478.8 MB, free: 67.14 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009453/0.6868, allocations: 0.8478 MB / 479.6 MB, free: 66.39 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.6882, allocations: 2.819 MB / 482.4 MB, free: 62.82 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/0.6911, allocations: 4.303 MB / 486.7 MB, free: 58.09 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-05/0.6911, allocations: 23.84 kB / 486.8 MB, free: 58.07 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.005315/0.6964, allocations: 4.188 MB / 491 MB, free: 54.58 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.6965, allocations: 36 kB / 491 MB, free: 54.55 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-05/0.6965, allocations: 68 kB / 491.1 MB, free: 54.48 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002025/0.6985, allocations: 1.174 MB / 492.2 MB, free: 53.36 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002743/0.7013, allocations: 1.331 MB / 493.6 MB, free: 52.17 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00543/0.7067, allocations: 6.456 MB / 0.4883 GB, free: 46.84 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/0.7094, allocations: 224.9 kB / 0.4885 GB, free: 46.72 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005437/0.7099, allocations: 234.8 kB / 0.4887 GB, free: 46.54 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001856/0.7118, allocations: 0.5114 MB / 0.4892 GB, free: 46.29 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007046/0.7125, allocations: 403.2 kB / 0.4896 GB, free: 45.95 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004096/0.7166, allocations: 4.18 MB / 0.4937 GB, free: 42.72 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002351/0.7189, allocations: 1.992 MB / 0.4957 GB, free: 40.79 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.7189, allocations: 16.77 kB / 0.4957 GB, free: 40.78 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/0.719, allocations: 19.92 kB / 0.4957 GB, free: 40.76 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/0.7322, allocations: 8.72 MB / 0.5042 GB, free: 34.35 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.7322, allocations: 8 kB / 0.5042 GB, free: 34.34 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/0.7338, allocations: 0.7369 MB / 0.5049 GB, free: 33.67 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001892/0.7357, allocations: 1.051 MB / 0.506 GB, free: 32.63 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002616/0.736, allocations: 103.9 kB / 0.5061 GB, free: 32.53 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00496/0.7409, allocations: 6.067 MB / 0.512 GB, free: 26.45 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.7409, allocations: 11.47 kB / 0.512 GB, free: 26.44 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004727/0.7457, allocations: 3.912 MB / 0.5158 GB, free: 22.52 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/0.7469, allocations: 0.5725 MB / 0.5164 GB, free: 21.95 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004008/0.7473, allocations: 95.98 kB / 0.5165 GB, free: 21.86 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009251/0.7482, allocations: 112 kB / 0.5166 GB, free: 21.75 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004592/0.7487, allocations: 342.6 kB / 0.5169 GB, free: 21.42 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001609/0.7488, allocations: 95.97 kB / 0.517 GB, free: 21.32 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001331/0.7502, allocations: 1.596 MB / 0.5185 GB, free: 19.91 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7502, allocations: 0 / 0.5185 GB, free: 19.91 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.00391/0.7541, allocations: 1.715 MB / 0.5202 GB, free: 18.19 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001303/0.7554, allocations: 0.611 MB / 0.5208 GB, free: 17.83 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004782/0.7602, allocations: 3.644 MB / 0.5244 GB, free: 14.47 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.000116/0.7603, allocations: 63.94 kB / 0.5244 GB, free: 14.4 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002485/0.7628, allocations: 2.017 MB / 0.5264 GB, free: 12.5 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/0.7655, allocations: 0.9676 MB / 0.5274 GB, free: 11.57 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/0.7858, allocations: 14.6 MB / 0.5416 GB, free: 12.88 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003558/0.7893, allocations: 1.969 MB / 0.5435 GB, free: 10.89 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.003413/0.7927, allocations: 0.7314 MB / 0.5442 GB, free: 10.15 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002583/0.7953, allocations: 0.9364 MB / 0.5452 GB, free: 9.211 MB / 394.8 MB Notification: Performance of SimCode: time 2.465e-06/0.7953, allocations: 4.984 kB / 0.5452 GB, free: 9.207 MB / 394.8 MB Notification: Performance of Templates: time 0.2706/1.066, allocations: 71.7 MB / 0.6152 GB, free: 117.4 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.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.424571906216443]