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.0009806/0.0009806, allocations: 91.5 kB / 20.91 MB, free: 3.664 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.0009809/0.0009809, allocations: 168.5 kB / 24.22 MB, free: 372 kB / 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.9693/0.9693, allocations: 177 MB / 204.4 MB, free: 5.605 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.794e-06/1.794e-06, allocations: 0 / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.048e-05, allocations: 2.312 kB / 272.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1313/0.1313, allocations: 24.31 MB / 296.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.1441, allocations: 7.954 MB / 304.5 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003912/0.148, allocations: 217.1 kB / 304.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009081/0.1571, allocations: 8.935 MB / 313.6 MB, free: 6.984 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007319/0.1644, allocations: 3.162 MB / 316.8 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002947/0.1673, allocations: 1.848 MB / 318.6 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01042/0.1778, allocations: 11.69 MB / 330.3 MB, free: 8.879 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01946/0.1972, allocations: 14.53 MB / 344.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01121/0.2084, allocations: 8.959 MB / 353.8 MB, free: 1.227 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008465/0.2169, allocations: 6.219 MB / 360.1 MB, free: 11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003871/0.2208, allocations: 1.711 MB / 361.8 MB, free: 9.285 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005462/0.2262, allocations: 2.163 MB / 363.9 MB, free: 7.121 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003211/0.2294, allocations: 3.511 MB / 367.4 MB, free: 3.602 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006727/0.2362, allocations: 4.281 MB / 371.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.2482, allocations: 10.88 MB / 382.6 MB, free: 4.398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2482, allocations: 0 / 382.6 MB, free: 4.398 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2482, allocations: 4 kB / 382.6 MB, free: 4.395 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004055/0.2486, allocations: 0 / 382.6 MB, free: 4.395 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.02264/0.2713, allocations: 14.39 MB / 397 MB, free: 5.906 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.2713, allocations: 15.98 kB / 397 MB, free: 5.891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0195/0.2908, allocations: 7.837 MB / 404.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/0.3011, allocations: 7.003 MB / 411.8 MB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005203/0.3017, allocations: 0.7185 MB / 412.6 MB, free: 6.227 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002365/0.304, allocations: 0.953 MB / 413.5 MB, free: 5.273 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01862/0.3226, allocations: 8.48 MB / 422 MB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001507/0.3228, allocations: 15.89 kB / 422 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006998/0.3235, allocations: 407.9 kB / 422.4 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000394/0.3239, allocations: 0.563 MB / 423 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.3343, allocations: 4.708 MB / 427.7 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.249/0.5833, allocations: 41.79 MB / 469.5 MB, free: 95.55 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006752/0.5901, allocations: 6.696 MB / 476.2 MB, free: 93.23 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.592, allocations: 1.546 MB / 477.7 MB, free: 92.11 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002361/0.5922, allocations: 143.4 kB / 477.9 MB, free: 91.97 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.5923, allocations: 84.89 kB / 477.9 MB, free: 91.88 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 6.392e-06/0.5923, allocations: 0 / 477.9 MB, free: 91.88 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.02236/0.6146, allocations: 12.71 MB / 490.6 MB, free: 79.52 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.6147, allocations: 98.95 kB / 490.7 MB, free: 79.41 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003172/0.6179, allocations: 3.872 MB / 494.6 MB, free: 75.65 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001706/0.618, allocations: 97.7 kB / 494.7 MB, free: 75.55 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001377/0.6194, allocations: 4.598 MB / 499.3 MB, free: 71.53 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000652/0.6201, allocations: 1.644 MB / 0.4892 GB, free: 69.91 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.6212, allocations: 1.34 MB / 0.4905 GB, free: 68.55 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.611e-05/0.6212, allocations: 480.7 kB / 0.491 GB, free: 68.08 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.6226, allocations: 0.9685 MB / 0.4919 GB, free: 67.11 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/0.6248, allocations: 4.2 MB / 0.496 GB, free: 61.57 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004141/0.629, allocations: 5.777 MB / 0.5017 GB, free: 54.46 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.403e-05/0.629, allocations: 20 kB / 0.5017 GB, free: 54.45 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.006813/0.6358, allocations: 5.72 MB / 0.5073 GB, free: 48.71 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.6358, allocations: 36 kB / 0.5073 GB, free: 48.67 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-05/0.6359, allocations: 68.34 kB / 0.5074 GB, free: 48.61 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002309/0.6382, allocations: 1.275 MB / 0.5086 GB, free: 47.32 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002448/0.6406, allocations: 1.381 MB / 0.51 GB, free: 45.94 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007583/0.6482, allocations: 8.772 MB / 0.5185 GB, free: 36.93 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/0.651, allocations: 347.6 kB / 0.5189 GB, free: 36.59 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003407/0.6514, allocations: 296 kB / 0.5191 GB, free: 36.3 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.00181/0.6532, allocations: 0.5453 MB / 0.5197 GB, free: 35.74 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006734/0.6539, allocations: 0.5986 MB / 0.5203 GB, free: 35.14 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005978/0.6598, allocations: 5.454 MB / 0.5256 GB, free: 29.62 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003886/0.6637, allocations: 2.978 MB / 0.5285 GB, free: 26.62 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.6637, allocations: 15.94 kB / 0.5285 GB, free: 26.61 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/0.6638, allocations: 23.92 kB / 0.5285 GB, free: 26.58 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/0.6779, allocations: 12.05 MB / 0.5403 GB, free: 14.42 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.6779, allocations: 8 kB / 0.5403 GB, free: 14.41 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/0.6795, allocations: 0.7957 MB / 0.5411 GB, free: 13.62 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002061/0.6816, allocations: 1.158 MB / 0.5422 GB, free: 12.45 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001842/0.6818, allocations: 116 kB / 0.5423 GB, free: 12.34 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006232/0.688, allocations: 8.272 MB / 0.5504 GB, free: 3.848 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.688, allocations: 12 kB / 0.5504 GB, free: 3.836 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006688/0.6947, allocations: 5.383 MB / 0.5557 GB, free: 14.27 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/0.6962, allocations: 0.9652 MB / 0.5566 GB, free: 13.3 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003131/0.6965, allocations: 84 kB / 0.5567 GB, free: 13.22 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.6975, allocations: 227.8 kB / 0.5569 GB, free: 13 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004094/0.6979, allocations: 351.2 kB / 0.5573 GB, free: 12.65 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001963/0.6981, allocations: 144 kB / 0.5574 GB, free: 12.51 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.002351/0.7005, allocations: 1.853 MB / 0.5592 GB, free: 10.68 MB / 394.8 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7005, allocations: 4 kB / 0.5592 GB, free: 10.68 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.003841/0.7043, allocations: 1.719 MB / 0.5609 GB, free: 8.957 MB / 394.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.001109/0.7054, allocations: 0.5213 MB / 0.5614 GB, free: 8.582 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.006416/0.7118, allocations: 4.648 MB / 0.5659 GB, free: 3.895 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.7118, allocations: 4 kB / 0.5659 GB, free: 3.891 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003309/0.7152, allocations: 2.535 MB / 0.5684 GB, free: 1.309 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/0.7182, allocations: 0.9803 MB / 0.5694 GB, free: 364 kB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1184/0.8366, allocations: 15.04 MB / 0.5841 GB, free: 118.5 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002007/0.8386, allocations: 2.75 MB / 0.5867 GB, free: 118.2 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002819/0.8414, allocations: 1.767 MB / 0.5885 GB, free: 118.1 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007431/0.8422, allocations: 391.6 kB / 0.5888 GB, free: 118.1 MB / 394.8 MB Notification: Performance of SimCode: time 1.373e-06/0.8422, allocations: 0.875 kB / 0.5888 GB, free: 118.1 MB / 394.8 MB Notification: Performance of Templates: time 0.07114/0.9133, allocations: 66.45 MB / 0.6537 GB, free: 59.77 MB / 394.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 -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.575842980062589]