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.001825/0.001825, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.002207/0.002207, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.508/1.508, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001663/0.001663, allocations: 47.94 kB / 373.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1129, allocations: 53.34 MB / 426.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2297/0.3426, allocations: 24.89 MB / 451.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.017/0.3596, allocations: 7.472 MB / 459.2 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005832/0.3655, allocations: 222.3 kB / 459.4 MB, free: 6.551 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02292/0.3884, allocations: 8.898 MB / 468.3 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0124/0.4008, allocations: 2.958 MB / 471.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00602/0.4068, allocations: 1.731 MB / 473 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01664/0.4234, allocations: 10.83 MB / 483.8 MB, free: 6.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03439/0.4578, allocations: 16.59 MB / 0.4887 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01173/0.4696, allocations: 5.829 MB / 0.4944 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01194/0.4815, allocations: 6.347 MB / 0.5006 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004813/0.4863, allocations: 1.668 MB / 0.5022 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007012/0.4933, allocations: 2.05 MB / 0.5042 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005656/0.499, allocations: 3.168 MB / 0.5073 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01227/0.5113, allocations: 6.094 MB / 0.5133 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03158/0.5428, allocations: 22.4 MB / 0.5351 GB, free: 7.234 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.5428, allocations: 0 / 0.5351 GB, free: 7.234 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5428, allocations: 0 / 0.5351 GB, free: 7.234 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005568/0.5434, allocations: 0 / 0.5351 GB, free: 7.234 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.04151/0.5849, allocations: 12.96 MB / 0.5478 GB, free: 10.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.585, allocations: 12.03 kB / 0.5478 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03872/0.6237, allocations: 6.187 MB / 0.5538 GB, free: 3.953 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01503/0.6387, allocations: 6.946 MB / 0.5606 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007093/0.6394, allocations: 0.6985 MB / 0.5613 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003261/0.6427, allocations: 0.9217 MB / 0.5622 GB, free: 11.33 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03788/0.6805, allocations: 15.78 MB / 0.5776 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002959/0.6808, allocations: 15.95 kB / 0.5776 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002644/0.6835, allocations: 391.9 kB / 0.578 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006094/0.6841, allocations: 0.5508 MB / 0.5785 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03137/0.7155, allocations: 14.81 MB / 0.593 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5322/1.248, allocations: 52.16 MB / 0.6439 GB, free: 123.6 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.022/1.27, allocations: 26.1 MB / 0.6694 GB, free: 102.4 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005015/1.275, allocations: 2.935 MB / 0.6723 GB, free: 101.4 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003862/1.275, allocations: 275.1 kB / 0.6726 GB, free: 101.2 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/1.275, allocations: 81.16 kB / 0.6726 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 6.231e-06/1.275, allocations: 0 / 0.6726 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=404): time 0.03863/1.314, allocations: 17.42 MB / 0.6897 GB, free: 93.66 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/1.314, allocations: 93.52 kB / 0.6897 GB, free: 93.59 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006828/1.321, allocations: 3.701 MB / 0.6934 GB, free: 91.66 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007829/1.321, allocations: 92.67 kB / 0.6934 GB, free: 91.57 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002636/1.324, allocations: 4.126 MB / 0.6975 GB, free: 88.49 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001656/1.326, allocations: 1.447 MB / 0.6989 GB, free: 87.25 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002243/1.328, allocations: 1.149 MB / 0.7 GB, free: 86.59 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 6.602e-05/1.328, allocations: 305.1 kB / 0.7003 GB, free: 86.29 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00534/1.333, allocations: 2.793 MB / 0.703 GB, free: 84.77 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006426/1.34, allocations: 4.965 MB / 0.7079 GB, free: 80.39 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01362/1.353, allocations: 8.329 MB / 0.716 GB, free: 73.97 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.436e-05/1.353, allocations: 23.94 kB / 0.716 GB, free: 73.95 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02253/1.376, allocations: 9.106 MB / 0.7249 GB, free: 64.82 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/1.376, allocations: 36.62 kB / 0.725 GB, free: 64.79 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001445/1.376, allocations: 68 kB / 0.725 GB, free: 64.72 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004209/1.38, allocations: 1.23 MB / 0.7262 GB, free: 63.48 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004961/1.385, allocations: 1.33 MB / 0.7275 GB, free: 62.15 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/1.399, allocations: 9.915 MB / 0.7372 GB, free: 52.11 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00459/1.403, allocations: 335.1 kB / 0.7375 GB, free: 51.79 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/1.404, allocations: 288 kB / 0.7378 GB, free: 51.5 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.00596/1.41, allocations: 3.71 MB / 0.7414 GB, free: 47.78 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001269/1.412, allocations: 417.3 kB / 0.7418 GB, free: 47.37 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/1.424, allocations: 6.673 MB / 0.7483 GB, free: 40.66 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009452/1.434, allocations: 5.575 MB / 0.7538 GB, free: 35.06 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.888e-05/1.434, allocations: 8 kB / 0.7538 GB, free: 35.05 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.006e-05/1.434, allocations: 19.92 kB / 0.7538 GB, free: 35.04 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03001/1.464, allocations: 15.77 MB / 0.7692 GB, free: 19.19 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.368e-05/1.464, allocations: 4.594 kB / 0.7692 GB, free: 19.19 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003075/1.467, allocations: 0.7294 MB / 0.7699 GB, free: 18.46 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003167/1.47, allocations: 1.113 MB / 0.771 GB, free: 17.34 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005132/1.471, allocations: 95.97 kB / 0.7711 GB, free: 17.24 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/1.483, allocations: 8.85 MB / 0.7797 GB, free: 8.258 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.483, allocations: 4 kB / 0.7798 GB, free: 8.254 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/1.499, allocations: 9.862 MB / 0.7894 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003223/1.502, allocations: 0.9784 MB / 0.7903 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0013/1.504, allocations: 76 kB / 0.7904 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00295/1.507, allocations: 199.8 kB / 0.7906 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001033/1.508, allocations: 291.3 kB / 0.7909 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005263/1.508, allocations: 128 kB / 0.791 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006091/1.514, allocations: 2.499 MB / 0.7934 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.514, allocations: 0 / 0.7934 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007984/1.522, allocations: 1.609 MB / 0.795 GB, free: 8.496 MB / 0.5294 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.001041/1.523, allocations: 281.7 kB / 0.7953 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01528/1.539, allocations: 6.866 MB / 0.802 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.539, allocations: 0 / 0.802 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007633/1.546, allocations: 3.183 MB / 0.8051 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006568/1.553, allocations: 0.9748 MB / 0.806 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03982/1.593, allocations: 16.59 MB / 0.8222 GB, free: 12.52 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01226/1.605, allocations: 6.191 MB / 0.8283 GB, free: 6.277 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006908/1.612, allocations: 1.916 MB / 0.8302 GB, free: 4.355 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001963/1.614, allocations: 359.3 kB / 0.8305 GB, free: 4.004 MB / 0.5607 GB Notification: Performance of SimCode: time 1.172e-06/1.614, allocations: 0 / 0.8305 GB, free: 4.004 MB / 0.5607 GB Notification: Performance of Templates: time 0.3444/1.958, allocations: 67.7 MB / 0.8966 GB, free: 149.5 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/jenkins/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/jenkins/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: 8.356005225330591]