Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 91.05 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 187 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.2 MB / 241.1 MB, free: 14.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002239/0.0002239, allocations: 7.938 kB / 300.8 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08814/0.08837, allocations: 50.4 MB / 351.2 MB, free: 3.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01213/0.1005, allocations: 10.85 MB / 362 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009524/0.1101, allocations: 4.572 MB / 366.6 MB, free: 4.316 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.1123, allocations: 71.69 kB / 366.6 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.1149, allocations: 0.8748 MB / 367.5 MB, free: 3.367 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004216/0.1191, allocations: 1.202 MB / 368.7 MB, free: 2.164 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.1212, allocations: 0.7003 MB / 369.4 MB, free: 1.469 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1636/0.2848, allocations: 2.779 MB / 372.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003096/0.2879, allocations: 2.247 MB / 374.4 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.2901, allocations: 1.273 MB / 375.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/0.2927, allocations: 1.513 MB / 377.2 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005715/0.2933, allocations: 204.8 kB / 377.4 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.2947, allocations: 396.2 kB / 377.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006913/0.2954, allocations: 0.7449 MB / 378.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.2965, allocations: 0.7456 MB / 379.3 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006225/0.3028, allocations: 5.508 MB / 384.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.3028, allocations: 2.406 kB / 384.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.3028, allocations: 1.156 kB / 384.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001718/0.303, allocations: 4 kB / 384.8 MB, free: 8.055 MB / 302.1 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.01026/0.3133, allocations: 3.816 MB / 388.6 MB, free: 5.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3133, allocations: 9.281 kB / 388.7 MB, free: 5.922 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004744/0.3181, allocations: 0.8352 MB / 389.5 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004609/0.3227, allocations: 2.312 MB / 391.8 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.3229, allocations: 247.6 kB / 392 MB, free: 4.742 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006382/0.3235, allocations: 321.2 kB / 392.4 MB, free: 4.738 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006835/0.3304, allocations: 4.233 MB / 396.6 MB, free: 3.781 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.568e-05/0.3305, allocations: 7.812 kB / 396.6 MB, free: 3.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002859/0.3308, allocations: 132.4 kB / 396.7 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/0.3309, allocations: 153.7 kB / 396.9 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005298/0.3362, allocations: 3.613 MB / 400.5 MB, free: 2.133 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02077/0.357, allocations: 13.42 MB / 413.9 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006917/0.364, allocations: 6.944 MB / 420.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005895/0.3699, allocations: 3.273 MB / 424.1 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/0.3712, allocations: 0.9119 MB / 425 MB, free: 8.555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=143): time 2.715e-06/0.3712, allocations: 2.406 kB / 425 MB, free: 8.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=152): time 0.01295/0.3842, allocations: 6.926 MB / 432 MB, free: 1.449 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/0.3843, allocations: 222.9 kB / 432.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/0.3869, allocations: 1.845 MB / 434 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.387, allocations: 49.7 kB / 434.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.3882, allocations: 1.455 MB / 435.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000394/0.3886, allocations: 0.5172 MB / 436 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.339e-05/0.3887, allocations: 36 kB / 436.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.3889, allocations: 377.9 kB / 436.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.39, allocations: 0.6949 MB / 437.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.3913, allocations: 1.226 MB / 438.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.3926, allocations: 0.916 MB / 439.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.3927, allocations: 4 kB / 439.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.003688/0.3964, allocations: 2.51 MB / 441.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.3964, allocations: 8 kB / 441.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.3964, allocations: 16.28 kB / 441.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006899/0.3971, allocations: 290.5 kB / 442.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.3986, allocations: 403.2 kB / 442.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005161/0.4037, allocations: 5.924 MB / 448.4 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.4053, allocations: 95.86 kB / 448.5 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.4055, allocations: 72 kB / 448.6 MB, free: 104 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (204): * Single equations (assignments): 200 * 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%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002208/0.4077, allocations: 1.039 MB / 449.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.408, allocations: 209.5 kB / 449.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004113/0.4122, allocations: 2.368 MB / 452.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.4122, allocations: 16 kB / 452.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.949e-05/0.4122, allocations: 19.89 kB / 452.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.4122, allocations: 7.969 kB / 452.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008907/0.4211, allocations: 5.436 MB / 457.7 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/0.4212, allocations: 0 / 457.7 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008731/0.4221, allocations: 211.9 kB / 457.9 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/0.4233, allocations: 468.5 kB / 458.3 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.657e-05/0.4234, allocations: 39.98 kB / 458.4 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009721/0.4331, allocations: 10.31 MB / 468.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.4331, allocations: 4.031 kB / 468.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00511/0.4383, allocations: 3.412 MB / 472.1 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.4393, allocations: 438.5 kB / 472.5 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002915/0.4396, allocations: 39.98 kB / 472.6 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008474/0.4405, allocations: 71.95 kB / 472.6 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/0.4407, allocations: 113.1 kB / 472.8 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.525e-05/0.4408, allocations: 39.98 kB / 472.8 MB, free: 6.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001829/0.4427, allocations: 1.26 MB / 474.1 MB, free: 5.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4427, allocations: 0 / 474.1 MB, free: 5.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002003/0.4447, allocations: 0.5939 MB / 474.7 MB, free: 5.047 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (114): * Single equations (assignments): 107 * 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%) 5,(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.001008/0.4457, allocations: 474.7 kB / 475.1 MB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003285/0.449, allocations: 2.268 MB / 477.4 MB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.449, allocations: 0 / 477.4 MB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002253/0.4513, allocations: 1.643 MB / 479 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.4535, allocations: 0.5068 MB / 479.5 MB, free: 224 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.4645, allocations: 7.084 MB / 486.6 MB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002973/0.4675, allocations: 2.417 MB / 489 MB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001826/0.4693, allocations: 417.2 kB / 489.4 MB, free: 6.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004675/0.4698, allocations: 135.4 kB / 489.6 MB, free: 6.098 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4698, allocations: 0 / 489.6 MB, free: 6.098 MB / 398.1 MB Notification: Performance of Templates: time 0.04702/0.5168, allocations: 27.81 MB / 0.5053 GB, free: 10.62 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches