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.001487/0.001487, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.00159/0.00159, allocations: 190 kB / 18.07 MB, free: 5.414 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.342/1.342, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001171/0.001171, allocations: 55.92 kB / 280 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08891/0.09009, allocations: 46.64 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01376/0.1039, allocations: 13.22 MB / 339.8 MB, free: 7.59 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008752/0.1127, allocations: 4.69 MB / 344.5 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002452/0.1152, allocations: 67.69 kB / 344.6 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002932/0.1182, allocations: 0.9642 MB / 345.6 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004079/0.1223, allocations: 1.244 MB / 346.8 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002334/0.1246, allocations: 0.8969 MB / 347.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005598/0.1302, allocations: 4.324 MB / 352 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003255/0.1335, allocations: 2.67 MB / 354.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/0.1357, allocations: 1.522 MB / 356.2 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002255/0.1379, allocations: 1.996 MB / 358.2 MB, free: 5.082 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004376/0.1384, allocations: 296 kB / 358.5 MB, free: 4.793 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.1397, allocations: 0.5349 MB / 359 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007705/0.1405, allocations: 0.9149 MB / 360 MB, free: 3.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001879/0.1423, allocations: 1.905 MB / 361.9 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005848/0.1482, allocations: 6.562 MB / 368.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1482, allocations: 3.938 kB / 368.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1482, allocations: 0 / 368.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001155/0.1484, allocations: 0 / 368.4 MB, free: 10.84 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.01063/0.159, allocations: 4.476 MB / 372.9 MB, free: 6.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1591, allocations: 8.031 kB / 372.9 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/0.1633, allocations: 0.8318 MB / 373.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/0.1668, allocations: 2.252 MB / 376 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.167, allocations: 246.3 kB / 376.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000444/0.1674, allocations: 319.9 kB / 376.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1669/0.3343, allocations: 4.278 MB / 380.8 MB, free: 47.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.711e-05/0.3344, allocations: 1.375 kB / 380.8 MB, free: 47.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003431/0.3348, allocations: 132.3 kB / 381 MB, free: 47.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001769/0.335, allocations: 155.4 kB / 381.1 MB, free: 47.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006346/0.3413, allocations: 3.62 MB / 384.7 MB, free: 46.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01653/0.3579, allocations: 13.43 MB / 398.2 MB, free: 38.03 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005046/0.363, allocations: 6.959 MB / 405.1 MB, free: 31.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/0.3647, allocations: 1.379 MB / 406.5 MB, free: 30.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004875/0.3695, allocations: 3.845 MB / 410.3 MB, free: 27.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/0.3707, allocations: 0.8431 MB / 411.2 MB, free: 27.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 3.797e-06/0.3707, allocations: 3.984 kB / 411.2 MB, free: 27.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=139): time 0.009866/0.3805, allocations: 6.497 MB / 417.7 MB, free: 21.87 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.3806, allocations: 226.9 kB / 417.9 MB, free: 21.6 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/0.3826, allocations: 1.903 MB / 419.8 MB, free: 19.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.41e-05/0.3827, allocations: 57.53 kB / 419.9 MB, free: 19.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007836/0.3835, allocations: 1.466 MB / 421.3 MB, free: 18.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.3837, allocations: 492.3 kB / 421.8 MB, free: 17.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003641/0.3841, allocations: 307.3 kB / 422.1 MB, free: 17.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.094e-05/0.3841, allocations: 305.1 kB / 422.4 MB, free: 17.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008402/0.385, allocations: 0.6676 MB / 423.1 MB, free: 16.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.386, allocations: 1.21 MB / 424.3 MB, free: 14.97 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/0.388, allocations: 1.941 MB / 426.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.388, allocations: 4 kB / 426.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002992/0.391, allocations: 2.428 MB / 428.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3911, allocations: 12 kB / 428.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.3911, allocations: 15.84 kB / 428.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006303/0.3917, allocations: 291.7 kB / 429 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.393, allocations: 387.3 kB / 429.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/0.397, allocations: 5.847 MB / 435.2 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.3982, allocations: 92.84 kB / 435.3 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.3983, allocations: 75.98 kB / 435.4 MB, free: 3.254 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.001466/0.3998, allocations: 1.039 MB / 436.4 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.4, allocations: 197.6 kB / 436.6 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003526/0.4036, allocations: 2.247 MB / 438.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.4036, allocations: 15.94 kB / 438.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-05/0.4036, allocations: 15.98 kB / 438.9 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.4037, allocations: 3.984 kB / 438.9 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008938/0.4126, allocations: 5.111 MB / 444 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.4126, allocations: 4.125 kB / 444 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008129/0.4134, allocations: 175.8 kB / 444.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/0.4147, allocations: 461.6 kB / 444.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.4148, allocations: 43.7 kB / 444.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.4253, allocations: 10.18 MB / 454.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4254, allocations: 3.938 kB / 454.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004765/0.4301, allocations: 3.138 MB / 458 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008931/0.431, allocations: 430.5 kB / 458.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003809/0.4314, allocations: 36 kB / 458.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009467/0.4324, allocations: 56.08 kB / 458.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/0.4326, allocations: 117.1 kB / 458.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-05/0.4327, allocations: 40.27 kB / 458.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002062/0.4348, allocations: 1.315 MB / 460 MB, free: 9.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.4348, allocations: 3.609 kB / 460 MB, free: 9.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002068/0.4369, allocations: 0.5845 MB / 460.5 MB, free: 9.168 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.001161/0.4381, allocations: 457.7 kB / 461 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003549/0.4416, allocations: 2.162 MB / 463.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.4416, allocations: 1.812 kB / 463.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002413/0.4441, allocations: 1.579 MB / 464.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/0.4469, allocations: 0.5289 MB / 465.3 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.4581, allocations: 7.195 MB / 472.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002585/0.4607, allocations: 2.355 MB / 474.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001619/0.4624, allocations: 405 kB / 475.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/0.4628, allocations: 139.4 kB / 475.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4628, allocations: 0 / 475.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of Templates: time 0.0494/0.5122, allocations: 28.9 MB / 0.4924 GB, free: 13.26 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