Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00182/0.00182, allocations: 109.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 63.89 kB / 374.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09935/0.1012, allocations: 53.32 MB / 427.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.2263/0.3275, allocations: 14.14 MB / 442 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009607/0.3371, allocations: 5.221 MB / 447.2 MB, free: 376 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003247/0.3404, allocations: 83.38 kB / 447.3 MB, free: 356 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004154/0.3445, allocations: 1.158 MB / 448.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005375/0.3499, allocations: 1.434 MB / 449.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003097/0.353, allocations: 0.9947 MB / 450.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006529/0.3595, allocations: 4.125 MB / 455 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003851/0.3634, allocations: 2.277 MB / 457.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003944/0.3673, allocations: 1.938 MB / 459.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005091/0.3724, allocations: 2.328 MB / 461.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001669/0.3741, allocations: 0.5092 MB / 462.1 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/0.3769, allocations: 0.7682 MB / 462.8 MB, free: 8.871 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001398/0.3783, allocations: 1.153 MB / 464 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003464/0.3818, allocations: 2.153 MB / 466.1 MB, free: 6.668 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008444/0.3902, allocations: 6.873 MB / 473 MB, free: 1.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3902, allocations: 0 / 473 MB, free: 1.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3902, allocations: 0.8438 kB / 473 MB, free: 1.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001201/0.3903, allocations: 0 / 473 MB, free: 1.5 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01174/0.4021, allocations: 4.614 MB / 477.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4021, allocations: 14.03 kB / 477.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004436/0.4066, allocations: 0.8291 MB / 478.5 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005229/0.4118, allocations: 2.5 MB / 481 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.412, allocations: 238.4 kB / 481.2 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005671/0.4126, allocations: 323.9 kB / 481.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00764/0.4202, allocations: 4.288 MB / 485.8 MB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-05/0.4203, allocations: 15.89 kB / 485.8 MB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000312/0.4206, allocations: 135.9 kB / 486 MB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/0.4207, allocations: 150.4 kB / 486.1 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006393/0.4271, allocations: 3.636 MB / 489.7 MB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02539/0.4525, allocations: 13.38 MB / 0.4913 GB, free: 5.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/0.4632, allocations: 7.089 MB / 0.4982 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004316/0.4675, allocations: 1.529 MB / 0.4997 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01096/0.4785, allocations: 4.327 MB / 0.504 GB, free: 7.117 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00212/0.4806, allocations: 0.8767 MB / 0.5048 GB, free: 6.207 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 4.629e-06/0.4806, allocations: 0 / 0.5048 GB, free: 6.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01941/0.5, allocations: 6.753 MB / 0.5114 GB, free: 15.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001747/0.5002, allocations: 218.9 kB / 0.5116 GB, free: 14.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004412/0.5046, allocations: 1.932 MB / 0.5135 GB, free: 13.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002666/0.5048, allocations: 57.64 kB / 0.5136 GB, free: 12.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002071/0.5069, allocations: 1.533 MB / 0.5151 GB, free: 11.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007305/0.5077, allocations: 0.4997 MB / 0.5156 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007232/0.5084, allocations: 315.4 kB / 0.5159 GB, free: 10.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.5085, allocations: 305.1 kB / 0.5161 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/0.5103, allocations: 0.6754 MB / 0.5168 GB, free: 9.609 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.5127, allocations: 1.225 MB / 0.518 GB, free: 8.164 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/0.5156, allocations: 1.962 MB / 0.5199 GB, free: 5.996 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.5156, allocations: 4 kB / 0.5199 GB, free: 5.992 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00464/0.5202, allocations: 2.524 MB / 0.5224 GB, free: 3.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.5203, allocations: 12 kB / 0.5224 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.5203, allocations: 15.94 kB / 0.5224 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009184/0.5212, allocations: 338.7 kB / 0.5227 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.5227, allocations: 372.4 kB / 0.5231 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007815/0.5306, allocations: 6.801 MB / 0.5297 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.5324, allocations: 91.97 kB / 0.5298 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.5325, allocations: 76.17 kB / 0.5299 GB, free: 11.31 MB / 446.1 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 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001937/0.5345, allocations: 1.036 MB / 0.5309 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000424/0.5349, allocations: 214.6 kB / 0.5311 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004297/0.5392, allocations: 2.325 MB / 0.5334 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.5392, allocations: 16 kB / 0.5334 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.5392, allocations: 11.94 kB / 0.5334 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.5392, allocations: 7.969 kB / 0.5334 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009086/0.5483, allocations: 5.214 MB / 0.5385 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.5483, allocations: 4 kB / 0.5385 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008127/0.5491, allocations: 179.7 kB / 0.5387 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/0.5505, allocations: 0.5015 MB / 0.5392 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.5506, allocations: 39.97 kB / 0.5392 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01219/0.5628, allocations: 11.58 MB / 0.5505 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5628, allocations: 4.031 kB / 0.5505 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005625/0.5684, allocations: 3.229 MB / 0.5537 GB, free: 1.945 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/0.5696, allocations: 447.6 kB / 0.5541 GB, free: 1.488 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/0.5699, allocations: 43.98 kB / 0.5541 GB, free: 1.445 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008598/0.5708, allocations: 60.09 kB / 0.5542 GB, free: 1.387 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/0.5711, allocations: 109.1 kB / 0.5543 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.674e-05/0.5712, allocations: 43.98 kB / 0.5543 GB, free: 1.238 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002069/0.5732, allocations: 1.331 MB / 0.5556 GB, free: 15.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5732, allocations: 0 / 0.5556 GB, free: 15.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002206/0.5754, allocations: 0.5898 MB / 0.5562 GB, free: 15.29 MB / 478.1 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,3,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001689/0.5771, allocations: 479.8 kB / 0.5567 GB, free: 14.97 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003736/0.5809, allocations: 2.158 MB / 0.5588 GB, free: 12.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.5809, allocations: 4 kB / 0.5588 GB, free: 12.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002675/0.5835, allocations: 1.549 MB / 0.5603 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/0.5861, allocations: 0.552 MB / 0.5608 GB, free: 10.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.5969, allocations: 5.875 MB / 0.5666 GB, free: 4.656 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002422/0.5993, allocations: 2.304 MB / 0.5688 GB, free: 2.324 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006216/0.5999, allocations: 159.4 kB / 0.569 GB, free: 2.168 MB / 478.1 MB Notification: Performance of SimCode: time 1.392e-06/0.5999, allocations: 4 kB / 0.569 GB, free: 2.164 MB / 478.1 MB Notification: Performance of Templates: time 0.3166/0.9165, allocations: 115.7 MB / 0.682 GB, free: 123 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 17.55300481300219]