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.001772/0.001772, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.002309/0.002309, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.405/1.405, allocations: 230.6 MB / 258.3 MB, free: 8.219 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.001503/0.001503, allocations: 51.92 kB / 379.1 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2605, allocations: 53.36 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02988/0.2904, allocations: 24.95 MB / 457.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0166/0.307, allocations: 7.497 MB / 464.9 MB, free: 6.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00482/0.3118, allocations: 222.9 kB / 465.1 MB, free: 6.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02138/0.3332, allocations: 8.918 MB / 474 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0109/0.3441, allocations: 3.035 MB / 477 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005961/0.3501, allocations: 1.784 MB / 478.8 MB, free: 8.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01708/0.3672, allocations: 10.96 MB / 489.8 MB, free: 13.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02931/0.3965, allocations: 14.36 MB / 0.4923 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01143/0.4079, allocations: 5.872 MB / 0.4981 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01115/0.4191, allocations: 6.378 MB / 0.5043 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004717/0.4238, allocations: 1.668 MB / 0.5059 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00617/0.4299, allocations: 2.054 MB / 0.5079 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005544/0.4355, allocations: 3.168 MB / 0.511 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01235/0.4478, allocations: 6.094 MB / 0.517 GB, free: 5.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4199/0.8677, allocations: 22.39 MB / 0.5388 GB, free: 39.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8677, allocations: 4.75 kB / 0.5388 GB, free: 39.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.123e-06/0.8677, allocations: 4.219 kB / 0.5388 GB, free: 39.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005244/0.8682, allocations: 0.6562 kB / 0.5388 GB, free: 39.75 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.03481/0.903, allocations: 12.88 MB / 0.5514 GB, free: 36.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.9031, allocations: 8.203 kB / 0.5514 GB, free: 36.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03324/0.9363, allocations: 6.179 MB / 0.5575 GB, free: 35.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01527/0.9516, allocations: 7.012 MB / 0.5643 GB, free: 34.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006751/0.9523, allocations: 0.6998 MB / 0.565 GB, free: 34.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003766/0.956, allocations: 0.9205 MB / 0.5659 GB, free: 34.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03652/0.9925, allocations: 15.78 MB / 0.5813 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004159/0.993, allocations: 11.91 kB / 0.5813 GB, free: 24.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003154/0.9961, allocations: 390.9 kB / 0.5817 GB, free: 23.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004735/0.9966, allocations: 0.5547 MB / 0.5822 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02742/1.024, allocations: 14.81 MB / 0.5967 GB, free: 8.273 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09738/1.121, allocations: 49.9 MB / 0.6454 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01922/1.141, allocations: 9.313 MB / 0.6545 GB, free: 14.05 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005715/1.146, allocations: 2.928 MB / 0.6574 GB, free: 11.12 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005319/1.147, allocations: 122.7 kB / 0.6575 GB, free: 11.03 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.433e-05/1.147, allocations: 81.67 kB / 0.6576 GB, free: 10.94 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=398): time 6.583e-06/1.147, allocations: 0 / 0.6576 GB, free: 10.94 MB / 0.4982 GB Notification: Performance of matching and sorting (n=404): time 0.04465/1.192, allocations: 17.26 MB / 0.6744 GB, free: 9.699 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/1.192, allocations: 100.8 kB / 0.6745 GB, free: 9.59 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007214/1.199, allocations: 3.701 MB / 0.6781 GB, free: 5.891 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005647/1.199, allocations: 89.7 kB / 0.6782 GB, free: 5.797 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003316/1.203, allocations: 4.132 MB / 0.6823 GB, free: 1.656 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001841/1.205, allocations: 1.44 MB / 0.6837 GB, free: 240 kB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002804/1.207, allocations: 1.156 MB / 0.6848 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.208, allocations: 301.1 kB / 0.6851 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004915/1.212, allocations: 2.799 MB / 0.6878 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006837/1.219, allocations: 4.969 MB / 0.6927 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01255/1.232, allocations: 8.323 MB / 0.7008 GB, free: 13.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-05/1.232, allocations: 23.94 kB / 0.7008 GB, free: 12.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.0188/1.251, allocations: 9.104 MB / 0.7097 GB, free: 4.312 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/1.251, allocations: 32 kB / 0.7097 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000142/1.251, allocations: 72 kB / 0.7098 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003674/1.255, allocations: 1.228 MB / 0.711 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005285/1.26, allocations: 1.327 MB / 0.7123 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01709/1.277, allocations: 9.814 MB / 0.7219 GB, free: 7.867 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004937/1.282, allocations: 331.5 kB / 0.7222 GB, free: 7.543 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/1.283, allocations: 288 kB / 0.7225 GB, free: 7.262 MB / 0.5607 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.008532/1.292, allocations: 3.71 MB / 0.7261 GB, free: 3.633 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001646/1.294, allocations: 425.3 kB / 0.7265 GB, free: 3.215 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/1.309, allocations: 6.655 MB / 0.733 GB, free: 12.56 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01089/1.32, allocations: 5.586 MB / 0.7385 GB, free: 6.988 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.998e-05/1.32, allocations: 12 kB / 0.7385 GB, free: 6.977 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-05/1.32, allocations: 23.91 kB / 0.7385 GB, free: 6.953 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03441/1.354, allocations: 15.77 MB / 0.7539 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.201e-05/1.354, allocations: 11.98 kB / 0.7539 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003587/1.358, allocations: 0.7253 MB / 0.7546 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003669/1.361, allocations: 1.116 MB / 0.7557 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008847/1.362, allocations: 91.97 kB / 0.7558 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2498/1.612, allocations: 8.748 MB / 0.7643 GB, free: 223.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.612, allocations: 7.812 kB / 0.7643 GB, free: 223.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/1.626, allocations: 9.87 MB / 0.774 GB, free: 220.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00284/1.628, allocations: 0.9212 MB / 0.7749 GB, free: 220.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008012/1.629, allocations: 79.19 kB / 0.775 GB, free: 220.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/1.631, allocations: 194 kB / 0.7751 GB, free: 220.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005853/1.632, allocations: 311.6 kB / 0.7754 GB, free: 220.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002194/1.632, allocations: 121.2 kB / 0.7756 GB, free: 220.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003341/1.635, allocations: 2.496 MB / 0.778 GB, free: 219.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.635, allocations: 0 / 0.778 GB, free: 219.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006248/1.642, allocations: 1.608 MB / 0.7796 GB, free: 219.1 MB / 0.5919 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.0007644/1.642, allocations: 282.7 kB / 0.7798 GB, free: 219 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01019/1.653, allocations: 6.87 MB / 0.7865 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/1.653, allocations: 0 / 0.7865 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005418/1.658, allocations: 3.179 MB / 0.7897 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004527/1.663, allocations: 0.9779 MB / 0.7906 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02511/1.688, allocations: 16.43 MB / 0.8067 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00507/1.693, allocations: 6.01 MB / 0.8125 GB, free: 197.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/1.694, allocations: 412.9 kB / 0.8129 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.493e-06/1.694, allocations: 0 / 0.8129 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1604/1.855, allocations: 160.7 MB / 0.9699 GB, free: 37.69 MB / 0.5919 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: 16.00845620315522]