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_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001472/0.001472, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001654/0.001653, allocations: 207.8 kB / 19.25 MB, free: 3.941 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.496/1.496, allocations: 227.7 MB / 247.7 MB, free: 10.37 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.002092/0.002092, allocations: 64.41 kB / 307.9 MB, free: 492 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1085, allocations: 50.54 MB / 358.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2248/0.3333, allocations: 24.87 MB / 383.3 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01776/0.3511, allocations: 8.072 MB / 391.4 MB, free: 3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006815/0.358, allocations: 182.4 kB / 391.6 MB, free: 2.965 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01963/0.3777, allocations: 8.361 MB / 399.9 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01332/0.391, allocations: 3.019 MB / 403 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007139/0.3982, allocations: 1.83 MB / 404.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01893/0.4171, allocations: 11.13 MB / 415.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04118/0.4583, allocations: 23.5 MB / 439.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01204/0.4704, allocations: 5.88 MB / 445.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01329/0.4838, allocations: 6.581 MB / 451.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005342/0.4891, allocations: 1.715 MB / 453.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008194/0.4974, allocations: 2.152 MB / 455.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00631/0.5037, allocations: 3.355 MB / 459.1 MB, free: 7.367 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01349/0.5172, allocations: 6.358 MB / 465.5 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03305/0.5503, allocations: 23.03 MB / 488.5 MB, free: 9.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.5504, allocations: 4 kB / 488.5 MB, free: 9.891 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.5504, allocations: 0 / 488.5 MB, free: 9.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008831/0.5513, allocations: 0 / 488.5 MB, free: 9.891 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04614/0.5974, allocations: 13.47 MB / 0.4902 GB, free: 12.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.5975, allocations: 16.03 kB / 0.4902 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04424/0.6417, allocations: 6.227 MB / 0.4963 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02389/0.6657, allocations: 7.073 MB / 0.5032 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001148/0.6669, allocations: 0.7225 MB / 0.5039 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005211/0.6721, allocations: 0.9491 MB / 0.5048 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04857/0.7207, allocations: 16.14 MB / 0.5206 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003214/0.7211, allocations: 7.906 kB / 0.5206 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003379/0.7244, allocations: 404 kB / 0.521 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006556/0.7251, allocations: 0.5553 MB / 0.5215 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.371/1.096, allocations: 15.09 MB / 0.5363 GB, free: 125.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07877/1.175, allocations: 53.13 MB / 0.5882 GB, free: 90.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01599/1.191, allocations: 20.09 MB / 0.6078 GB, free: 72.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00525/1.196, allocations: 3.642 MB / 0.6113 GB, free: 69.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005185/1.197, allocations: 265.3 kB / 0.6116 GB, free: 69.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.526e-05/1.197, allocations: 78.06 kB / 0.6117 GB, free: 69.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=447): time 9.307e-06/1.197, allocations: 0 / 0.6117 GB, free: 69.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=452): time 0.04849/1.245, allocations: 20.63 MB / 0.6318 GB, free: 48.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/1.245, allocations: 98.95 kB / 0.6319 GB, free: 48.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007614/1.253, allocations: 4.505 MB / 0.6363 GB, free: 43.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004408/1.254, allocations: 97.7 kB / 0.6364 GB, free: 43.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002141/1.256, allocations: 4.199 MB / 0.6405 GB, free: 39.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001218/1.257, allocations: 1.538 MB / 0.642 GB, free: 37.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002128/1.259, allocations: 1.192 MB / 0.6432 GB, free: 36.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.941e-05/1.259, allocations: 309.1 kB / 0.6434 GB, free: 36.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003703/1.263, allocations: 3.061 MB / 0.6464 GB, free: 33.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004357/1.267, allocations: 5.219 MB / 0.6515 GB, free: 27.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00852/1.276, allocations: 8.868 MB / 0.6602 GB, free: 17.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.27e-05/1.276, allocations: 20 kB / 0.6602 GB, free: 17.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01349/1.289, allocations: 9.862 MB / 0.6698 GB, free: 7.309 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/1.289, allocations: 36 kB / 0.6699 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.532e-05/1.289, allocations: 71.98 kB / 0.6699 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003367/1.293, allocations: 1.415 MB / 0.6713 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004473/1.297, allocations: 1.384 MB / 0.6727 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01771/1.315, allocations: 12.68 MB / 0.6851 GB, free: 7.457 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005207/1.32, allocations: 355.5 kB / 0.6854 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001361/1.322, allocations: 292 kB / 0.6857 GB, free: 6.824 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008927/1.331, allocations: 3.892 MB / 0.6895 GB, free: 2.918 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001763/1.332, allocations: 466.2 kB / 0.6899 GB, free: 2.457 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01588/1.348, allocations: 8.506 MB / 0.6982 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01108/1.359, allocations: 6.256 MB / 0.7043 GB, free: 3.621 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.498e-05/1.359, allocations: 12 kB / 0.7044 GB, free: 3.609 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.546e-05/1.359, allocations: 19.92 kB / 0.7044 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2927/1.652, allocations: 17.66 MB / 0.7216 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/1.652, allocations: 7.969 kB / 0.7216 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003594/1.656, allocations: 0.8068 MB / 0.7224 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0039/1.66, allocations: 1.295 MB / 0.7237 GB, free: 142.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000554/1.66, allocations: 101.4 kB / 0.7238 GB, free: 142.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/1.675, allocations: 11.58 MB / 0.7351 GB, free: 135.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/1.675, allocations: 9.562 kB / 0.7351 GB, free: 135.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01673/1.691, allocations: 11.2 MB / 0.746 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002514/1.694, allocations: 1.086 MB / 0.7471 GB, free: 130.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006325/1.695, allocations: 88.8 kB / 0.7472 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002188/1.697, allocations: 237.5 kB / 0.7474 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007074/1.698, allocations: 332.9 kB / 0.7477 GB, free: 130.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002468/1.698, allocations: 134.3 kB / 0.7479 GB, free: 130.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0041/1.702, allocations: 3.117 MB / 0.7509 GB, free: 129.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.41e-07/1.702, allocations: 3.344 kB / 0.7509 GB, free: 129.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006198/1.708, allocations: 1.73 MB / 0.7526 GB, free: 128.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001893/1.71, allocations: 0.5402 MB / 0.7531 GB, free: 127.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03105/1.741, allocations: 14.98 MB / 0.7677 GB, free: 114.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.741, allocations: 0 / 0.7677 GB, free: 114.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006479/1.748, allocations: 3.925 MB / 0.7716 GB, free: 110.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005262/1.753, allocations: 1.06 MB / 0.7726 GB, free: 109.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02864/1.782, allocations: 18.01 MB / 0.7902 GB, free: 93.29 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00503/1.787, allocations: 6.327 MB / 0.7964 GB, free: 87.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00191/1.789, allocations: 423.3 kB / 0.7968 GB, free: 86.69 MB / 478.1 MB Notification: Performance of SimCode: time 1.663e-06/1.789, allocations: 0 / 0.7968 GB, free: 86.69 MB / 478.1 MB Notification: Performance of Templates: time 0.4326/2.221, allocations: 227.3 MB / 1.019 GB, free: 42.4 MB / 494.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches