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.000763/0.000763, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.001785, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006467/0.0006467, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000849/0.001496, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 1.07/1.07, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1047/1.175, allocations: 52.5 MB / 238.3 MB, free: 4.418 MB / 234.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 1.653e-06/1.653e-06, allocations: 0 / 239.6 MB, free: 3.156 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.936e-05, allocations: 6.312 kB / 239.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01893/0.01895, allocations: 23.46 MB / 263 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01462/0.03357, allocations: 7.669 MB / 270.7 MB, free: 3.883 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00383/0.0374, allocations: 218.9 kB / 270.9 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1427/0.1801, allocations: 9.32 MB / 280.2 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00914/0.1892, allocations: 3.024 MB / 283.3 MB, free: 1.391 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003243/0.1925, allocations: 1.718 MB / 285 MB, free: 1.336 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01117/0.2036, allocations: 11.26 MB / 296.2 MB, free: 13.65 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01802/0.2216, allocations: 14.27 MB / 310.5 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/0.2326, allocations: 8.987 MB / 319.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006129/0.2387, allocations: 6.293 MB / 325.8 MB, free: 6.191 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001944/0.2407, allocations: 1.664 MB / 327.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.243, allocations: 2.042 MB / 329.5 MB, free: 2.504 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001726/0.2448, allocations: 2.621 MB / 332.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003076/0.2479, allocations: 3.463 MB / 335.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007982/0.2558, allocations: 9.828 MB / 345.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-05/0.2558, allocations: 0 / 345.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2558, allocations: 0 / 345.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001255/0.256, allocations: 0 / 345.4 MB, free: 2.969 MB / 314.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.01615/0.2721, allocations: 13.83 MB / 359.2 MB, free: 5.668 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2722, allocations: 9.109 kB / 359.2 MB, free: 5.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01652/0.2887, allocations: 6.349 MB / 365.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007651/0.2963, allocations: 3.596 MB / 369.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005019/0.2968, allocations: 0.7003 MB / 369.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002257/0.2991, allocations: 0.9318 MB / 370.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01607/0.3152, allocations: 7.724 MB / 378.5 MB, free: 3.121 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002069/0.3154, allocations: 15.06 kB / 378.6 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009874/0.3164, allocations: 388.9 kB / 378.9 MB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004084/0.3168, allocations: 0.5508 MB / 379.5 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008218/0.325, allocations: 3.966 MB / 383.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04291/0.3679, allocations: 30.79 MB / 414.2 MB, free: 236 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1504/0.5183, allocations: 5.344 MB / 419.6 MB, free: 85.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.5199, allocations: 1.014 MB / 420.6 MB, free: 85.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/0.5202, allocations: 106.6 kB / 420.7 MB, free: 85.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/0.5202, allocations: 74 kB / 420.8 MB, free: 85.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=398): time 6.793e-06/0.5202, allocations: 0.7656 kB / 420.8 MB, free: 85.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=404): time 0.0149/0.5351, allocations: 7.727 MB / 428.5 MB, free: 85.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.5352, allocations: 90.55 kB / 428.6 MB, free: 85.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002571/0.5377, allocations: 2.357 MB / 430.9 MB, free: 84.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000192/0.5379, allocations: 90.48 kB / 431 MB, free: 84.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001213/0.5391, allocations: 3.792 MB / 434.8 MB, free: 82.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006933/0.5398, allocations: 1.43 MB / 436.3 MB, free: 81.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.5408, allocations: 1.049 MB / 437.3 MB, free: 81.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.158e-05/0.5409, allocations: 303.2 kB / 437.6 MB, free: 80.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.5419, allocations: 0.7795 MB / 438.4 MB, free: 80.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.5434, allocations: 2.78 MB / 441.2 MB, free: 78.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003212/0.5466, allocations: 4.09 MB / 445.3 MB, free: 75.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.312e-05/0.5467, allocations: 19.41 kB / 445.3 MB, free: 75.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.004903/0.5516, allocations: 3.932 MB / 449.2 MB, free: 75.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.5516, allocations: 33.41 kB / 449.2 MB, free: 75.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.739e-05/0.5517, allocations: 68.91 kB / 449.3 MB, free: 75.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/0.5536, allocations: 1.047 MB / 450.4 MB, free: 75.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00256/0.5561, allocations: 1.381 MB / 451.7 MB, free: 75.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/0.5612, allocations: 4.542 MB / 456.3 MB, free: 73.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/0.5634, allocations: 225.3 kB / 456.5 MB, free: 73.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003791/0.5638, allocations: 230.9 kB / 456.7 MB, free: 73.88 MB / 378.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.002257/0.5661, allocations: 498.8 kB / 457.2 MB, free: 73.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006045/0.5667, allocations: 369.3 kB / 457.6 MB, free: 73.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003584/0.5703, allocations: 2.749 MB / 460.3 MB, free: 73.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002162/0.5724, allocations: 1.771 MB / 462.1 MB, free: 72.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.5724, allocations: 8 kB / 462.1 MB, free: 72.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/0.5725, allocations: 23.22 kB / 462.1 MB, free: 72.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.5837, allocations: 8.227 MB / 470.3 MB, free: 66.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.5837, allocations: 8.125 kB / 470.4 MB, free: 66.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/0.5852, allocations: 0.7281 MB / 471.1 MB, free: 65.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/0.5866, allocations: 0.5011 MB / 471.6 MB, free: 65.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001682/0.5883, allocations: 0.9309 MB / 472.5 MB, free: 64.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.5884, allocations: 84.52 kB / 472.6 MB, free: 64.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004249/0.5927, allocations: 4.182 MB / 476.8 MB, free: 59.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.5927, allocations: 8 kB / 476.8 MB, free: 59.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004075/0.5968, allocations: 3.383 MB / 480.2 MB, free: 56.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006073/0.5974, allocations: 76 kB / 480.2 MB, free: 56.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009634/0.5983, allocations: 120.7 kB / 480.4 MB, free: 56.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003545/0.5987, allocations: 290.4 kB / 480.6 MB, free: 56.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/0.5988, allocations: 87.92 kB / 480.7 MB, free: 56.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001124/0.6, allocations: 1.08 MB / 481.8 MB, free: 55.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6, allocations: 0 / 481.8 MB, free: 55.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00438/0.6044, allocations: 1.598 MB / 483.4 MB, free: 53.48 MB / 378.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.0005738/0.6049, allocations: 274.7 kB / 483.7 MB, free: 53.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004237/0.6092, allocations: 3.222 MB / 486.9 MB, free: 50.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001581/0.6093, allocations: 93.38 kB / 487 MB, free: 50.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001779/0.6111, allocations: 1.699 MB / 488.7 MB, free: 48.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.6133, allocations: 1.212 MB / 489.9 MB, free: 47.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05431/0.6676, allocations: 14.04 MB / 0.4921 GB, free: 33.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/0.6694, allocations: 1.859 MB / 0.4939 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002067/0.6714, allocations: 0.67 MB / 0.4946 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0015/0.6729, allocations: 0.8738 MB / 0.4955 GB, free: 29.89 MB / 378.7 MB Notification: Performance of SimCode: time 2.114e-06/0.6729, allocations: 0 / 0.4955 GB, free: 29.89 MB / 378.7 MB Notification: Performance of Templates: time 0.2197/0.8927, allocations: 67.87 MB / 0.5617 GB, free: 113.8 MB / 410.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] 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","",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.649817747995257]