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.001085/0.001085, allocations: 108.7 kB / 17.93 MB, free: 5.547 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.001177/0.001177, allocations: 197.8 kB / 18.86 MB, free: 4.625 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.389/1.389, allocations: 205.1 MB / 224.7 MB, free: 12.45 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.001282/0.001282, allocations: 51.91 kB / 280.8 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09032/0.09162, allocations: 46.62 MB / 327.4 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01508/0.1067, allocations: 13.24 MB / 340.7 MB, free: 7.496 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009145/0.1159, allocations: 4.674 MB / 345.3 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00267/0.1187, allocations: 71.69 kB / 345.4 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003803/0.1225, allocations: 0.9759 MB / 346.4 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004939/0.1275, allocations: 1.217 MB / 347.6 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003144/0.1307, allocations: 0.9006 MB / 348.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006846/0.1375, allocations: 4.199 MB / 352.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006572/0.1441, allocations: 3.209 MB / 355.9 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003263/0.1475, allocations: 1.799 MB / 357.7 MB, free: 6.324 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003722/0.1512, allocations: 2.137 MB / 359.9 MB, free: 4.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001684/0.1529, allocations: 0.5039 MB / 360.4 MB, free: 3.676 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.1557, allocations: 0.7575 MB / 361.1 MB, free: 2.918 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001973/0.1577, allocations: 1.134 MB / 362.2 MB, free: 1.781 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00425/0.162, allocations: 2.139 MB / 364.4 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007579/0.1696, allocations: 5.752 MB / 370.1 MB, free: 9.867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.1697, allocations: 0 / 370.1 MB, free: 9.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1697, allocations: 4 kB / 370.1 MB, free: 9.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002697/0.1699, allocations: 0 / 370.1 MB, free: 9.863 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.01465/0.1846, allocations: 4.476 MB / 374.6 MB, free: 5.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.1847, allocations: 8.031 kB / 374.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005297/0.19, allocations: 0.8279 MB / 375.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005827/0.1958, allocations: 2.256 MB / 377.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003/0.1962, allocations: 234.4 kB / 377.9 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001323/0.1975, allocations: 323.9 kB / 378.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.208/0.4056, allocations: 4.281 MB / 382.5 MB, free: 48.6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001984/0.4058, allocations: 4.172 kB / 382.5 MB, free: 48.6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001113/0.4069, allocations: 131.7 kB / 382.7 MB, free: 48.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002341/0.4072, allocations: 149.9 kB / 382.8 MB, free: 48.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009053/0.4163, allocations: 3.62 MB / 386.4 MB, free: 47.06 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02211/0.4384, allocations: 13.43 MB / 399.9 MB, free: 38.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005083/0.4435, allocations: 6.967 MB / 406.8 MB, free: 31.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001865/0.4454, allocations: 1.389 MB / 408.2 MB, free: 31.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005455/0.4509, allocations: 3.832 MB / 412.1 MB, free: 28.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.452, allocations: 0.8531 MB / 412.9 MB, free: 27.9 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 3.456e-06/0.452, allocations: 0 / 412.9 MB, free: 27.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=139): time 0.01057/0.4626, allocations: 6.491 MB / 419.4 MB, free: 21.69 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.4627, allocations: 222.9 kB / 419.6 MB, free: 21.42 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.4649, allocations: 1.914 MB / 421.5 MB, free: 19.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001279/0.465, allocations: 49.7 kB / 421.6 MB, free: 19.45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000914/0.4659, allocations: 1.474 MB / 423 MB, free: 17.96 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/0.4662, allocations: 484.3 kB / 423.5 MB, free: 17.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000381/0.4666, allocations: 311.3 kB / 423.8 MB, free: 17.19 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.4667, allocations: 305.1 kB / 424.1 MB, free: 16.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008635/0.4675, allocations: 0.6598 MB / 424.8 MB, free: 16.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.4687, allocations: 1.215 MB / 426 MB, free: 14.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.4706, allocations: 1.943 MB / 427.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.4706, allocations: 4 kB / 427.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003368/0.474, allocations: 2.427 MB / 430.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.474, allocations: 15.28 kB / 430.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.4741, allocations: 19.84 kB / 430.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007048/0.4748, allocations: 288.3 kB / 430.7 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.4761, allocations: 383.4 kB / 431.1 MB, free: 9.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004178/0.4803, allocations: 6.386 MB / 437.4 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.4818, allocations: 91.86 kB / 437.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.482, allocations: 79.98 kB / 437.6 MB, free: 2.523 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.001471/0.4834, allocations: 1.04 MB / 438.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/0.4838, allocations: 197.6 kB / 438.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003486/0.4873, allocations: 2.238 MB / 441.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.4873, allocations: 12 kB / 441.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.4873, allocations: 15.94 kB / 441.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.4874, allocations: 7.969 kB / 441.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00811/0.4955, allocations: 5.108 MB / 446.2 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4955, allocations: 0 / 446.2 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007945/0.4963, allocations: 179.8 kB / 446.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.4975, allocations: 466.6 kB / 446.9 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.576e-05/0.4977, allocations: 35.98 kB / 446.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/0.5077, allocations: 11.15 MB / 458 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5077, allocations: 0 / 458 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004913/0.5126, allocations: 3.127 MB / 461.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009764/0.5137, allocations: 434.7 kB / 461.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.5139, allocations: 35.94 kB / 461.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008436/0.5148, allocations: 59.95 kB / 461.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/0.5151, allocations: 113 kB / 461.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.481e-05/0.5152, allocations: 43.98 kB / 461.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001826/0.517, allocations: 1.315 MB / 463.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.517, allocations: 0 / 463.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002078/0.5191, allocations: 0.577 MB / 463.7 MB, free: 7.449 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.00115/0.5203, allocations: 482.1 kB / 464.2 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005071/0.5253, allocations: 2.581 MB / 466.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.5254, allocations: 4.812 kB / 466.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002356/0.5277, allocations: 1.567 MB / 468.4 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/0.5304, allocations: 0.5368 MB / 468.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.5415, allocations: 7.186 MB / 476.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/0.5434, allocations: 2.298 MB / 478.4 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006186/0.5441, allocations: 147.4 kB / 478.5 MB, free: 8.48 MB / 366.1 MB Notification: Performance of SimCode: time 1.312e-06/0.5441, allocations: 4 kB / 478.5 MB, free: 8.477 MB / 366.1 MB Notification: Performance of Templates: time 0.2707/0.8148, allocations: 114 MB / 0.5787 GB, free: 92.08 MB / 414.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/jenkins1/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