Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001348/0.001348, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001494/0.001494, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 7.801 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+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_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 43.92 kB / 379 MB, free: 2.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2641, allocations: 53.35 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02619/0.2903, allocations: 21.37 MB / 453.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01523/0.3056, allocations: 7.172 MB / 460.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004749/0.3103, allocations: 218.9 kB / 461.1 MB, free: 9.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02076/0.3311, allocations: 8.214 MB / 469.3 MB, free: 1.609 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.3413, allocations: 2.969 MB / 472.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005414/0.3468, allocations: 1.715 MB / 474 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01519/0.362, allocations: 10.94 MB / 485 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02786/0.3898, allocations: 14.17 MB / 499.1 MB, free: 3.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01125/0.4011, allocations: 5.876 MB / 0.4932 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01214/0.4132, allocations: 6.077 MB / 0.4991 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00455/0.4177, allocations: 1.668 MB / 0.5007 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00652/0.4243, allocations: 2.043 MB / 0.5027 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005388/0.4297, allocations: 3.16 MB / 0.5058 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00992/0.4396, allocations: 4.713 MB / 0.5104 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03027/0.4698, allocations: 22.48 MB / 0.5324 GB, free: 5.496 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.4698, allocations: 4 kB / 0.5324 GB, free: 5.492 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4699, allocations: 0 / 0.5324 GB, free: 5.492 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006787/0.4705, allocations: 0 / 0.5324 GB, free: 5.492 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.5337/1.004, allocations: 12.89 MB / 0.545 GB, free: 89.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/1.004, allocations: 7.906 kB / 0.545 GB, free: 89.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03416/1.038, allocations: 6.181 MB / 0.551 GB, free: 84.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01703/1.055, allocations: 7.013 MB / 0.5578 GB, free: 77.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009581/1.056, allocations: 0.7019 MB / 0.5585 GB, free: 77.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004651/1.061, allocations: 0.9136 MB / 0.5594 GB, free: 76.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.049/1.11, allocations: 15.93 MB / 0.575 GB, free: 60.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007026/1.111, allocations: 14.75 kB / 0.575 GB, free: 60.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004882/1.116, allocations: 390.6 kB / 0.5754 GB, free: 59.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007843/1.116, allocations: 0.5508 MB / 0.5759 GB, free: 59.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03506/1.151, allocations: 14.74 MB / 0.5903 GB, free: 44.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07982/1.231, allocations: 44.08 MB / 0.6333 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01961/1.251, allocations: 9.197 MB / 0.6423 GB, free: 7.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005646/1.257, allocations: 2.928 MB / 0.6452 GB, free: 5.055 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005155/1.257, allocations: 98.98 kB / 0.6453 GB, free: 4.957 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.867e-05/1.257, allocations: 73.69 kB / 0.6453 GB, free: 4.875 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 9.197e-06/1.257, allocations: 0 / 0.6453 GB, free: 4.875 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.04488/1.302, allocations: 17.07 MB / 0.662 GB, free: 3.855 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/1.302, allocations: 94.58 kB / 0.6621 GB, free: 3.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007143/1.309, allocations: 3.592 MB / 0.6656 GB, free: 152 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006948/1.31, allocations: 89.7 kB / 0.6657 GB, free: 56 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00332/1.313, allocations: 4.149 MB / 0.6698 GB, free: 11.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001892/1.315, allocations: 1.437 MB / 0.6712 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003264/1.318, allocations: 1.156 MB / 0.6723 GB, free: 9.254 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/1.319, allocations: 305.1 kB / 0.6726 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005156/1.324, allocations: 2.791 MB / 0.6753 GB, free: 6.156 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007103/1.331, allocations: 4.978 MB / 0.6802 GB, free: 180 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/1.344, allocations: 8.318 MB / 0.6883 GB, free: 6.859 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-05/1.344, allocations: 20 kB / 0.6883 GB, free: 6.84 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01971/1.363, allocations: 9.047 MB / 0.6971 GB, free: 13.77 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/1.364, allocations: 39.94 kB / 0.6972 GB, free: 13.73 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001515/1.364, allocations: 75.94 kB / 0.6972 GB, free: 13.65 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003639/1.367, allocations: 1.186 MB / 0.6984 GB, free: 12.46 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005294/1.373, allocations: 1.33 MB / 0.6997 GB, free: 11.13 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/1.389, allocations: 9.467 MB / 0.709 GB, free: 1.555 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004843/1.394, allocations: 327.6 kB / 0.7093 GB, free: 1.234 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001349/1.396, allocations: 288 kB / 0.7095 GB, free: 0.9531 MB / 0.5138 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.007789/1.403, allocations: 3.708 MB / 0.7132 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001558/1.405, allocations: 405.4 kB / 0.7135 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/1.418, allocations: 6.617 MB / 0.72 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009935/1.428, allocations: 5.548 MB / 0.7254 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-05/1.428, allocations: 8 kB / 0.7254 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.416e-05/1.428, allocations: 23.92 kB / 0.7255 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03101/1.459, allocations: 13.44 MB / 0.7386 GB, free: 2.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/1.459, allocations: 8 kB / 0.7386 GB, free: 2.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003136/1.462, allocations: 0.7261 MB / 0.7393 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00336/1.466, allocations: 1.076 MB / 0.7404 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004897/1.466, allocations: 91.97 kB / 0.7404 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01508/1.481, allocations: 8.419 MB / 0.7487 GB, free: 8.535 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/1.481, allocations: 7.938 kB / 0.7487 GB, free: 8.527 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2664/1.748, allocations: 9.788 MB / 0.7582 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003513/1.751, allocations: 0.8976 MB / 0.7591 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008559/1.752, allocations: 77.78 kB / 0.7592 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002311/1.754, allocations: 193.3 kB / 0.7594 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007252/1.755, allocations: 307.8 kB / 0.7597 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002618/1.755, allocations: 126.3 kB / 0.7598 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003924/1.759, allocations: 2.326 MB / 0.762 GB, free: 191.5 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8e-08/1.759, allocations: 1.375 kB / 0.7621 GB, free: 191.5 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006571/1.766, allocations: 1.605 MB / 0.7636 GB, free: 191.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.0009216/1.767, allocations: 273.1 kB / 0.7639 GB, free: 191.4 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01081/1.778, allocations: 6.852 MB / 0.7706 GB, free: 189 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/1.778, allocations: 3.688 kB / 0.7706 GB, free: 189 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005747/1.783, allocations: 3.167 MB / 0.7737 GB, free: 187.7 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006256/1.79, allocations: 0.8856 MB / 0.7745 GB, free: 187.4 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02972/1.819, allocations: 16.4 MB / 0.7905 GB, free: 178.2 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006147/1.826, allocations: 5.554 MB / 0.796 GB, free: 174 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001727/1.827, allocations: 401 kB / 0.7963 GB, free: 173.6 MB / 0.5607 GB Notification: Performance of SimCode: time 2.084e-06/1.827, allocations: 0 / 0.7963 GB, free: 173.6 MB / 0.5607 GB Notification: Performance of Templates: time 0.1771/2.004, allocations: 162 MB / 0.9545 GB, free: 14.22 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.486440443899482]