Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 113.3 kB / 17.28 MB, free: 6.312 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.001146/0.001147, allocations: 189.3 kB / 18.19 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.1 MB / 224 MB, free: 12.43 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 43.94 kB / 280.2 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08108/0.08226, allocations: 46.64 MB / 326.8 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01442/0.09672, allocations: 13.22 MB / 340 MB, free: 7.477 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009171/0.1059, allocations: 4.67 MB / 344.7 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003135/0.1092, allocations: 63.75 kB / 344.8 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004277/0.1135, allocations: 0.9798 MB / 345.7 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005543/0.119, allocations: 1.232 MB / 347 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.122, allocations: 0.8811 MB / 347.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007397/0.1294, allocations: 4.203 MB / 352 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005191/0.1346, allocations: 3.209 MB / 355.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/0.1378, allocations: 1.799 MB / 357.1 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003742/0.1416, allocations: 2.141 MB / 359.2 MB, free: 4.164 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001541/0.1431, allocations: 0.5078 MB / 359.7 MB, free: 3.656 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.1457, allocations: 0.7575 MB / 360.5 MB, free: 2.898 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001322/0.147, allocations: 1.141 MB / 361.6 MB, free: 1.754 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002827/0.1498, allocations: 2.139 MB / 363.7 MB, free: 15.6 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006822/0.1567, allocations: 6.711 MB / 370.5 MB, free: 8.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1567, allocations: 0 / 370.5 MB, free: 8.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1568, allocations: 4 kB / 370.5 MB, free: 8.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001966/0.157, allocations: 0 / 370.5 MB, free: 8.871 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.01223/0.1692, allocations: 4.476 MB / 374.9 MB, free: 4.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.1693, allocations: 16.02 kB / 374.9 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004705/0.174, allocations: 0.8162 MB / 375.8 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006071/0.1801, allocations: 2.256 MB / 378 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002763/0.1804, allocations: 242.4 kB / 378.3 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00148/0.1819, allocations: 315.9 kB / 378.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1827/0.3646, allocations: 4.288 MB / 382.9 MB, free: 47.97 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.75e-05/0.3648, allocations: 0.7969 kB / 382.9 MB, free: 47.97 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003134/0.3651, allocations: 130.1 kB / 383 MB, free: 47.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001621/0.3652, allocations: 154.3 kB / 383.1 MB, free: 47.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006436/0.3717, allocations: 3.618 MB / 386.8 MB, free: 46.44 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01827/0.39, allocations: 13.43 MB / 400.2 MB, free: 37.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004797/0.3948, allocations: 6.952 MB / 407.1 MB, free: 31.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.3965, allocations: 1.388 MB / 408.5 MB, free: 30.51 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004954/0.4015, allocations: 3.845 MB / 412.4 MB, free: 27.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.4025, allocations: 0.8416 MB / 413.2 MB, free: 26.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 2.956e-06/0.4026, allocations: 0 / 413.2 MB, free: 26.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=139): time 0.01035/0.4129, allocations: 6.505 MB / 419.7 MB, free: 19.94 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.413, allocations: 226.9 kB / 419.9 MB, free: 19.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.4152, allocations: 1.914 MB / 421.9 MB, free: 17.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.539e-05/0.4153, allocations: 46.47 kB / 421.9 MB, free: 17.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009465/0.4162, allocations: 1.478 MB / 423.4 MB, free: 16.21 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/0.4165, allocations: 483.4 kB / 423.8 MB, free: 15.74 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000408/0.4169, allocations: 303.3 kB / 424.1 MB, free: 15.44 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.022e-05/0.417, allocations: 305.1 kB / 424.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008472/0.4179, allocations: 0.6637 MB / 425.1 MB, free: 14.47 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.4189, allocations: 1.218 MB / 426.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.4208, allocations: 1.931 MB / 428.3 MB, free: 10.9 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.4208, allocations: 12 kB / 428.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003302/0.4242, allocations: 2.421 MB / 430.7 MB, free: 8.426 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.4242, allocations: 16.03 kB / 430.7 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.4242, allocations: 16 kB / 430.7 MB, free: 8.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006951/0.4249, allocations: 289.8 kB / 431 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.4262, allocations: 379.4 kB / 431.4 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004265/0.4304, allocations: 6.378 MB / 437.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.4321, allocations: 96.17 kB / 437.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.4322, allocations: 71.94 kB / 437.9 MB, free: 0.7852 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (196): * Single equations (assignments): 192 * 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,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001966/0.4342, allocations: 1.045 MB / 439 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003963/0.4346, allocations: 205.4 kB / 439.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/0.4384, allocations: 2.246 MB / 441.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.4384, allocations: 16 kB / 441.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.4385, allocations: 11.94 kB / 441.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.4385, allocations: 7.969 kB / 441.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008129/0.4466, allocations: 5.1 MB / 446.5 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.4467, allocations: 4 kB / 446.5 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007899/0.4474, allocations: 179.7 kB / 446.7 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/0.4486, allocations: 470.6 kB / 447.2 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.304e-05/0.4487, allocations: 39.98 kB / 447.2 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009825/0.4586, allocations: 11.13 MB / 458.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.4586, allocations: 8.141 kB / 458.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004687/0.4633, allocations: 3.133 MB / 461.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007959/0.4641, allocations: 434.5 kB / 461.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/0.4644, allocations: 39.09 kB / 461.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008099/0.4652, allocations: 67.95 kB / 462 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/0.4654, allocations: 97.17 kB / 462.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.941e-05/0.4655, allocations: 39.98 kB / 462.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001766/0.4673, allocations: 1.315 MB / 463.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4673, allocations: 0 / 463.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001924/0.4692, allocations: 0.5846 MB / 464 MB, free: 5.723 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (102): * Single equations (assignments): 95 * 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,5,100.0%), (1,13,100.0%), (1,3,100.0%), (1,8,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.001058/0.4703, allocations: 473 kB / 464.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004623/0.4749, allocations: 2.585 MB / 467.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.475, allocations: 4.188 kB / 467.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002171/0.4771, allocations: 1.569 MB / 468.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.4793, allocations: 0.5367 MB / 469.2 MB, free: 496 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.4895, allocations: 7.196 MB / 476.4 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/0.4914, allocations: 2.352 MB / 478.8 MB, free: 6.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001442/0.4928, allocations: 405 kB / 479.1 MB, free: 6.477 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/0.4932, allocations: 143.4 kB / 479.3 MB, free: 6.336 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4932, allocations: 0 / 479.3 MB, free: 6.336 MB / 366.1 MB Notification: Performance of Templates: time 0.05399/0.5472, allocations: 30 MB / 0.4973 GB, free: 8.312 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Conveyor/AIMC_Conveyor.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches