Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.001791/0.001791, allocations: 110.5 kB / 21.18 MB, free: 0.7539 MB / 14.72 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.002117/0.002117, allocations: 215.7 kB / 24.48 MB, free: 4.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.411/1.411, allocations: 230.5 MB / 258.1 MB, free: 8.125 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-beta.om/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_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.83 kB / 378.8 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2098, allocations: 53.31 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02835/0.2381, allocations: 24.95 MB / 457 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.2517, allocations: 7.487 MB / 464.5 MB, free: 6.789 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003016/0.2547, allocations: 191.4 kB / 464.7 MB, free: 6.602 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01915/0.2738, allocations: 8.895 MB / 473.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007683/0.2815, allocations: 2.956 MB / 476.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004073/0.2856, allocations: 1.737 MB / 478.3 MB, free: 8.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01267/0.2983, allocations: 10.86 MB / 489.2 MB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01905/0.3173, allocations: 13.47 MB / 0.4909 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006988/0.3243, allocations: 5.751 MB / 0.4965 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008569/0.3329, allocations: 6.362 MB / 0.5027 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002116/0.335, allocations: 1.668 MB / 0.5043 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00328/0.3383, allocations: 2.05 MB / 0.5063 GB, free: 0.625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002744/0.341, allocations: 3.16 MB / 0.5094 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006332/0.3473, allocations: 6.098 MB / 0.5154 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02246/0.3698, allocations: 22.4 MB / 0.5372 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3698, allocations: 0 / 0.5372 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3698, allocations: 3.938 kB / 0.5372 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002627/0.3701, allocations: 0 / 0.5372 GB, free: 0.8672 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.1974/0.5675, allocations: 12.96 MB / 0.5499 GB, free: 86.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.5675, allocations: 7.906 kB / 0.5499 GB, free: 86.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03184/0.5994, allocations: 6.182 MB / 0.5559 GB, free: 83.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.6108, allocations: 6.934 MB / 0.5627 GB, free: 76.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/0.6111, allocations: 0.705 MB / 0.5634 GB, free: 76.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001418/0.6125, allocations: 0.9213 MB / 0.5643 GB, free: 75.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02013/0.6326, allocations: 15.78 MB / 0.5797 GB, free: 59.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001888/0.6328, allocations: 15.83 kB / 0.5797 GB, free: 59.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009496/0.6338, allocations: 391.5 kB / 0.5801 GB, free: 59.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003417/0.6341, allocations: 0.5508 MB / 0.5806 GB, free: 58.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01823/0.6524, allocations: 14.81 MB / 0.5951 GB, free: 43.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05816/0.7105, allocations: 52.18 MB / 0.646 GB, free: 6.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02636/0.7369, allocations: 26.11 MB / 0.6715 GB, free: 9.168 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004671/0.7415, allocations: 2.933 MB / 0.6744 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004062/0.742, allocations: 269.2 kB / 0.6747 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.827e-05/0.742, allocations: 81.69 kB / 0.6747 GB, free: 5.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=398): time 6.041e-06/0.742, allocations: 0 / 0.6747 GB, free: 5.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=404): time 0.04/0.782, allocations: 17.42 MB / 0.6918 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.7821, allocations: 102.6 kB / 0.6919 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005762/0.7879, allocations: 3.693 MB / 0.6955 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002491/0.7881, allocations: 97.64 kB / 0.6955 GB, free: 428 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003026/0.7911, allocations: 4.123 MB / 0.6996 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001263/0.7924, allocations: 1.449 MB / 0.701 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001818/0.7942, allocations: 1.152 MB / 0.7021 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7943, allocations: 301.1 kB / 0.7024 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004491/0.7988, allocations: 2.803 MB / 0.7051 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006249/0.8051, allocations: 4.965 MB / 0.71 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/0.8165, allocations: 8.322 MB / 0.7181 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.665e-05/0.8165, allocations: 23.94 kB / 0.7181 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01593/0.8325, allocations: 9.098 MB / 0.727 GB, free: 14.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.8325, allocations: 39.94 kB / 0.7271 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/0.8326, allocations: 72 kB / 0.7271 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003532/0.8362, allocations: 1.227 MB / 0.7283 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004636/0.8408, allocations: 1.33 MB / 0.7296 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/0.8572, allocations: 9.919 MB / 0.7393 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00367/0.8609, allocations: 331.6 kB / 0.7396 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005635/0.8615, allocations: 292 kB / 0.7399 GB, free: 0.7578 MB / 0.545 GB 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.005724/0.8672, allocations: 3.697 MB / 0.7435 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00087/0.8681, allocations: 425.2 kB / 0.7439 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/0.8807, allocations: 6.662 MB / 0.7504 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.921e-05/0.8807, allocations: 19.92 kB / 0.7504 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.8807, allocations: 3.938 kB / 0.7505 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002208/0.8829, allocations: 0.9823 MB / 0.7514 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006106/0.8835, allocations: 75.94 kB / 0.7515 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002018/0.8855, allocations: 195.8 kB / 0.7517 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005344/0.8861, allocations: 298.9 kB / 0.752 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.335/1.221, allocations: 6.358 MB / 0.7582 GB, free: 194 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009337/1.23, allocations: 8.23 MB / 0.7662 GB, free: 191.6 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002412/1.233, allocations: 2.382 MB / 0.7685 GB, free: 190.7 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.002752/1.236, allocations: 2.495 MB / 0.771 GB, free: 189.7 MB / 0.5607 GB Notification: Performance of Backend: time 1.8e-07/1.236, allocations: 0 / 0.771 GB, free: 189.7 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.008209/1.244, allocations: 5.009 MB / 0.7759 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02055/1.264, allocations: 15.87 MB / 0.7914 GB, free: 179.9 MB / 0.5607 GB Notification: Performance of Templates: time 0.0988/1.363, allocations: 82.75 MB / 0.8722 GB, free: 101 MB / 0.5607 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.5239272098988295]