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.001526/0.001526, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001876/0.001876, allocations: 210.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.89 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2205, allocations: 50.53 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01476/0.2353, allocations: 14.06 MB / 424 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008374/0.2437, allocations: 5.206 MB / 429.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.245, allocations: 83.69 kB / 429.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.2473, allocations: 1.115 MB / 430.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.2502, allocations: 1.387 MB / 431.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.2521, allocations: 0.9961 MB / 432.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003786/0.2559, allocations: 4.117 MB / 436.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00346/0.2594, allocations: 3.261 MB / 440.2 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/0.2616, allocations: 1.943 MB / 442.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002628/0.2642, allocations: 2.289 MB / 444.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006202/0.2649, allocations: 0.5078 MB / 444.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.2662, allocations: 0.7692 MB / 445.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009261/0.2671, allocations: 1.149 MB / 446.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.269, allocations: 2.147 MB / 449 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005865/0.2749, allocations: 6.844 MB / 455.8 MB, free: 3.461 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2749, allocations: 4 kB / 455.8 MB, free: 3.457 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2749, allocations: 3.938 kB / 455.8 MB, free: 3.453 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.031e-05/0.275, allocations: 0 / 455.8 MB, free: 3.453 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.009904/0.2849, allocations: 4.511 MB / 460.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.285, allocations: 8.031 kB / 460.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004365/0.2893, allocations: 0.8395 MB / 461.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003946/0.2933, allocations: 2.479 MB / 463.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.2935, allocations: 250.4 kB / 463.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004867/0.294, allocations: 315.9 kB / 464.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007083/0.3011, allocations: 4.284 MB / 468.5 MB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-05/0.3012, allocations: 11.84 kB / 468.5 MB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003152/0.3015, allocations: 132 kB / 468.6 MB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001421/0.3016, allocations: 150.4 kB / 468.8 MB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005925/0.3076, allocations: 3.625 MB / 472.4 MB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01794/0.3255, allocations: 13.34 MB / 485.8 MB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006827/0.3324, allocations: 7.238 MB / 493 MB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00283/0.3352, allocations: 1.636 MB / 494.6 MB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006171/0.3414, allocations: 4.296 MB / 498.9 MB, free: 6.695 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.3427, allocations: 0.8689 MB / 499.8 MB, free: 5.793 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 2.755e-06/0.3427, allocations: 8 kB / 499.8 MB, free: 5.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01195/0.3547, allocations: 6.696 MB / 0.4946 GB, free: 14.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.993e-05/0.3548, allocations: 222.9 kB / 0.4948 GB, free: 14.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/0.3573, allocations: 1.944 MB / 0.4967 GB, free: 12.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.998e-05/0.3574, allocations: 45.7 kB / 0.4968 GB, free: 12.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.3586, allocations: 1.502 MB / 0.4983 GB, free: 11.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003699/0.359, allocations: 485 kB / 0.4987 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000451/0.3594, allocations: 311.3 kB / 0.499 GB, free: 10.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.204e-05/0.3595, allocations: 301.1 kB / 0.4993 GB, free: 9.969 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.3606, allocations: 0.6715 MB / 0.5 GB, free: 9.297 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.362, allocations: 1.232 MB / 0.5012 GB, free: 7.844 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002535/0.3645, allocations: 1.955 MB / 0.5031 GB, free: 5.684 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.3646, allocations: 4 kB / 0.5031 GB, free: 5.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003848/0.3684, allocations: 2.519 MB / 0.5055 GB, free: 3.121 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.3685, allocations: 8 kB / 0.5055 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.3685, allocations: 19.98 kB / 0.5056 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008089/0.3693, allocations: 342.9 kB / 0.5059 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.3707, allocations: 371.4 kB / 0.5062 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006216/0.3769, allocations: 6.794 MB / 0.5129 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.3782, allocations: 95.92 kB / 0.513 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.3783, allocations: 79.97 kB / 0.513 GB, free: 11 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.001564/0.3799, allocations: 1.04 MB / 0.5141 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/0.3802, allocations: 201.5 kB / 0.5142 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004001/0.3842, allocations: 2.348 MB / 0.5165 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.3842, allocations: 12 kB / 0.5166 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/0.3842, allocations: 8 kB / 0.5166 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.3843, allocations: 7.969 kB / 0.5166 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008139/0.3924, allocations: 5.233 MB / 0.5217 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.3924, allocations: 4 kB / 0.5217 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007813/0.3932, allocations: 171.8 kB / 0.5218 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.3945, allocations: 0.5034 MB / 0.5223 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.3947, allocations: 35.98 kB / 0.5224 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/0.406, allocations: 11.58 MB / 0.5337 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.406, allocations: 0 / 0.5337 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00492/0.411, allocations: 3.244 MB / 0.5368 GB, free: 1.602 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007564/0.4117, allocations: 438.5 kB / 0.5373 GB, free: 1.152 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000342/0.4121, allocations: 32.38 kB / 0.5373 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009146/0.413, allocations: 63.95 kB / 0.5374 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/0.4132, allocations: 105.2 kB / 0.5375 GB, free: 0.957 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.378e-05/0.4133, allocations: 39.98 kB / 0.5375 GB, free: 0.918 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.1958/0.6092, allocations: 1.33 MB / 0.5388 GB, free: 122.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6092, allocations: 0.5 kB / 0.5388 GB, free: 122.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002864/0.6121, allocations: 0.5873 MB / 0.5394 GB, free: 122.3 MB / 462.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.001101/0.6132, allocations: 474.8 kB / 0.5398 GB, free: 122.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003142/0.6164, allocations: 2.239 MB / 0.542 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6164, allocations: 0 / 0.542 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001975/0.6184, allocations: 1.598 MB / 0.5436 GB, free: 121 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/0.6207, allocations: 0.5605 MB / 0.5441 GB, free: 120.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007746/0.6285, allocations: 5.787 MB / 0.5498 GB, free: 118.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/0.63, allocations: 2.309 MB / 0.552 GB, free: 117 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004435/0.6304, allocations: 156.4 kB / 0.5522 GB, free: 117 MB / 462.1 MB Notification: Performance of SimCode: time 4.6e-07/0.6304, allocations: 0 / 0.5522 GB, free: 117 MB / 462.1 MB Notification: Performance of Templates: time 0.07718/0.7076, allocations: 115.1 MB / 0.6646 GB, free: 5.77 MB / 462.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 -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