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.0009778/0.0009785, allocations: 97.88 kB / 16.93 MB, free: 5.984 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.0009027/0.0009027, allocations: 179.3 kB / 17.82 MB, free: 5.652 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.604/1.604, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004764/0.0004764, allocations: 16 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1221, allocations: 47.57 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01339/0.1355, allocations: 10.8 MB / 339.1 MB, free: 9.258 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00974/0.1453, allocations: 4.499 MB / 343.6 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002843/0.1482, allocations: 59.75 kB / 343.7 MB, free: 4.688 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003779/0.152, allocations: 0.8748 MB / 344.6 MB, free: 3.809 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005292/0.1574, allocations: 1.203 MB / 345.8 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.1599, allocations: 0.6937 MB / 346.5 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005956/0.1659, allocations: 2.784 MB / 349.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003196/0.1691, allocations: 2.206 MB / 351.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.1715, allocations: 1.273 MB / 352.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/0.174, allocations: 1.517 MB / 354.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005119/0.1745, allocations: 204 kB / 354.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.1759, allocations: 403.7 kB / 354.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007448/0.1767, allocations: 0.7436 MB / 355.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.1777, allocations: 0.746 MB / 356.3 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006195/0.1839, allocations: 5.497 MB / 361.8 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.184, allocations: 4 kB / 361.8 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.184, allocations: 0 / 361.8 MB, free: 2.461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001788/0.1842, allocations: 3.938 kB / 361.8 MB, free: 2.457 MB / 302.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.01198/0.1962, allocations: 3.813 MB / 365.6 MB, free: 14.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.1963, allocations: 12.03 kB / 365.7 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005139/0.2014, allocations: 0.8232 MB / 366.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006048/0.2075, allocations: 2.21 MB / 368.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002431/0.2078, allocations: 242.4 kB / 368.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001013/0.2088, allocations: 319.9 kB / 369.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008933/0.2177, allocations: 4.237 MB / 373.5 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.181e-05/0.2179, allocations: 7.891 kB / 373.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003127/0.2182, allocations: 132 kB / 373.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/0.2183, allocations: 150.4 kB / 373.8 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00731/0.2257, allocations: 3.601 MB / 377.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2554/0.4811, allocations: 13.42 MB / 390.8 MB, free: 42.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007051/0.4882, allocations: 6.945 MB / 397.7 MB, free: 35.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006901/0.4951, allocations: 3.283 MB / 401 MB, free: 33.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001426/0.4966, allocations: 0.92 MB / 401.9 MB, free: 33.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=143): time 3.867e-06/0.4966, allocations: 1.094 kB / 401.9 MB, free: 33.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=152): time 0.01349/0.5101, allocations: 6.905 MB / 408.8 MB, free: 28.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.188e-05/0.5103, allocations: 222.8 kB / 409 MB, free: 28.51 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002708/0.513, allocations: 1.842 MB / 410.9 MB, free: 27.53 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000244/0.5133, allocations: 53.2 kB / 410.9 MB, free: 27.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.5144, allocations: 1.454 MB / 412.4 MB, free: 26.22 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004049/0.5148, allocations: 0.5114 MB / 412.9 MB, free: 25.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.96e-05/0.5149, allocations: 35.66 kB / 412.9 MB, free: 25.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.515, allocations: 380.5 kB / 413.3 MB, free: 25.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.516, allocations: 0.6985 MB / 414 MB, free: 25.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.5172, allocations: 1.226 MB / 415.2 MB, free: 23.99 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.5184, allocations: 0.9153 MB / 416.2 MB, free: 23.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.5184, allocations: 4 kB / 416.2 MB, free: 23.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.0036/0.522, allocations: 2.51 MB / 418.7 MB, free: 20.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/0.5221, allocations: 8 kB / 418.7 MB, free: 20.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/0.5221, allocations: 16 kB / 418.7 MB, free: 20.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000716/0.5229, allocations: 283.5 kB / 419 MB, free: 20.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.5243, allocations: 407.4 kB / 419.4 MB, free: 20.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004355/0.5287, allocations: 5.927 MB / 425.3 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.5307, allocations: 100 kB / 425.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.5309, allocations: 75.98 kB / 425.5 MB, free: 13.67 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001956/0.5329, allocations: 1.036 MB / 426.5 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005152/0.5334, allocations: 205.4 kB / 426.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003694/0.5371, allocations: 2.37 MB / 429.1 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.5371, allocations: 16 kB / 429.1 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.5371, allocations: 12 kB / 429.1 MB, free: 9.969 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.5372, allocations: 3.984 kB / 429.1 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008322/0.5455, allocations: 5.45 MB / 434.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.5456, allocations: 4 kB / 434.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008311/0.5464, allocations: 207.7 kB / 434.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.5475, allocations: 458.9 kB / 435.2 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.5476, allocations: 43.94 kB / 435.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/0.5578, allocations: 10.29 MB / 445.5 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.5579, allocations: 4.031 kB / 445.5 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006213/0.5641, allocations: 3.413 MB / 449 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/0.5657, allocations: 443.4 kB / 449.4 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003657/0.5661, allocations: 39.98 kB / 449.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000906/0.567, allocations: 71.95 kB / 449.5 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003532/0.5673, allocations: 109.1 kB / 449.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.5674, allocations: 45.2 kB / 449.7 MB, free: 4.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002185/0.5696, allocations: 1.267 MB / 450.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5696, allocations: 1.75 kB / 450.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00271/0.5724, allocations: 0.5923 MB / 451.5 MB, free: 2.652 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (114): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001382/0.5738, allocations: 479.6 kB / 452 MB, free: 2.199 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00399/0.5778, allocations: 2.263 MB / 454.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.5778, allocations: 0 / 454.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002669/0.5805, allocations: 1.62 MB / 455.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/0.5831, allocations: 0.4907 MB / 456.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.5958, allocations: 7.102 MB / 463.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002325/0.5982, allocations: 2.411 MB / 465.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001717/0.5999, allocations: 421.1 kB / 466.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003495/0.6003, allocations: 143.4 kB / 466.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6003, allocations: 0 / 466.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of Templates: time 0.05542/0.6557, allocations: 27.86 MB / 494.3 MB, free: 7.664 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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