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.001889/0.001889, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002398/0.002398, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.518/1.518, allocations: 230.4 MB / 258.1 MB, free: 8.129 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.002611/0.002611, allocations: 75.83 kB / 378.8 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3157, allocations: 53.31 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02954/0.3453, allocations: 24.95 MB / 457 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01784/0.3631, allocations: 7.483 MB / 464.5 MB, free: 6.801 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007114/0.3702, allocations: 187.4 kB / 464.7 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02126/0.3915, allocations: 8.887 MB / 473.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01169/0.4032, allocations: 2.973 MB / 476.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00602/0.4092, allocations: 1.738 MB / 478.3 MB, free: 8.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01588/0.4251, allocations: 10.85 MB / 489.2 MB, free: 14.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02516/0.4502, allocations: 13.47 MB / 0.4908 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01194/0.4622, allocations: 5.747 MB / 0.4965 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0122/0.4744, allocations: 6.366 MB / 0.5027 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005159/0.4795, allocations: 1.668 MB / 0.5043 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009809/0.4894, allocations: 2.058 MB / 0.5063 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006227/0.4956, allocations: 3.16 MB / 0.5094 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01192/0.5075, allocations: 6.094 MB / 0.5153 GB, free: 7.344 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03265/0.5402, allocations: 22.4 MB / 0.5372 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.5402, allocations: 0 / 0.5372 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5402, allocations: 0 / 0.5372 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006482/0.5408, allocations: 0 / 0.5372 GB, free: 0.8789 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.3776/0.9184, allocations: 12.96 MB / 0.5499 GB, free: 86.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.9185, allocations: 11.78 kB / 0.5499 GB, free: 86.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0357/0.9542, allocations: 6.186 MB / 0.5559 GB, free: 83.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01792/0.9721, allocations: 6.938 MB / 0.5627 GB, free: 77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007557/0.9728, allocations: 0.7015 MB / 0.5634 GB, free: 76.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005087/0.9779, allocations: 0.9148 MB / 0.5643 GB, free: 75.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04258/1.021, allocations: 15.77 MB / 0.5797 GB, free: 59.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003537/1.021, allocations: 19.88 kB / 0.5797 GB, free: 59.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003944/1.025, allocations: 391.6 kB / 0.5801 GB, free: 59.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004854/1.025, allocations: 0.5547 MB / 0.5806 GB, free: 58.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03134/1.057, allocations: 14.8 MB / 0.5951 GB, free: 43.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08628/1.143, allocations: 52.19 MB / 0.646 GB, free: 6.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03235/1.175, allocations: 26.09 MB / 0.6715 GB, free: 9.199 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006423/1.182, allocations: 2.937 MB / 0.6744 GB, free: 6.258 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006802/1.182, allocations: 273.2 kB / 0.6747 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/1.182, allocations: 81.67 kB / 0.6747 GB, free: 5.863 MB / 494.1 MB Notification: Performance of pre-optimization done (n=398): time 9.418e-06/1.182, allocations: 0 / 0.6747 GB, free: 5.863 MB / 494.1 MB Notification: Performance of matching and sorting (n=404): time 0.04858/1.231, allocations: 17.41 MB / 0.6917 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.391e-05/1.231, allocations: 94.58 kB / 0.6918 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007574/1.239, allocations: 3.704 MB / 0.6954 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007794/1.24, allocations: 89.7 kB / 0.6955 GB, free: 460 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003513/1.243, allocations: 4.127 MB / 0.6996 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002011/1.245, allocations: 1.445 MB / 0.701 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003297/1.248, allocations: 1.152 MB / 0.7021 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.248, allocations: 301.1 kB / 0.7024 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005048/1.254, allocations: 2.807 MB / 0.7051 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007272/1.261, allocations: 4.957 MB / 0.71 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01307/1.274, allocations: 8.333 MB / 0.7181 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.122e-05/1.274, allocations: 20 kB / 0.7181 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01935/1.293, allocations: 9.102 MB / 0.727 GB, free: 14.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.664e-05/1.293, allocations: 36 kB / 0.727 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001384/1.294, allocations: 71.94 kB / 0.7271 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00379/1.297, allocations: 1.227 MB / 0.7283 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00591/1.303, allocations: 1.33 MB / 0.7296 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.018/1.321, allocations: 9.927 MB / 0.7393 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004833/1.326, allocations: 323.6 kB / 0.7396 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/1.327, allocations: 295.9 kB / 0.7399 GB, free: 0.7852 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.008049/1.335, allocations: 3.708 MB / 0.7435 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001472/1.337, allocations: 425.2 kB / 0.7439 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01473/1.352, allocations: 6.654 MB / 0.7504 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01172/1.363, allocations: 5.575 MB / 0.7559 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.902e-05/1.363, allocations: 12 kB / 0.7559 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.777e-05/1.363, allocations: 19.92 kB / 0.7559 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.514/1.877, allocations: 15.76 MB / 0.7713 GB, free: 191 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/1.877, allocations: 7.875 kB / 0.7713 GB, free: 191 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002631/1.88, allocations: 0.7185 MB / 0.772 GB, free: 190.9 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00282/1.883, allocations: 1.114 MB / 0.7731 GB, free: 190.7 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002388/1.883, allocations: 101.5 kB / 0.7732 GB, free: 190.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/1.894, allocations: 8.86 MB / 0.7818 GB, free: 185.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.894, allocations: 7.875 kB / 0.7818 GB, free: 185.9 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/1.907, allocations: 9.847 MB / 0.7915 GB, free: 181.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002389/1.909, allocations: 0.9812 MB / 0.7924 GB, free: 180.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005718/1.91, allocations: 81.94 kB / 0.7925 GB, free: 180.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/1.912, allocations: 196.8 kB / 0.7927 GB, free: 180.5 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005545/1.912, allocations: 295.9 kB / 0.793 GB, free: 180.3 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00022/1.912, allocations: 127.5 kB / 0.7931 GB, free: 180.2 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.002871/1.915, allocations: 2.492 MB / 0.7955 GB, free: 178.1 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8e-08/1.915, allocations: 0 / 0.7955 GB, free: 178.1 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.004633/1.92, allocations: 1.609 MB / 0.7971 GB, free: 176.5 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.0005641/1.92, allocations: 280.2 kB / 0.7974 GB, free: 176.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.009936/1.93, allocations: 6.859 MB / 0.8041 GB, free: 170.3 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.93, allocations: 2.844 kB / 0.8041 GB, free: 170.3 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005186/1.936, allocations: 3.178 MB / 0.8072 GB, free: 167.4 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00485/1.94, allocations: 0.9787 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.02808/1.968, allocations: 16.73 MB / 0.8245 GB, free: 149.6 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005917/1.974, allocations: 6.191 MB / 0.8305 GB, free: 143.4 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004403/1.979, allocations: 1.916 MB / 0.8324 GB, free: 141.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009756/1.98, allocations: 367.4 kB / 0.8327 GB, free: 141.1 MB / 0.5607 GB Notification: Performance of SimCode: time 1.202e-06/1.98, allocations: 0 / 0.8327 GB, free: 141.1 MB / 0.5607 GB Notification: Performance of Templates: time 0.1067/2.086, allocations: 69.38 MB / 0.9005 GB, free: 72.27 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 -s cvode -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: 8.80642090877518]