Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_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.001096/0.001096, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 55.78 kB / 307 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08608/0.08731, allocations: 50.54 MB / 357.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1821/0.2695, allocations: 24.88 MB / 382.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01508/0.2846, allocations: 8.062 MB / 390.4 MB, free: 3.223 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00495/0.2896, allocations: 183.2 kB / 390.6 MB, free: 3.188 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01721/0.3069, allocations: 8.362 MB / 399 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009811/0.3167, allocations: 3.03 MB / 402 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005096/0.3218, allocations: 1.825 MB / 403.8 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01375/0.3356, allocations: 11.12 MB / 415 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03456/0.3702, allocations: 23.51 MB / 438.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009125/0.3793, allocations: 5.888 MB / 444.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01033/0.3897, allocations: 6.569 MB / 450.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004564/0.3943, allocations: 1.715 MB / 452.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006701/0.401, allocations: 2.16 MB / 454.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004946/0.406, allocations: 3.355 MB / 458.2 MB, free: 7.594 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01001/0.416, allocations: 6.354 MB / 464.5 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02246/0.4385, allocations: 23.03 MB / 487.5 MB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/0.4385, allocations: 0 / 487.5 MB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4385, allocations: 4 kB / 487.6 MB, free: 10.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007045/0.4393, allocations: 0 / 487.6 MB, free: 10.11 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.04012/0.4794, allocations: 13.46 MB / 0.4893 GB, free: 12.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.4795, allocations: 8.031 kB / 0.4893 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03634/0.5158, allocations: 6.231 MB / 0.4954 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01691/0.5327, allocations: 7.077 MB / 0.5023 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008694/0.5337, allocations: 0.7186 MB / 0.503 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004996/0.5387, allocations: 0.9491 MB / 0.5039 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04105/0.5798, allocations: 16.14 MB / 0.5197 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004413/0.5802, allocations: 7.906 kB / 0.5197 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00296/0.5832, allocations: 408 kB / 0.5201 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006413/0.5839, allocations: 0.5592 MB / 0.5206 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3919/0.9758, allocations: 15.09 MB / 0.5353 GB, free: 125.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07796/1.054, allocations: 53.13 MB / 0.5872 GB, free: 90.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01418/1.068, allocations: 20.09 MB / 0.6068 GB, free: 72.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004532/1.073, allocations: 3.638 MB / 0.6104 GB, free: 69.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003326/1.073, allocations: 265.2 kB / 0.6107 GB, free: 69.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/1.073, allocations: 78.06 kB / 0.6107 GB, free: 69.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=447): time 6.322e-06/1.073, allocations: 0 / 0.6107 GB, free: 69.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=452): time 0.04314/1.116, allocations: 20.63 MB / 0.6309 GB, free: 48.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/1.116, allocations: 94.95 kB / 0.631 GB, free: 48.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004658/1.121, allocations: 4.509 MB / 0.6354 GB, free: 44.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002953/1.121, allocations: 93.7 kB / 0.6355 GB, free: 43.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/1.123, allocations: 4.203 MB / 0.6396 GB, free: 39.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008211/1.123, allocations: 1.53 MB / 0.6411 GB, free: 38.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001425/1.125, allocations: 1.192 MB / 0.6422 GB, free: 36.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.353e-05/1.125, allocations: 309.1 kB / 0.6425 GB, free: 36.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003511/1.128, allocations: 3.069 MB / 0.6455 GB, free: 33.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004257/1.133, allocations: 5.215 MB / 0.6506 GB, free: 27.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009063/1.142, allocations: 8.864 MB / 0.6593 GB, free: 17.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.927e-05/1.142, allocations: 24 kB / 0.6593 GB, free: 17.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01428/1.156, allocations: 9.862 MB / 0.6689 GB, free: 7.664 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/1.156, allocations: 42.84 kB / 0.669 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.63e-05/1.156, allocations: 68 kB / 0.669 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003415/1.16, allocations: 1.407 MB / 0.6704 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004518/1.164, allocations: 1.388 MB / 0.6718 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/1.181, allocations: 12.68 MB / 0.6841 GB, free: 7.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004184/1.185, allocations: 355.5 kB / 0.6845 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006241/1.185, allocations: 292 kB / 0.6848 GB, free: 7.18 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.005635/1.191, allocations: 3.892 MB / 0.6886 GB, free: 3.273 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009294/1.192, allocations: 466.2 kB / 0.689 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/1.206, allocations: 8.514 MB / 0.6973 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01011/1.216, allocations: 6.244 MB / 0.7034 GB, free: 3.977 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.881e-05/1.216, allocations: 12 kB / 0.7034 GB, free: 3.965 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.989e-05/1.216, allocations: 27.91 kB / 0.7034 GB, free: 3.938 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1913/1.407, allocations: 17.66 MB / 0.7207 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.048e-05/1.407, allocations: 7.75 kB / 0.7207 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003173/1.41, allocations: 0.8071 MB / 0.7215 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003394/1.414, allocations: 1.298 MB / 0.7228 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003295/1.414, allocations: 106.3 kB / 0.7229 GB, free: 143 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/1.427, allocations: 11.56 MB / 0.7342 GB, free: 136.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/1.427, allocations: 12.69 kB / 0.7342 GB, free: 136.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/1.443, allocations: 11.19 MB / 0.7451 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002042/1.445, allocations: 1.083 MB / 0.7462 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006724/1.445, allocations: 97.75 kB / 0.7462 GB, free: 130.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002167/1.447, allocations: 231.5 kB / 0.7465 GB, free: 130.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006327/1.448, allocations: 333.7 kB / 0.7468 GB, free: 130.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002433/1.448, allocations: 133.9 kB / 0.7469 GB, free: 130.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003609/1.452, allocations: 3.118 MB / 0.75 GB, free: 129.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.92e-07/1.452, allocations: 0 / 0.75 GB, free: 129.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004987/1.457, allocations: 1.729 MB / 0.7516 GB, free: 128.8 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.00116/1.458, allocations: 0.5359 MB / 0.7522 GB, free: 128.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03007/1.488, allocations: 14.99 MB / 0.7668 GB, free: 114.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/1.488, allocations: 0 / 0.7668 GB, free: 114.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00563/1.494, allocations: 3.932 MB / 0.7706 GB, free: 111.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004604/1.499, allocations: 1.05 MB / 0.7717 GB, free: 110.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02435/1.523, allocations: 18.26 MB / 0.7895 GB, free: 93.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005339/1.528, allocations: 6.516 MB / 0.7959 GB, free: 87.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005196/1.534, allocations: 2.119 MB / 0.7979 GB, free: 84.98 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.535, allocations: 375.4 kB / 0.7983 GB, free: 84.61 MB / 478.1 MB Notification: Performance of SimCode: time 9.71e-07/1.535, allocations: 0 / 0.7983 GB, free: 84.61 MB / 478.1 MB Notification: Performance of Templates: time 0.107/1.642, allocations: 75.29 MB / 0.8718 GB, free: 9.797 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches