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.001406/0.001406, allocations: 104 kB / 17.72 MB, free: 5.242 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.0016/0.001601, allocations: 188.1 kB / 18.66 MB, free: 4.312 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.391/1.391, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001128/0.001128, allocations: 52.3 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09989/0.101, allocations: 46.62 MB / 375.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.2053/0.3063, allocations: 13.38 MB / 388.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.3171, allocations: 4.748 MB / 393.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00358/0.3208, allocations: 71.03 kB / 393.4 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004092/0.3249, allocations: 1.099 MB / 394.5 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005568/0.3305, allocations: 1.367 MB / 395.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.3329, allocations: 0.9763 MB / 396.8 MB, free: 488 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005558/0.3385, allocations: 4.061 MB / 400.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004069/0.3425, allocations: 3.202 MB / 404.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003799/0.3464, allocations: 1.927 MB / 406 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003808/0.3502, allocations: 2.165 MB / 408.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007668/0.351, allocations: 0.5074 MB / 408.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.3529, allocations: 0.7485 MB / 409.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.354, allocations: 1.142 MB / 410.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002352/0.3564, allocations: 2.143 MB / 412.7 MB, free: 8.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006753/0.3632, allocations: 6.786 MB / 419.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3632, allocations: 0 / 419.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3632, allocations: 0 / 419.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001187/0.3633, allocations: 0 / 419.5 MB, free: 3.305 MB / 334.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.01054/0.3739, allocations: 4.496 MB / 424 MB, free: 14.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3739, allocations: 8.031 kB / 424 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004035/0.378, allocations: 0.8201 MB / 424.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003732/0.3817, allocations: 2.326 MB / 427.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.3819, allocations: 234.4 kB / 427.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000478/0.3824, allocations: 323.9 kB / 427.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007377/0.3898, allocations: 4.284 MB / 432 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-05/0.3899, allocations: 4 kB / 432 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003097/0.3902, allocations: 132 kB / 432.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001772/0.3904, allocations: 154.4 kB / 432.2 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006594/0.397, allocations: 3.617 MB / 435.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02028/0.4173, allocations: 13.26 MB / 449.1 MB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006664/0.424, allocations: 6.958 MB / 456.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00214/0.4262, allocations: 1.359 MB / 457.4 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006165/0.4324, allocations: 3.821 MB / 461.3 MB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001258/0.4336, allocations: 0.8533 MB / 462.1 MB, free: 7.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 3.066e-06/0.4336, allocations: 0 / 462.1 MB, free: 7.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.01199/0.4456, allocations: 6.493 MB / 468.6 MB, free: 412 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.4458, allocations: 230.9 kB / 468.8 MB, free: 132 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/0.4485, allocations: 1.914 MB / 470.7 MB, free: 14.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.4486, allocations: 49.7 kB / 470.8 MB, free: 14.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001318/0.45, allocations: 1.47 MB / 472.3 MB, free: 12.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003752/0.4504, allocations: 489 kB / 472.7 MB, free: 12.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004466/0.4508, allocations: 307.3 kB / 473 MB, free: 11.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.4509, allocations: 305.1 kB / 473.3 MB, free: 11.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.452, allocations: 0.6637 MB / 474 MB, free: 10.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.4535, allocations: 1.218 MB / 475.2 MB, free: 9.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002486/0.456, allocations: 1.932 MB / 477.1 MB, free: 7.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.456, allocations: 4 kB / 477.2 MB, free: 7.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004034/0.46, allocations: 2.428 MB / 479.6 MB, free: 4.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.4601, allocations: 12 kB / 479.6 MB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.4601, allocations: 12 kB / 479.6 MB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007641/0.4609, allocations: 295.3 kB / 479.9 MB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.4623, allocations: 383.4 kB / 480.3 MB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005884/0.4681, allocations: 6.378 MB / 486.6 MB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.4698, allocations: 92.02 kB / 486.7 MB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.4699, allocations: 75.94 kB / 486.8 MB, free: 13.21 MB / 414.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.002022/0.472, allocations: 1.029 MB / 487.8 MB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003757/0.4723, allocations: 197.6 kB / 488 MB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004124/0.4765, allocations: 2.253 MB / 490.3 MB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.4765, allocations: 15.98 kB / 490.3 MB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.4765, allocations: 8 kB / 490.3 MB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.4765, allocations: 15.86 kB / 490.3 MB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00814/0.4847, allocations: 5.077 MB / 495.4 MB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/0.4847, allocations: 4 kB / 495.4 MB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/0.4855, allocations: 187.8 kB / 495.6 MB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0012/0.4867, allocations: 468.2 kB / 496 MB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.261e-05/0.4868, allocations: 43.92 kB / 496.1 MB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/0.4969, allocations: 11.12 MB / 0.4953 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4969, allocations: 288 / 0.4953 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004963/0.5019, allocations: 3.14 MB / 0.4984 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008749/0.5028, allocations: 434.4 kB / 0.4988 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/0.503, allocations: 35.94 kB / 0.4988 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008538/0.5039, allocations: 71.94 kB / 0.4989 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/0.5042, allocations: 97.17 kB / 0.499 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-05/0.5042, allocations: 39.98 kB / 0.499 GB, free: 3.961 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001902/0.5062, allocations: 1.315 MB / 0.5003 GB, free: 2.656 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5062, allocations: 0 / 0.5003 GB, free: 2.656 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002046/0.5082, allocations: 0.5742 MB / 0.5009 GB, free: 2.082 MB / 430.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.001121/0.5093, allocations: 481.4 kB / 0.5013 GB, free: 1.602 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003303/0.5127, allocations: 2.168 MB / 0.5035 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5127, allocations: 4.062 kB / 0.5035 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002216/0.5149, allocations: 1.594 MB / 0.505 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.5171, allocations: 0.5368 MB / 0.5055 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009327/0.5265, allocations: 5.779 MB / 0.5112 GB, free: 7.355 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002073/0.5286, allocations: 2.352 MB / 0.5135 GB, free: 4.969 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001519/0.5301, allocations: 409 kB / 0.5139 GB, free: 4.566 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/0.5305, allocations: 135.4 kB / 0.514 GB, free: 4.438 MB / 446.1 MB Notification: Performance of SimCode: time 1.423e-06/0.5305, allocations: 0 / 0.514 GB, free: 4.438 MB / 446.1 MB Notification: Performance of Templates: time 0.05384/0.5843, allocations: 30.52 MB / 0.5438 GB, free: 5.859 MB / 478.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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