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.001283/0.001283, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.001368/0.001368, allocations: 210.8 kB / 24.47 MB, free: 3.996 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.408/1.408, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.001838/0.001838, allocations: 71.83 kB / 378.8 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2466, allocations: 53.31 MB / 432.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02869/0.2753, allocations: 24.95 MB / 457 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01551/0.2908, allocations: 7.491 MB / 464.5 MB, free: 6.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0047/0.2955, allocations: 187.4 kB / 464.7 MB, free: 6.586 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02115/0.3167, allocations: 8.89 MB / 473.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.3273, allocations: 2.964 MB / 476.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005667/0.3329, allocations: 1.739 MB / 478.3 MB, free: 8.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0161/0.349, allocations: 10.86 MB / 489.2 MB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02813/0.3772, allocations: 13.47 MB / 0.4908 GB, free: 488 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009501/0.3867, allocations: 5.755 MB / 0.4965 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01113/0.3978, allocations: 6.362 MB / 0.5027 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004799/0.4026, allocations: 1.668 MB / 0.5043 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007737/0.4103, allocations: 2.05 MB / 0.5063 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007023/0.4174, allocations: 3.161 MB / 0.5094 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01213/0.4295, allocations: 6.094 MB / 0.5153 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0308/0.4603, allocations: 22.4 MB / 0.5372 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4603, allocations: 0 / 0.5372 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4603, allocations: 0 / 0.5372 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006256/0.4609, allocations: 3.938 kB / 0.5372 GB, free: 0.8477 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.2775/0.7385, allocations: 12.96 MB / 0.5499 GB, free: 86.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.7385, allocations: 7.906 kB / 0.5499 GB, free: 86.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03429/0.7728, allocations: 6.185 MB / 0.5559 GB, free: 83.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01637/0.7892, allocations: 6.946 MB / 0.5627 GB, free: 76.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006706/0.7898, allocations: 0.698 MB / 0.5634 GB, free: 76.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004128/0.794, allocations: 0.9176 MB / 0.5643 GB, free: 75.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03761/0.8316, allocations: 15.77 MB / 0.5797 GB, free: 59.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005005/0.8321, allocations: 23.81 kB / 0.5797 GB, free: 59.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003512/0.8356, allocations: 395.3 kB / 0.5801 GB, free: 59.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005209/0.8361, allocations: 0.5508 MB / 0.5806 GB, free: 58.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02771/0.8638, allocations: 14.8 MB / 0.5951 GB, free: 43.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08401/0.9478, allocations: 52.18 MB / 0.646 GB, free: 6.297 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02968/0.9775, allocations: 26.1 MB / 0.6715 GB, free: 9.148 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006193/0.9837, allocations: 2.937 MB / 0.6744 GB, free: 6.207 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006191/0.9843, allocations: 273.2 kB / 0.6747 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.587e-05/0.9844, allocations: 73.69 kB / 0.6747 GB, free: 5.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=398): time 5.681e-06/0.9844, allocations: 0 / 0.6747 GB, free: 5.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=404): time 0.04566/1.03, allocations: 17.43 MB / 0.6918 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/1.03, allocations: 90.58 kB / 0.6918 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007686/1.038, allocations: 3.701 MB / 0.6955 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007392/1.039, allocations: 89.7 kB / 0.6955 GB, free: 412 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003431/1.042, allocations: 4.123 MB / 0.6996 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001913/1.044, allocations: 1.453 MB / 0.701 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002014/1.046, allocations: 1.148 MB / 0.7021 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.046, allocations: 301.1 kB / 0.7024 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004651/1.051, allocations: 2.803 MB / 0.7051 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006655/1.057, allocations: 4.961 MB / 0.71 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/1.07, allocations: 8.326 MB / 0.7181 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.869e-05/1.07, allocations: 20 kB / 0.7181 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01778/1.088, allocations: 9.106 MB / 0.727 GB, free: 14.08 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-05/1.088, allocations: 36 kB / 0.7271 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001194/1.088, allocations: 68 kB / 0.7271 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003694/1.092, allocations: 1.231 MB / 0.7283 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005109/1.097, allocations: 1.326 MB / 0.7296 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/1.114, allocations: 9.927 MB / 0.7393 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005392/1.119, allocations: 327.6 kB / 0.7396 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/1.121, allocations: 288 kB / 0.7399 GB, free: 0.7461 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.008573/1.129, allocations: 3.705 MB / 0.7435 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001557/1.131, allocations: 425.2 kB / 0.7439 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0149/1.146, allocations: 6.658 MB / 0.7504 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01033/1.156, allocations: 5.587 MB / 0.7559 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.759e-05/1.156, allocations: 12 kB / 0.7559 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.346e-05/1.156, allocations: 19.92 kB / 0.7559 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4813/1.637, allocations: 15.76 MB / 0.7713 GB, free: 190.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/1.637, allocations: 7.875 kB / 0.7713 GB, free: 190.9 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002743/1.64, allocations: 0.7263 MB / 0.772 GB, free: 190.9 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003012/1.643, allocations: 1.117 MB / 0.7731 GB, free: 190.7 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005838/1.644, allocations: 90.88 kB / 0.7732 GB, free: 190.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/1.655, allocations: 8.846 MB / 0.7818 GB, free: 185.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.655, allocations: 3.906 kB / 0.7818 GB, free: 185.8 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/1.669, allocations: 9.86 MB / 0.7915 GB, free: 181.3 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003251/1.672, allocations: 0.9748 MB / 0.7924 GB, free: 180.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001138/1.673, allocations: 79.94 kB / 0.7925 GB, free: 180.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002503/1.676, allocations: 203 kB / 0.7927 GB, free: 180.4 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006111/1.676, allocations: 290.6 kB / 0.793 GB, free: 180.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002254/1.676, allocations: 123.7 kB / 0.7931 GB, free: 180.1 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003473/1.68, allocations: 2.498 MB / 0.7955 GB, free: 178 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1e-07/1.68, allocations: 0 / 0.7955 GB, free: 178 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.00635/1.686, allocations: 1.615 MB / 0.7971 GB, free: 176.4 MB / 0.5607 GB 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.000838/1.687, allocations: 273.5 kB / 0.7974 GB, free: 176.2 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.698, allocations: 6.871 MB / 0.8041 GB, free: 170.3 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/1.698, allocations: 4 kB / 0.8041 GB, free: 170.3 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005606/1.703, allocations: 3.179 MB / 0.8072 GB, free: 167.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004719/1.708, allocations: 0.9824 MB / 0.8081 GB, free: 166.4 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02569/1.734, allocations: 16.42 MB / 0.8242 GB, free: 149.9 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006052/1.74, allocations: 6.007 MB / 0.83 GB, free: 143.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/1.741, allocations: 407.3 kB / 0.8304 GB, free: 143.4 MB / 0.5607 GB Notification: Performance of SimCode: time 1.213e-06/1.741, allocations: 0 / 0.8304 GB, free: 143.4 MB / 0.5607 GB Notification: Performance of Templates: time 0.3927/2.134, allocations: 160.7 MB / 0.9874 GB, free: 179.9 MB / 0.5607 GB " [Timeout remaining time 658] 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: 17.551532292738557]