Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=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.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.446/1.446, allocations: 227.7 MB / 247.7 MB, free: 10.32 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.3 kB / 307.9 MB, free: 468 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09575/0.09768, allocations: 50.55 MB / 358.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.1714/0.2691, allocations: 14.05 MB / 372.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008393/0.2775, allocations: 5.204 MB / 377.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.2796, allocations: 85.03 kB / 377.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002813/0.2825, allocations: 1.114 MB / 378.9 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003383/0.2859, allocations: 1.393 MB / 380.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.288, allocations: 0.9871 MB / 381.3 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00378/0.2918, allocations: 4.096 MB / 385.4 MB, free: 6.434 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00321/0.295, allocations: 3.272 MB / 388.7 MB, free: 5.051 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002602/0.2976, allocations: 1.918 MB / 390.6 MB, free: 4.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002824/0.3004, allocations: 2.277 MB / 392.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000672/0.3011, allocations: 0.517 MB / 393.4 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.3027, allocations: 0.7864 MB / 394.2 MB, free: 3.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007456/0.3035, allocations: 1.144 MB / 395.3 MB, free: 2.316 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001698/0.3052, allocations: 2.152 MB / 397.4 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006191/0.3114, allocations: 6.798 MB / 404.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3114, allocations: 0 / 404.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3114, allocations: 0 / 404.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.831e-05/0.3115, allocations: 0 / 404.2 MB, free: 12.1 MB / 318.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.01074/0.3223, allocations: 4.532 MB / 408.8 MB, free: 7.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3223, allocations: 8.031 kB / 408.8 MB, free: 7.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004332/0.3266, allocations: 0.8304 MB / 409.6 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004379/0.331, allocations: 2.42 MB / 412 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.3313, allocations: 236.9 kB / 412.3 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005409/0.3318, allocations: 319 kB / 412.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007858/0.3397, allocations: 4.287 MB / 416.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.606e-05/0.3398, allocations: 11.84 kB / 416.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003158/0.3401, allocations: 134.5 kB / 417 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001695/0.3403, allocations: 154.4 kB / 417.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006576/0.3469, allocations: 3.629 MB / 420.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02151/0.3684, allocations: 13.5 MB / 434.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007907/0.3763, allocations: 7.232 MB / 441.5 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003126/0.3795, allocations: 1.602 MB / 443.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00753/0.3871, allocations: 4.319 MB / 447.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001426/0.3885, allocations: 0.8611 MB / 448.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 2.685e-06/0.3885, allocations: 3.938 kB / 448.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=140): time 0.0138/0.4023, allocations: 6.717 MB / 455 MB, free: 8.148 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.4025, allocations: 230.9 kB / 455.2 MB, free: 7.875 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003413/0.4059, allocations: 1.932 MB / 457.2 MB, free: 5.895 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000218/0.4062, allocations: 53.7 kB / 457.2 MB, free: 5.836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001577/0.4078, allocations: 1.487 MB / 458.7 MB, free: 4.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005012/0.4083, allocations: 484.1 kB / 459.2 MB, free: 3.867 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000525/0.4088, allocations: 315.3 kB / 459.5 MB, free: 3.555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.409, allocations: 305.1 kB / 459.8 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.4102, allocations: 0.6715 MB / 460.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.4119, allocations: 1.225 MB / 461.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00292/0.4148, allocations: 1.965 MB / 463.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.4148, allocations: 4 kB / 463.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004525/0.4194, allocations: 2.51 MB / 466.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.4194, allocations: 12 kB / 466.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.918e-05/0.4194, allocations: 16.28 kB / 466.2 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009067/0.4204, allocations: 335.2 kB / 466.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.4218, allocations: 379.4 kB / 466.9 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007559/0.4294, allocations: 6.817 MB / 473.7 MB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.4311, allocations: 95.92 kB / 473.8 MB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.4313, allocations: 75.98 kB / 473.9 MB, free: 4.277 MB / 382.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.001921/0.4332, allocations: 1.032 MB / 474.9 MB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/0.4335, allocations: 209.4 kB / 475.1 MB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004276/0.4378, allocations: 2.337 MB / 477.5 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.4379, allocations: 23.94 kB / 477.5 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.4379, allocations: 8 kB / 477.5 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.4379, allocations: 7.969 kB / 477.5 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00839/0.4463, allocations: 5.238 MB / 482.7 MB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.4463, allocations: 8.094 kB / 482.7 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007789/0.4471, allocations: 167.8 kB / 482.9 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.4484, allocations: 0.5116 MB / 483.4 MB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.591e-05/0.4485, allocations: 39.97 kB / 483.5 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01227/0.4608, allocations: 11.58 MB / 495 MB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4609, allocations: 0 / 495 MB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005585/0.4664, allocations: 3.238 MB / 498.3 MB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00096/0.4674, allocations: 434.5 kB / 498.7 MB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002946/0.4677, allocations: 43.98 kB / 498.7 MB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008636/0.4686, allocations: 59.89 kB / 498.8 MB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002669/0.4689, allocations: 101.2 kB / 498.9 MB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-05/0.469, allocations: 43.98 kB / 498.9 MB, free: 10.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002019/0.471, allocations: 1.335 MB / 0.4886 GB, free: 8.871 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.471, allocations: 3.938 kB / 0.4886 GB, free: 8.867 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002048/0.4731, allocations: 0.5976 MB / 0.4891 GB, free: 8.27 MB / 414.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.001677/0.4747, allocations: 478.7 kB / 0.4896 GB, free: 7.965 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005287/0.48, allocations: 2.639 MB / 0.4922 GB, free: 5.266 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.4801, allocations: 0 / 0.4922 GB, free: 5.266 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002535/0.4826, allocations: 1.603 MB / 0.4937 GB, free: 3.602 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/0.4852, allocations: 0.548 MB / 0.4943 GB, free: 3.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.496, allocations: 5.869 MB / 0.5 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00264/0.4987, allocations: 2.314 MB / 0.5023 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005834/0.4993, allocations: 151.4 kB / 0.5024 GB, free: 10.65 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4993, allocations: 3.938 kB / 0.5024 GB, free: 10.65 MB / 430.1 MB Notification: Performance of Templates: time 0.2524/0.7517, allocations: 114.9 MB / 0.6146 GB, free: 74.59 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches