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.IMC_withLosses.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.001613/0.001613, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001479/0.001479, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.1.0_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=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 47.92 kB / 378.3 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2915, allocations: 53.37 MB / 431.7 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02943/0.321, allocations: 25.05 MB / 456.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01815/0.3391, allocations: 8.12 MB / 464.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005888/0.345, allocations: 218.9 kB / 465.1 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02083/0.3658, allocations: 8.481 MB / 473.6 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0123/0.3781, allocations: 3.166 MB / 476.7 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00697/0.3851, allocations: 1.874 MB / 478.6 MB, free: 7.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.018/0.4031, allocations: 11.35 MB / 489.9 MB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02864/0.4317, allocations: 14.67 MB / 0.4928 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01016/0.4419, allocations: 6.071 MB / 0.4987 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01099/0.4529, allocations: 6.561 MB / 0.5051 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004152/0.457, allocations: 1.715 MB / 0.5068 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0064/0.4634, allocations: 2.16 MB / 0.5089 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005279/0.4687, allocations: 3.414 MB / 0.5122 GB, free: 9.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01098/0.4797, allocations: 6.362 MB / 0.5184 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4565/0.9362, allocations: 23.19 MB / 0.5411 GB, free: 40.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.9362, allocations: 0 / 0.5411 GB, free: 40.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.9362, allocations: 1.531 kB / 0.5411 GB, free: 40.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005228/0.9367, allocations: 0 / 0.5411 GB, free: 40.99 MB / 446.1 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.03382/0.9705, allocations: 13.57 MB / 0.5544 GB, free: 37.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.9706, allocations: 11.94 kB / 0.5544 GB, free: 37.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03272/1.003, allocations: 6.251 MB / 0.5605 GB, free: 36.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0143/1.018, allocations: 7.353 MB / 0.5676 GB, free: 34.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004788/1.018, allocations: 0.7197 MB / 0.5683 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003603/1.022, allocations: 0.9517 MB / 0.5693 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02894/1.051, allocations: 16.17 MB / 0.5851 GB, free: 21.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001962/1.051, allocations: 14.69 kB / 0.5851 GB, free: 21.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001003/1.052, allocations: 403.6 kB / 0.5855 GB, free: 20.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003516/1.052, allocations: 0.5657 MB / 0.586 GB, free: 20.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02173/1.074, allocations: 15.14 MB / 0.6008 GB, free: 5.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1012/1.175, allocations: 51.42 MB / 0.651 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01819/1.193, allocations: 8.634 MB / 0.6595 GB, free: 9.84 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007098/1.2, allocations: 3.334 MB / 0.6627 GB, free: 6.504 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005695/1.201, allocations: 138.7 kB / 0.6628 GB, free: 6.395 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.926e-05/1.201, allocations: 84.58 kB / 0.6629 GB, free: 6.305 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=447): time 6.943e-06/1.201, allocations: 0 / 0.6629 GB, free: 6.305 MB / 0.4982 GB Notification: Performance of matching and sorting (n=452): time 0.05947/1.261, allocations: 20.55 MB / 0.683 GB, free: 1.805 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/1.261, allocations: 98.95 kB / 0.6831 GB, free: 1.695 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009474/1.27, allocations: 4.507 MB / 0.6875 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008953/1.271, allocations: 101.7 kB / 0.6876 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003735/1.275, allocations: 4.34 MB / 0.6918 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002211/1.277, allocations: 1.612 MB / 0.6934 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003575/1.28, allocations: 1.208 MB / 0.6946 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.281, allocations: 305.1 kB / 0.6949 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005751/1.286, allocations: 3.076 MB / 0.6979 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007603/1.294, allocations: 5.214 MB / 0.703 GB, free: 12.37 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0139/1.308, allocations: 8.884 MB / 0.7116 GB, free: 2.801 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.186e-05/1.308, allocations: 20 kB / 0.7117 GB, free: 2.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02146/1.329, allocations: 9.864 MB / 0.7213 GB, free: 9.348 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.245e-05/1.33, allocations: 36 kB / 0.7213 GB, free: 9.312 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001449/1.33, allocations: 71.66 kB / 0.7214 GB, free: 9.246 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004265/1.334, allocations: 1.413 MB / 0.7228 GB, free: 7.832 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00581/1.34, allocations: 1.387 MB / 0.7241 GB, free: 6.539 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02041/1.36, allocations: 12.48 MB / 0.7363 GB, free: 9.902 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004814/1.365, allocations: 351.5 kB / 0.7366 GB, free: 9.559 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/1.366, allocations: 308.1 kB / 0.7369 GB, free: 9.258 MB / 0.5763 GB 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.007792/1.374, allocations: 3.883 MB / 0.7407 GB, free: 5.457 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00148/1.375, allocations: 480.9 kB / 0.7412 GB, free: 4.984 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01809/1.393, allocations: 8.474 MB / 0.7495 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01244/1.406, allocations: 6.233 MB / 0.7556 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-05/1.406, allocations: 12 kB / 0.7556 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.602e-05/1.406, allocations: 23.91 kB / 0.7556 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2574/1.663, allocations: 17.45 MB / 0.7726 GB, free: 223 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/1.663, allocations: 7.875 kB / 0.7726 GB, free: 223 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003024/1.666, allocations: 0.8068 MB / 0.7734 GB, free: 222.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003224/1.67, allocations: 1.292 MB / 0.7747 GB, free: 222.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000437/1.67, allocations: 106.8 kB / 0.7748 GB, free: 222.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/1.683, allocations: 11.37 MB / 0.7859 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.683, allocations: 7.812 kB / 0.7859 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/1.699, allocations: 11.21 MB / 0.7968 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002959/1.702, allocations: 1.067 MB / 0.7979 GB, free: 210.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007928/1.703, allocations: 98.06 kB / 0.798 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/1.705, allocations: 230.4 kB / 0.7982 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006675/1.706, allocations: 345.5 kB / 0.7985 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000261/1.706, allocations: 143 kB / 0.7987 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003745/1.71, allocations: 3.122 MB / 0.8017 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.71, allocations: 2.156 kB / 0.8017 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005706/1.716, allocations: 1.724 MB / 0.8034 GB, free: 206.7 MB / 0.5919 GB 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.001781/1.717, allocations: 0.5394 MB / 0.8039 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.728, allocations: 7.674 MB / 0.8114 GB, free: 199.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.728, allocations: 3.938 kB / 0.8114 GB, free: 199.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00572/1.734, allocations: 3.698 MB / 0.815 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004993/1.739, allocations: 1.052 MB / 0.8161 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02862/1.768, allocations: 18.36 MB / 0.834 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00737/1.775, allocations: 6.513 MB / 0.8403 GB, free: 170.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004624/1.78, allocations: 2.119 MB / 0.8424 GB, free: 168.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/1.781, allocations: 402.4 kB / 0.8428 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of SimCode: time 8.42e-07/1.781, allocations: 0 / 0.8428 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.1146/1.896, allocations: 78.38 MB / 0.9193 GB, free: 90.58 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.508516456000507]