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) 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.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_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_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.001547/0.001547, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001646/0.001646, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 57.55 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1067, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.1835/0.2903, allocations: 14.06 MB / 373 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.3006, allocations: 5.205 MB / 378.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003061/0.3037, allocations: 82.56 kB / 378.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003552/0.3073, allocations: 1.117 MB / 379.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00475/0.3121, allocations: 1.388 MB / 380.8 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003197/0.3153, allocations: 1.001 MB / 381.8 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006981/0.3223, allocations: 4.112 MB / 385.9 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00587/0.3282, allocations: 3.262 MB / 389.1 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004151/0.3324, allocations: 1.927 MB / 391.1 MB, free: 4.645 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004369/0.3368, allocations: 2.296 MB / 393.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001671/0.3385, allocations: 0.5097 MB / 393.9 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/0.3419, allocations: 0.7655 MB / 394.6 MB, free: 3.543 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002026/0.344, allocations: 1.151 MB / 395.8 MB, free: 2.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004877/0.3488, allocations: 2.147 MB / 397.9 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008682/0.3576, allocations: 6.849 MB / 404.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3576, allocations: 0 / 404.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3576, allocations: 0 / 404.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002114/0.3578, allocations: 1.062 kB / 404.8 MB, free: 12.45 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.01338/0.3712, allocations: 4.519 MB / 409.3 MB, free: 8.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.3713, allocations: 12.03 kB / 409.3 MB, free: 8.148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004375/0.3757, allocations: 0.8222 MB / 410.1 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005358/0.3811, allocations: 2.491 MB / 412.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.3813, allocations: 241.1 kB / 412.9 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005797/0.3819, allocations: 322.6 kB / 413.2 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007336/0.3892, allocations: 4.282 MB / 417.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-05/0.3893, allocations: 11.83 kB / 417.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002931/0.3896, allocations: 130.7 kB / 417.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/0.3898, allocations: 154.4 kB / 417.7 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006212/0.396, allocations: 3.636 MB / 421.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02166/0.4177, allocations: 13.32 MB / 434.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006487/0.4242, allocations: 7.237 MB / 441.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002718/0.4269, allocations: 1.602 MB / 443.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007217/0.4342, allocations: 4.301 MB / 447.8 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/0.4355, allocations: 0.8689 MB / 448.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 2.816e-06/0.4355, allocations: 3.938 kB / 448.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=140): time 0.01299/0.4485, allocations: 6.71 MB / 455.4 MB, free: 8.434 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.4486, allocations: 222.9 kB / 455.6 MB, free: 8.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/0.4513, allocations: 1.936 MB / 457.6 MB, free: 6.184 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.4515, allocations: 49.7 kB / 457.6 MB, free: 6.129 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001412/0.4529, allocations: 1.498 MB / 459.1 MB, free: 4.621 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004773/0.4534, allocations: 481.6 kB / 459.6 MB, free: 4.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005/0.4539, allocations: 303.3 kB / 459.9 MB, free: 3.852 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.454, allocations: 305.1 kB / 460.2 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.4551, allocations: 0.6793 MB / 460.9 MB, free: 2.871 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.4565, allocations: 1.225 MB / 462.1 MB, free: 1.418 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002456/0.4589, allocations: 1.963 MB / 464.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.459, allocations: 4 kB / 464.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004197/0.4632, allocations: 2.515 MB / 466.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.4632, allocations: 12 kB / 466.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.4632, allocations: 16 kB / 466.6 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009067/0.4642, allocations: 335.2 kB / 466.9 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.4656, allocations: 371.4 kB / 467.3 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007394/0.473, allocations: 6.801 MB / 474.1 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.4748, allocations: 99.86 kB / 474.2 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/0.475, allocations: 75.98 kB / 474.3 MB, free: 4.574 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.00224/0.4773, allocations: 1.036 MB / 475.3 MB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005115/0.4778, allocations: 205.4 kB / 475.5 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0042/0.482, allocations: 2.344 MB / 477.8 MB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.482, allocations: 15.94 kB / 477.9 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.482, allocations: 8 kB / 477.9 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.4821, allocations: 8.156 kB / 477.9 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009021/0.4911, allocations: 5.231 MB / 483.1 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.4911, allocations: 0 / 483.1 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007996/0.4919, allocations: 179.7 kB / 483.3 MB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/0.4934, allocations: 0.5031 MB / 483.8 MB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.4935, allocations: 39.92 kB / 483.8 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01254/0.506, allocations: 11.57 MB / 495.4 MB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.5061, allocations: 4.469 kB / 495.4 MB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005401/0.5115, allocations: 3.239 MB / 498.6 MB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.5128, allocations: 438.4 kB / 499.1 MB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002926/0.5131, allocations: 39.98 kB / 499.1 MB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008561/0.514, allocations: 63.89 kB / 499.2 MB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002999/0.5143, allocations: 105.1 kB / 499.3 MB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.064e-05/0.5144, allocations: 39.98 kB / 499.3 MB, free: 10.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002192/0.5166, allocations: 1.331 MB / 0.4889 GB, free: 9.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5166, allocations: 0 / 0.4889 GB, free: 9.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002324/0.5189, allocations: 0.5861 MB / 0.4895 GB, free: 8.594 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.001206/0.5202, allocations: 489.3 kB / 0.4899 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003882/0.524, allocations: 2.23 MB / 0.4921 GB, free: 5.973 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.5241, allocations: 7.938 kB / 0.4921 GB, free: 5.965 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002657/0.5267, allocations: 1.606 MB / 0.4937 GB, free: 4.297 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.5295, allocations: 0.5439 MB / 0.4942 GB, free: 3.754 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.5402, allocations: 5.809 MB / 0.4999 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002212/0.5424, allocations: 2.356 MB / 0.5022 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00142/0.5439, allocations: 413.1 kB / 0.5026 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/0.5442, allocations: 131.4 kB / 0.5027 GB, free: 10.99 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5442, allocations: 0 / 0.5027 GB, free: 10.99 MB / 430.1 MB Notification: Performance of Templates: time 0.2315/0.7757, allocations: 30.6 MB / 0.5326 GB, free: 141.2 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches