Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 112 kB / 21.93 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 213.5 kB / 25.22 MB, free: 3.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 51.94 kB / 348.5 MB, free: 9.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2886, allocations: 49.16 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02385/0.3124, allocations: 21.42 MB / 419.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01807/0.3305, allocations: 7.088 MB / 426.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006611/0.3371, allocations: 188.9 kB / 426.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02205/0.3591, allocations: 8.229 MB / 434.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01182/0.371, allocations: 3.012 MB / 437.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005811/0.3768, allocations: 1.716 MB / 439.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01676/0.3935, allocations: 10.98 MB / 450.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02703/0.4206, allocations: 14.23 MB / 464.5 MB, free: 24 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01092/0.4315, allocations: 5.946 MB / 470.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01221/0.4437, allocations: 6.147 MB / 476.6 MB, free: 3.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004914/0.4486, allocations: 1.684 MB / 478.3 MB, free: 2.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007015/0.4556, allocations: 2.027 MB / 480.3 MB, free: 188 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005548/0.4612, allocations: 3.227 MB / 483.5 MB, free: 12.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01116/0.4723, allocations: 4.775 MB / 488.3 MB, free: 8.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03238/0.5047, allocations: 22.52 MB / 0.4989 GB, free: 1.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.5047, allocations: 0 / 0.4989 GB, free: 1.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5047, allocations: 8 kB / 0.4989 GB, free: 1.562 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000716/0.5054, allocations: 0 / 0.4989 GB, free: 1.562 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.04266/0.5481, allocations: 13.03 MB / 0.5116 GB, free: 4.434 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.5481, allocations: 15.98 kB / 0.5116 GB, free: 4.418 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04282/0.591, allocations: 7.239 MB / 0.5187 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01558/0.6065, allocations: 6.243 MB / 0.5248 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008646/0.6074, allocations: 0.7105 MB / 0.5255 GB, free: 6.145 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00388/0.6113, allocations: 0.9374 MB / 0.5264 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0434/0.6547, allocations: 16.34 MB / 0.5423 GB, free: 4.762 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004561/0.6551, allocations: 15.95 kB / 0.5424 GB, free: 4.746 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003293/0.6584, allocations: 396 kB / 0.5427 GB, free: 4.359 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007604/0.6592, allocations: 0.5786 MB / 0.5433 GB, free: 3.777 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03662/0.6958, allocations: 15.39 MB / 0.5583 GB, free: 4.367 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4667/1.162, allocations: 44.92 MB / 0.6022 GB, free: 105.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0189/1.181, allocations: 10.93 MB / 0.6129 GB, free: 101.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00518/1.187, allocations: 3.086 MB / 0.6159 GB, free: 99.49 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.017/1.204, allocations: 8.998 MB / 0.6247 GB, free: 91.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.181e-05/1.204, allocations: 68.83 kB / 0.6247 GB, free: 90.95 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 6.643e-06/1.204, allocations: 0 / 0.6247 GB, free: 90.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.0328/1.236, allocations: 15.08 MB / 0.6395 GB, free: 76.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/1.236, allocations: 85.78 kB / 0.6395 GB, free: 76.08 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00607/1.243, allocations: 3.774 MB / 0.6432 GB, free: 72.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005263/1.243, allocations: 77.7 kB / 0.6433 GB, free: 72.33 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002137/1.245, allocations: 4.433 MB / 0.6476 GB, free: 68.25 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001313/1.247, allocations: 1.102 MB / 0.6487 GB, free: 67.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002535/1.249, allocations: 1.096 MB / 0.6498 GB, free: 66.05 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.379e-05/1.249, allocations: 301.1 kB / 0.6501 GB, free: 65.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003802/1.253, allocations: 2.552 MB / 0.6525 GB, free: 63.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004909/1.258, allocations: 4.93 MB / 0.6574 GB, free: 57.13 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009058/1.267, allocations: 7.93 MB / 0.6651 GB, free: 48.06 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/1.267, allocations: 28 kB / 0.6651 GB, free: 48.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01761/1.285, allocations: 8.588 MB / 0.6735 GB, free: 39.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/1.285, allocations: 43.98 kB / 0.6736 GB, free: 39.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001617/1.285, allocations: 76 kB / 0.6736 GB, free: 39.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00307/1.288, allocations: 1.201 MB / 0.6748 GB, free: 38.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004331/1.292, allocations: 1.224 MB / 0.676 GB, free: 36.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/1.305, allocations: 9.493 MB / 0.6853 GB, free: 27.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004472/1.31, allocations: 327.6 kB / 0.6856 GB, free: 26.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001192/1.311, allocations: 291.9 kB / 0.6859 GB, free: 26.66 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006742/1.317, allocations: 3.736 MB / 0.6895 GB, free: 22.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001401/1.319, allocations: 377.6 kB / 0.6899 GB, free: 22.54 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/1.33, allocations: 5.727 MB / 0.6955 GB, free: 16.76 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007391/1.337, allocations: 4.696 MB / 0.7001 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.969e-05/1.337, allocations: 12 kB / 0.7001 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.766e-05/1.337, allocations: 19.94 kB / 0.7001 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02661/1.364, allocations: 11.45 MB / 0.7113 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/1.364, allocations: 3.984 kB / 0.7113 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002663/1.367, allocations: 0.5578 MB / 0.7118 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003486/1.37, allocations: 1.073 MB / 0.7129 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00066/1.371, allocations: 71.97 kB / 0.7129 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01562/1.386, allocations: 8.415 MB / 0.7211 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/1.386, allocations: 7.938 kB / 0.7212 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01763/1.404, allocations: 8.427 MB / 0.7294 GB, free: 13.65 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003092/1.407, allocations: 0.8097 MB / 0.7302 GB, free: 12.84 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001267/1.408, allocations: 52 kB / 0.7302 GB, free: 12.79 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002659/1.411, allocations: 187.9 kB / 0.7304 GB, free: 12.6 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007792/1.412, allocations: 238.5 kB / 0.7306 GB, free: 12.37 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000341/1.412, allocations: 91.98 kB / 0.7307 GB, free: 12.28 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.005888/1.418, allocations: 2.424 MB / 0.7331 GB, free: 9.863 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1e-07/1.418, allocations: 0 / 0.7331 GB, free: 9.863 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.008049/1.426, allocations: 1.539 MB / 0.7346 GB, free: 8.324 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (282): * Single equations (assignments): 280 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009762/1.427, allocations: 238.5 kB / 0.7348 GB, free: 8.086 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01347/1.44, allocations: 6.233 MB / 0.7409 GB, free: 1.828 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.44, allocations: 3.938 kB / 0.7409 GB, free: 1.824 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006424/1.447, allocations: 2.751 MB / 0.7436 GB, free: 15.06 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005632/1.453, allocations: 0.8369 MB / 0.7444 GB, free: 14.22 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2967/1.749, allocations: 16.15 MB / 0.7602 GB, free: 164.3 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0147/1.764, allocations: 5.594 MB / 0.7656 GB, free: 163.9 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002244/1.766, allocations: 346.8 kB / 0.766 GB, free: 163.9 MB / 0.5138 GB Notification: Performance of SimCode: time 1.432e-06/1.766, allocations: 0 / 0.766 GB, free: 163.9 MB / 0.5138 GB Notification: Performance of Templates: time 0.1911/1.957, allocations: 159.3 MB / 0.9215 GB, free: 24.95 MB / 0.5138 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 16.915499709080905]