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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001551/0.001551, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.2 MB / 219.8 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008077/0.0008077, allocations: 74.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.124e-05/5.137e-05, allocations: 4 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 47.58 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4343/0.539, allocations: 112.8 MB / 482.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003719/0.5394, allocations: 83.08 kB / 482.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5339/1.073, allocations: 83.65 MB / 0.5533 GB, free: 91.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.345e-06/1.073, allocations: 3.75 kB / 0.5533 GB, free: 91.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002398/1.074, allocations: 80 kB / 0.5534 GB, free: 91.56 MB / 410.7 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.00937/1.083, allocations: 3.306 MB / 0.5566 GB, free: 90.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/1.083, allocations: 7.75 kB / 0.5566 GB, free: 90.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004343/1.087, allocations: 0.7357 MB / 0.5574 GB, free: 90.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008304/1.096, allocations: 3.36 MB / 0.5606 GB, free: 89.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/1.096, allocations: 247 kB / 0.5609 GB, free: 89.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000911/1.097, allocations: 318.9 kB / 0.5612 GB, free: 89.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007866/1.105, allocations: 4.127 MB / 0.5652 GB, free: 89.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.166e-05/1.105, allocations: 10.34 kB / 0.5652 GB, free: 89.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003143/1.105, allocations: 139.1 kB / 0.5653 GB, free: 89.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/1.105, allocations: 151.4 kB / 0.5655 GB, free: 89.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005974/1.111, allocations: 3.331 MB / 0.5687 GB, free: 88.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02079/1.132, allocations: 13.48 MB / 0.5819 GB, free: 81.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005498/1.138, allocations: 6.879 MB / 0.5886 GB, free: 75.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001933/1.14, allocations: 1.353 MB / 0.5899 GB, free: 74.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006755/1.146, allocations: 3.822 MB / 0.5937 GB, free: 72.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/1.148, allocations: 0.8088 MB / 0.5945 GB, free: 72.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 3.897e-06/1.148, allocations: 7.781 kB / 0.5945 GB, free: 72.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.008257/1.156, allocations: 5.04 MB / 0.5994 GB, free: 69.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/1.156, allocations: 233.6 kB / 0.5996 GB, free: 69.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/1.158, allocations: 1.648 MB / 0.6012 GB, free: 68.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.176e-05/1.158, allocations: 45.55 kB / 0.6013 GB, free: 68.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001201/1.16, allocations: 1.49 MB / 0.6027 GB, free: 67.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003245/1.16, allocations: 483.2 kB / 0.6032 GB, free: 66.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/1.16, allocations: 27.75 kB / 0.6032 GB, free: 66.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/1.16, allocations: 374 kB / 0.6036 GB, free: 66.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00083/1.161, allocations: 0.6288 MB / 0.6042 GB, free: 66.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/1.162, allocations: 1.169 MB / 0.6053 GB, free: 65.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/1.163, allocations: 0.8548 MB / 0.6062 GB, free: 64.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/1.163, allocations: 3.5 kB / 0.6062 GB, free: 64.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.003501/1.167, allocations: 2.355 MB / 0.6085 GB, free: 63.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/1.167, allocations: 11.31 kB / 0.6085 GB, free: 63.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/1.167, allocations: 14.84 kB / 0.6085 GB, free: 63.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007803/1.167, allocations: 290.4 kB / 0.6088 GB, free: 63.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/1.169, allocations: 380 kB / 0.6091 GB, free: 63.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004686/1.174, allocations: 5.827 MB / 0.6148 GB, free: 58.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/1.175, allocations: 105.3 kB / 0.6149 GB, free: 58.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/1.176, allocations: 68.28 kB / 0.615 GB, free: 58.74 MB / 410.7 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 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 190 * 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%) 4,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003213/1.176, allocations: 204.6 kB / 0.6152 GB, free: 58.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/1.176, allocations: 205.5 kB / 0.6154 GB, free: 58.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/1.179, allocations: 2.191 MB / 0.6175 GB, free: 56.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/1.18, allocations: 19.95 kB / 0.6175 GB, free: 56.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.18, allocations: 4 kB / 0.6175 GB, free: 56.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/1.18, allocations: 10.89 kB / 0.6176 GB, free: 56.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007693/1.187, allocations: 5.113 MB / 0.6225 GB, free: 52.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.187, allocations: 4 kB / 0.6225 GB, free: 52.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/1.188, allocations: 184.6 kB / 0.6227 GB, free: 51.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/1.189, allocations: 451.5 kB / 0.6232 GB, free: 51.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-05/1.189, allocations: 39.64 kB / 0.6232 GB, free: 51.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0083/1.198, allocations: 10.14 MB / 0.6331 GB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.198, allocations: 4.031 kB / 0.6331 GB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004614/1.202, allocations: 3.109 MB / 0.6361 GB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/1.203, allocations: 439.2 kB / 0.6366 GB, free: 37.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/1.204, allocations: 36 kB / 0.6366 GB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008391/1.204, allocations: 71.62 kB / 0.6367 GB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/1.205, allocations: 100.2 kB / 0.6367 GB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.11e-05/1.205, allocations: 35.7 kB / 0.6368 GB, free: 37.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001942/1.207, allocations: 1.272 MB / 0.638 GB, free: 36.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-07/1.207, allocations: 0 / 0.638 GB, free: 36.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00267/1.209, allocations: 0.6323 MB / 0.6386 GB, free: 35.94 MB / 410.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 94 * 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.001295/1.211, allocations: 0.6704 MB / 0.6393 GB, free: 35.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002846/1.213, allocations: 2.091 MB / 0.6413 GB, free: 33.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.214, allocations: 4 kB / 0.6413 GB, free: 33.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001885/1.215, allocations: 1.516 MB / 0.6428 GB, free: 31.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/1.218, allocations: 0.4993 MB / 0.6433 GB, free: 31.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00804/1.226, allocations: 4.671 MB / 0.6479 GB, free: 27.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001716/1.228, allocations: 2.406 MB / 0.6502 GB, free: 25.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001528/1.229, allocations: 410.1 kB / 0.6506 GB, free: 25.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/1.229, allocations: 135.1 kB / 0.6507 GB, free: 25 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/1.229, allocations: 0 / 0.6507 GB, free: 25 MB / 410.7 MB Notification: Performance of Templates: time 0.0505/1.28, allocations: 31.09 MB / 0.6811 GB, free: 11.06 MB / 426.7 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