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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001784/0.001784, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.519/1.519, allocations: 230.4 MB / 251.1 MB, free: 8.52 MB / 206.1 MB 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.003609/0.003609, allocations: 71.83 kB / 369 MB, free: 6.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2657, allocations: 53.32 MB / 422.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02884/0.2945, allocations: 24.9 MB / 447.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01531/0.3098, allocations: 7.469 MB / 454.7 MB, free: 7.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003832/0.3136, allocations: 187.4 kB / 454.9 MB, free: 7.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02128/0.3349, allocations: 8.88 MB / 463.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009532/0.3445, allocations: 2.966 MB / 466.7 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005079/0.3495, allocations: 1.742 MB / 468.4 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01454/0.3641, allocations: 10.86 MB / 479.3 MB, free: 14.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0316/0.3957, allocations: 16.59 MB / 495.9 MB, free: 13.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01338/0.4091, allocations: 5.755 MB / 0.4899 GB, free: 8.156 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01122/0.4203, allocations: 6.358 MB / 0.4961 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004498/0.4248, allocations: 1.668 MB / 0.4977 GB, free: 112 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00636/0.4311, allocations: 2.054 MB / 0.4997 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005444/0.4366, allocations: 3.16 MB / 0.5028 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0115/0.4481, allocations: 6.09 MB / 0.5088 GB, free: 4.773 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03104/0.4791, allocations: 22.41 MB / 0.5306 GB, free: 14.29 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.4791, allocations: 0 / 0.5306 GB, free: 14.29 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4791, allocations: 0 / 0.5306 GB, free: 14.29 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000618/0.4798, allocations: 0 / 0.5306 GB, free: 14.29 MB / 462.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.04177/0.5215, allocations: 12.96 MB / 0.5433 GB, free: 1.219 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.5216, allocations: 12.02 kB / 0.5433 GB, free: 1.207 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4511/0.9726, allocations: 6.178 MB / 0.5494 GB, free: 102.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/0.9853, allocations: 6.935 MB / 0.5561 GB, free: 98.54 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005561/0.9858, allocations: 0.6967 MB / 0.5568 GB, free: 98.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003715/0.9895, allocations: 0.918 MB / 0.5577 GB, free: 97.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03215/1.022, allocations: 15.78 MB / 0.5731 GB, free: 85.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002412/1.022, allocations: 19.83 kB / 0.5731 GB, free: 85.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001587/1.024, allocations: 398.1 kB / 0.5735 GB, free: 85.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000384/1.024, allocations: 0.5508 MB / 0.574 GB, free: 84.87 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02556/1.049, allocations: 14.8 MB / 0.5885 GB, free: 70.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07193/1.121, allocations: 52.19 MB / 0.6395 GB, free: 17.06 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02165/1.143, allocations: 26.09 MB / 0.6649 GB, free: 3.918 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005344/1.148, allocations: 2.943 MB / 0.6678 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004928/1.149, allocations: 274.3 kB / 0.6681 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.685e-05/1.149, allocations: 81.69 kB / 0.6682 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 5.64e-06/1.149, allocations: 0 / 0.6682 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of matching and sorting (n=404): time 0.0471/1.196, allocations: 17.41 MB / 0.6852 GB, free: 15.26 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/1.196, allocations: 98.58 kB / 0.6853 GB, free: 15.15 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007065/1.203, allocations: 3.701 MB / 0.6889 GB, free: 11.45 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007439/1.204, allocations: 85.7 kB / 0.689 GB, free: 11.36 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003385/1.207, allocations: 4.13 MB / 0.693 GB, free: 7.195 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002032/1.209, allocations: 1.445 MB / 0.6944 GB, free: 5.738 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00184/1.211, allocations: 1.152 MB / 0.6955 GB, free: 4.574 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.211, allocations: 301.1 kB / 0.6958 GB, free: 4.277 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004479/1.216, allocations: 2.807 MB / 0.6986 GB, free: 1.465 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006291/1.222, allocations: 4.962 MB / 0.7034 GB, free: 11.5 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/1.234, allocations: 8.326 MB / 0.7115 GB, free: 2.18 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.085e-05/1.234, allocations: 20 kB / 0.7115 GB, free: 2.16 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01684/1.25, allocations: 9.102 MB / 0.7204 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/1.25, allocations: 32 kB / 0.7205 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001352/1.251, allocations: 72 kB / 0.7205 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003488/1.254, allocations: 1.231 MB / 0.7217 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004952/1.259, allocations: 1.326 MB / 0.723 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01659/1.276, allocations: 9.919 MB / 0.7327 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004589/1.28, allocations: 335.5 kB / 0.733 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/1.281, allocations: 295.9 kB / 0.7333 GB, free: 11.7 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.007591/1.289, allocations: 3.708 MB / 0.7369 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/1.29, allocations: 425.2 kB / 0.7373 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/1.305, allocations: 6.654 MB / 0.7438 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01077/1.315, allocations: 5.579 MB / 0.7493 GB, free: 11.26 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.664e-05/1.315, allocations: 12 kB / 0.7493 GB, free: 11.25 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.83e-05/1.315, allocations: 27.84 kB / 0.7493 GB, free: 11.22 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2644/1.58, allocations: 15.75 MB / 0.7647 GB, free: 192 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.58, allocations: 3.969 kB / 0.7647 GB, free: 192 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002785/1.583, allocations: 0.7297 MB / 0.7654 GB, free: 192 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002994/1.586, allocations: 1.114 MB / 0.7665 GB, free: 191.9 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003702/1.586, allocations: 99.19 kB / 0.7666 GB, free: 191.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/1.597, allocations: 8.846 MB / 0.7753 GB, free: 187.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.597, allocations: 7.875 kB / 0.7753 GB, free: 187.1 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01336/1.61, allocations: 9.855 MB / 0.7849 GB, free: 183 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/1.612, allocations: 0.9772 MB / 0.7858 GB, free: 182.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005658/1.613, allocations: 83.78 kB / 0.7859 GB, free: 182.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001889/1.615, allocations: 193.8 kB / 0.7861 GB, free: 182.5 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006076/1.615, allocations: 290.9 kB / 0.7864 GB, free: 182.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002254/1.615, allocations: 131.5 kB / 0.7865 GB, free: 182.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003429/1.619, allocations: 2.494 MB / 0.7889 GB, free: 181.5 MB / 0.5607 GB Notification: Performance of sort global known variables: time 9e-08/1.619, allocations: 0 / 0.7889 GB, free: 181.5 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.004949/1.624, allocations: 1.611 MB / 0.7905 GB, free: 181.3 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.0005932/1.624, allocations: 280.4 kB / 0.7908 GB, free: 181.2 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01049/1.635, allocations: 6.865 MB / 0.7975 GB, free: 178.3 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/1.635, allocations: 4 kB / 0.7975 GB, free: 178.3 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005159/1.64, allocations: 3.174 MB / 0.8006 GB, free: 175.6 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004566/1.645, allocations: 0.977 MB / 0.8015 GB, free: 174.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02492/1.669, allocations: 16.72 MB / 0.8179 GB, free: 159.5 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005581/1.675, allocations: 6.196 MB / 0.8239 GB, free: 153.4 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.00445/1.68, allocations: 1.908 MB / 0.8258 GB, free: 151.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009716/1.68, allocations: 363.3 kB / 0.8261 GB, free: 151.2 MB / 0.5607 GB Notification: Performance of SimCode: time 1.372e-06/1.68, allocations: 4 kB / 0.8261 GB, free: 151.2 MB / 0.5607 GB Notification: Performance of Templates: time 0.1205/1.801, allocations: 68.35 MB / 0.8929 GB, free: 83.32 MB / 0.5607 GB 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 -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/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-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches