Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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) 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_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_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=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008508/0.0008506, allocations: 96.09 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001033/0.001033, allocations: 204.2 kB / 18.93 MB, free: 4.719 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.7 MB / 247.4 MB, free: 11.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 4 kB / 308.4 MB, free: 0.7383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1204, allocations: 51.53 MB / 359.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2211/0.3416, allocations: 23.26 MB / 383.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.3552, allocations: 7.32 MB / 390.5 MB, free: 4.668 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004807/0.3601, allocations: 174.6 kB / 390.7 MB, free: 4.633 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005526/0.3656, allocations: 1.796 MB / 392.5 MB, free: 3.828 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.376, allocations: 2.659 MB / 395.1 MB, free: 2.199 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005018/0.3811, allocations: 1.512 MB / 396.7 MB, free: 1.195 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01576/0.3968, allocations: 10.73 MB / 407.4 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03919/0.4361, allocations: 22.14 MB / 429.5 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007138/0.4432, allocations: 4.021 MB / 433.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008028/0.4513, allocations: 4.781 MB / 438.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002297/0.4536, allocations: 0.6406 MB / 439 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004522/0.4582, allocations: 1.031 MB / 440 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002961/0.4612, allocations: 1.93 MB / 441.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008249/0.4694, allocations: 4.776 MB / 446.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01986/0.4893, allocations: 19.01 MB / 465.7 MB, free: 1.867 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4893, allocations: 3.938 kB / 465.7 MB, free: 1.863 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.4894, allocations: 0 / 465.7 MB, free: 1.863 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005174/0.4899, allocations: 0 / 465.7 MB, free: 1.863 MB / 366.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.03164/0.5215, allocations: 10.71 MB / 476.4 MB, free: 7.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.5216, allocations: 8.031 kB / 476.4 MB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0355/0.5571, allocations: 6.185 MB / 482.6 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01399/0.5711, allocations: 6.753 MB / 489.4 MB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008251/0.572, allocations: 0.7063 MB / 490.1 MB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003484/0.5755, allocations: 0.9256 MB / 491 MB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03978/0.6153, allocations: 15.76 MB / 0.4949 GB, free: 8.582 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004973/0.6158, allocations: 15.84 kB / 0.4949 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003146/0.619, allocations: 396 kB / 0.4953 GB, free: 8.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006549/0.6197, allocations: 0.547 MB / 0.4958 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03391/0.6536, allocations: 14.79 MB / 0.5103 GB, free: 8.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4483/1.102, allocations: 52.79 MB / 0.5618 GB, free: 103.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01834/1.12, allocations: 26.45 MB / 0.5876 GB, free: 79.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004212/1.125, allocations: 3.266 MB / 0.5908 GB, free: 78.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003231/1.125, allocations: 248.8 kB / 0.5911 GB, free: 78.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/1.125, allocations: 77.52 kB / 0.5911 GB, free: 78.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=404): time 5.651e-06/1.125, allocations: 4 kB / 0.5911 GB, free: 78.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=410): time 0.03261/1.158, allocations: 17.36 MB / 0.6081 GB, free: 68.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/1.158, allocations: 97.67 kB / 0.6082 GB, free: 68.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004542/1.162, allocations: 3.691 MB / 0.6118 GB, free: 66.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003565/1.163, allocations: 97.05 kB / 0.6119 GB, free: 66.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001598/1.164, allocations: 3.975 MB / 0.6158 GB, free: 62.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008964/1.165, allocations: 1.394 MB / 0.6171 GB, free: 61.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005272/1.166, allocations: 469.9 kB / 0.6176 GB, free: 61.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.596e-05/1.166, allocations: 305.1 kB / 0.6179 GB, free: 60.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003411/1.169, allocations: 2.842 MB / 0.6206 GB, free: 58.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004112/1.173, allocations: 5.001 MB / 0.6255 GB, free: 52.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008068/1.181, allocations: 8.401 MB / 0.6337 GB, free: 42.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.718e-05/1.181, allocations: 20 kB / 0.6338 GB, free: 42.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01303/1.194, allocations: 9.163 MB / 0.6427 GB, free: 33.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.741e-05/1.194, allocations: 39.84 kB / 0.6427 GB, free: 33.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.542e-05/1.195, allocations: 68.53 kB / 0.6428 GB, free: 33.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002903/1.197, allocations: 1.203 MB / 0.644 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004238/1.202, allocations: 1.318 MB / 0.6453 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/1.213, allocations: 9.128 MB / 0.6542 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003925/1.217, allocations: 335.4 kB / 0.6545 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006318/1.218, allocations: 284 kB / 0.6548 GB, free: 21.05 MB / 446.1 MB 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 (697): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00519/1.223, allocations: 3.712 MB / 0.6584 GB, free: 17.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007964/1.224, allocations: 403 kB / 0.6588 GB, free: 16.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/1.234, allocations: 6.772 MB / 0.6654 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008095/1.242, allocations: 5.662 MB / 0.6709 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.829e-05/1.242, allocations: 16 kB / 0.6709 GB, free: 4.418 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-05/1.243, allocations: 19.92 kB / 0.671 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02651/1.269, allocations: 16.21 MB / 0.6868 GB, free: 4.012 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/1.269, allocations: 8 kB / 0.6868 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002916/1.272, allocations: 0.7216 MB / 0.6875 GB, free: 3.281 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/1.275, allocations: 1.075 MB / 0.6885 GB, free: 2.199 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003137/1.275, allocations: 91.97 kB / 0.6886 GB, free: 2.109 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/1.288, allocations: 8.08 MB / 0.6965 GB, free: 9.91 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.288, allocations: 4 kB / 0.6965 GB, free: 9.906 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/1.304, allocations: 9.967 MB / 0.7063 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002564/1.306, allocations: 0.9722 MB / 0.7072 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008/1.307, allocations: 79.98 kB / 0.7073 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00234/1.31, allocations: 207.9 kB / 0.7075 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006837/1.31, allocations: 283.3 kB / 0.7078 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002526/1.311, allocations: 123.9 kB / 0.7079 GB, free: 14.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004443/1.315, allocations: 2.495 MB / 0.7103 GB, free: 11.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.3e-07/1.315, allocations: 3.938 kB / 0.7103 GB, free: 11.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006598/1.322, allocations: 1.618 MB / 0.7119 GB, free: 10.05 MB / 494.1 MB 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 (392): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008974/1.323, allocations: 279.9 kB / 0.7122 GB, free: 9.781 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01331/1.336, allocations: 7.203 MB / 0.7192 GB, free: 2.562 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/1.336, allocations: 7.875 kB / 0.7192 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2039/1.54, allocations: 3.419 MB / 0.7225 GB, free: 164.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008516/1.548, allocations: 0.9149 MB / 0.7234 GB, free: 164.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03639/1.585, allocations: 20.37 MB / 0.7433 GB, free: 155.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007332/1.592, allocations: 6.006 MB / 0.7492 GB, free: 153.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001748/1.594, allocations: 383.8 kB / 0.7496 GB, free: 153.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.302e-06/1.594, allocations: 0 / 0.7496 GB, free: 153.3 MB / 494.1 MB Notification: Performance of Templates: time 0.4283/2.022, allocations: 156.8 MB / 0.9027 GB, free: 152.3 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches