Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 195.3 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 226.5 MB / 244.7 MB, free: 8.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009852/0.0009852, allocations: 99.73 kB / 296.8 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002168/0.0002168, allocations: 8 kB / 356.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2043, allocations: 51.29 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.009295/0.2136, allocations: 12.39 MB / 420.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00669/0.2204, allocations: 4.796 MB / 425.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.2219, allocations: 79.69 kB / 425.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001952/0.2239, allocations: 0.8587 MB / 426.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002687/0.2266, allocations: 1.154 MB / 427.3 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.2283, allocations: 0.7244 MB / 428.1 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003652/0.2319, allocations: 4.184 MB / 432.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002413/0.2344, allocations: 2.701 MB / 434.9 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.2361, allocations: 1.315 MB / 436.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/0.2382, allocations: 1.669 MB / 437.9 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003602/0.2386, allocations: 208 kB / 438.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.2397, allocations: 467.7 kB / 438.6 MB, free: 13.03 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006682/0.2404, allocations: 0.7746 MB / 439.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001776/0.2422, allocations: 1.713 MB / 441.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005158/0.2473, allocations: 5.602 MB / 446.7 MB, free: 4.906 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2474, allocations: 0 / 446.7 MB, free: 4.906 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2474, allocations: 0 / 446.7 MB, free: 4.906 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001263/0.2475, allocations: 0 / 446.7 MB, free: 4.906 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.009/0.2565, allocations: 3.825 MB / 450.5 MB, free: 1.008 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2566, allocations: 8.031 kB / 450.5 MB, free: 1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004126/0.2607, allocations: 0.8357 MB / 451.3 MB, free: 164 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004425/0.2651, allocations: 2.381 MB / 453.7 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/0.2654, allocations: 242.4 kB / 454 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006481/0.266, allocations: 312 kB / 454.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008016/0.2741, allocations: 4.276 MB / 458.5 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.649e-05/0.2742, allocations: 7.891 kB / 458.6 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003785/0.2746, allocations: 132 kB / 458.7 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.2747, allocations: 150.4 kB / 458.8 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006954/0.2817, allocations: 3.609 MB / 462.4 MB, free: 4.949 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02193/0.3036, allocations: 13.56 MB / 476 MB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006918/0.3106, allocations: 7.226 MB / 483.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002926/0.3136, allocations: 1.593 MB / 484.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00743/0.321, allocations: 4.327 MB / 489.1 MB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/0.3224, allocations: 0.8728 MB / 490 MB, free: 7.883 MB / 362.7 MB Notification: Performance of pre-optimization done (n=132): time 3.727e-06/0.3225, allocations: 0 / 490 MB, free: 7.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=140): time 0.01336/0.3358, allocations: 6.72 MB / 496.7 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.336, allocations: 226.8 kB / 497 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/0.3394, allocations: 1.92 MB / 498.9 MB, free: 14.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.3395, allocations: 49.7 kB / 498.9 MB, free: 14.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001413/0.3409, allocations: 1.49 MB / 0.4887 GB, free: 13.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000451/0.3414, allocations: 489 kB / 0.4892 GB, free: 12.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.3415, allocations: 32 kB / 0.4892 GB, free: 12.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3417, allocations: 373.9 kB / 0.4895 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.3429, allocations: 0.6715 MB / 0.4902 GB, free: 11.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.3445, allocations: 1.221 MB / 0.4914 GB, free: 10.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/0.3474, allocations: 1.947 MB / 0.4933 GB, free: 8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.3474, allocations: 8 kB / 0.4933 GB, free: 7.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004364/0.3518, allocations: 2.507 MB / 0.4957 GB, free: 5.445 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.3518, allocations: 12 kB / 0.4958 GB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.3518, allocations: 16 kB / 0.4958 GB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008728/0.3527, allocations: 327.5 kB / 0.4961 GB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.3541, allocations: 387.4 kB / 0.4965 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1843/0.5384, allocations: 6.264 MB / 0.5026 GB, free: 86.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.54, allocations: 99.12 kB / 0.5027 GB, free: 86.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.5402, allocations: 71.14 kB / 0.5027 GB, free: 86.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001845/0.5421, allocations: 1.044 MB / 0.5038 GB, free: 86.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/0.5423, allocations: 202.7 kB / 0.5039 GB, free: 86.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003756/0.5461, allocations: 2.343 MB / 0.5062 GB, free: 85.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/0.5461, allocations: 15.78 kB / 0.5063 GB, free: 85.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/0.5461, allocations: 7.812 kB / 0.5063 GB, free: 85.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.5462, allocations: 7.219 kB / 0.5063 GB, free: 85.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006763/0.5529, allocations: 5.242 MB / 0.5114 GB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.553, allocations: 0 / 0.5114 GB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006902/0.5537, allocations: 171.7 kB / 0.5115 GB, free: 82.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001277/0.5549, allocations: 0.494 MB / 0.512 GB, free: 82.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-05/0.5551, allocations: 39.14 kB / 0.5121 GB, free: 82.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008025/0.5631, allocations: 10.62 MB / 0.5224 GB, free: 73.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5631, allocations: 3.594 kB / 0.5224 GB, free: 73.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004137/0.5673, allocations: 3.24 MB / 0.5256 GB, free: 72.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006746/0.5679, allocations: 440.4 kB / 0.526 GB, free: 72.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003009/0.5683, allocations: 35.59 kB / 0.5261 GB, free: 72.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008581/0.5691, allocations: 65.39 kB / 0.5261 GB, free: 72.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.5693, allocations: 107.1 kB / 0.5262 GB, free: 72.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.676e-05/0.5694, allocations: 34.5 kB / 0.5263 GB, free: 72.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001806/0.5712, allocations: 1.317 MB / 0.5275 GB, free: 71.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5712, allocations: 0 / 0.5275 GB, free: 71.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001908/0.5732, allocations: 0.6037 MB / 0.5281 GB, free: 70.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 8,(1,100.0%) 3,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009881/0.5742, allocations: 476.2 kB / 0.5286 GB, free: 70.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002932/0.5771, allocations: 2.219 MB / 0.5308 GB, free: 68.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.5771, allocations: 4 kB / 0.5308 GB, free: 68.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.579, allocations: 1.602 MB / 0.5323 GB, free: 66.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.5814, allocations: 0.5174 MB / 0.5328 GB, free: 66.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008523/0.5899, allocations: 7.033 MB / 0.5397 GB, free: 59.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/0.5914, allocations: 2.308 MB / 0.542 GB, free: 56.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004393/0.5918, allocations: 151.3 kB / 0.5421 GB, free: 56.7 MB / 378.7 MB Notification: Performance of SimCode: time 6.32e-07/0.5918, allocations: 0 / 0.5421 GB, free: 56.7 MB / 378.7 MB Notification: Performance of Templates: time 0.09869/0.6905, allocations: 114.4 MB / 0.6538 GB, free: 6.328 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches