Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 201.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, allocations: 92.75 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003234, allocations: 8 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2933, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4081/0.7015, allocations: 116 MB / 0.5131 GB, free: 98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.7018, allocations: 99.42 kB / 0.5132 GB, free: 98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1735/0.8753, allocations: 87.76 MB / 0.5989 GB, free: 12.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.8753, allocations: 0 / 0.5989 GB, free: 12.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001897/0.8755, allocations: 87.86 kB / 0.599 GB, free: 12.83 MB / 378.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.007381/0.8829, allocations: 3.66 MB / 0.6025 GB, free: 9.094 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.8829, allocations: 12.03 kB / 0.6025 GB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/0.8865, allocations: 0.7421 MB / 0.6033 GB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004589/0.8911, allocations: 2.791 MB / 0.606 GB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.8912, allocations: 242.8 kB / 0.6062 GB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00045/0.8917, allocations: 324.6 kB / 0.6065 GB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006672/0.8984, allocations: 4.212 MB / 0.6107 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.682e-05/0.8985, allocations: 15.98 kB / 0.6107 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000325/0.8988, allocations: 132 kB / 0.6108 GB, free: 476 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.8989, allocations: 150.4 kB / 0.6109 GB, free: 324 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006187/0.9051, allocations: 3.414 MB / 0.6143 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02039/0.9255, allocations: 13.58 MB / 0.6275 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006414/0.932, allocations: 7.213 MB / 0.6346 GB, free: 6.793 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002882/0.9349, allocations: 1.733 MB / 0.6363 GB, free: 5.066 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00669/0.9416, allocations: 4.362 MB / 0.6405 GB, free: 0.543 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001267/0.9429, allocations: 0.8689 MB / 0.6414 GB, free: 15.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 2.925e-06/0.9429, allocations: 3.938 kB / 0.6414 GB, free: 15.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=140): time 0.01208/0.955, allocations: 6.705 MB / 0.6479 GB, free: 8.727 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.9551, allocations: 234.9 kB / 0.6482 GB, free: 8.449 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002605/0.9577, allocations: 1.889 MB / 0.65 GB, free: 6.512 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.141e-05/0.9578, allocations: 53.7 kB / 0.6501 GB, free: 6.453 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001294/0.9591, allocations: 1.494 MB / 0.6515 GB, free: 4.941 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003701/0.9595, allocations: 489 kB / 0.652 GB, free: 4.457 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.502e-05/0.9596, allocations: 36 kB / 0.652 GB, free: 4.422 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.9598, allocations: 373.9 kB / 0.6524 GB, free: 4.051 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.9608, allocations: 0.6676 MB / 0.653 GB, free: 3.383 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.9623, allocations: 1.217 MB / 0.6542 GB, free: 1.941 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002603/0.9649, allocations: 1.947 MB / 0.6561 GB, free: 15.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.9649, allocations: 4 kB / 0.6561 GB, free: 15.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003881/0.9688, allocations: 2.499 MB / 0.6586 GB, free: 13.24 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.9688, allocations: 8 kB / 0.6586 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.9688, allocations: 16 kB / 0.6586 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007851/0.9696, allocations: 331.3 kB / 0.6589 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.971, allocations: 379.4 kB / 0.6593 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005816/0.9768, allocations: 6.279 MB / 0.6654 GB, free: 5.836 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.9782, allocations: 96.02 kB / 0.6655 GB, free: 5.742 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.9783, allocations: 71.98 kB / 0.6655 GB, free: 5.672 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (193): * Single equations (assignments): 189 * 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%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001899/0.9802, allocations: 1.031 MB / 0.6666 GB, free: 4.633 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/0.9805, allocations: 201.6 kB / 0.6667 GB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003821/0.9843, allocations: 2.344 MB / 0.669 GB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.9843, allocations: 12 kB / 0.669 GB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.9844, allocations: 15.94 kB / 0.6691 GB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.9844, allocations: 7.969 kB / 0.6691 GB, free: 1.996 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.178/1.162, allocations: 5.318 MB / 0.6743 GB, free: 87.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.162, allocations: 0 / 0.6743 GB, free: 87.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007227/1.163, allocations: 181.9 kB / 0.6744 GB, free: 87.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/1.164, allocations: 0.5108 MB / 0.6749 GB, free: 87.42 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-05/1.164, allocations: 37.17 kB / 0.675 GB, free: 87.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007798/1.172, allocations: 10.61 MB / 0.6853 GB, free: 80.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.172, allocations: 4.969 kB / 0.6853 GB, free: 80.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004383/1.177, allocations: 3.248 MB / 0.6885 GB, free: 80.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008053/1.177, allocations: 446.9 kB / 0.6889 GB, free: 80.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00027/1.178, allocations: 38.59 kB / 0.689 GB, free: 80.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.179, allocations: 65.53 kB / 0.689 GB, free: 80.31 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/1.179, allocations: 107.6 kB / 0.6891 GB, free: 80.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.591e-05/1.179, allocations: 43.77 kB / 0.6892 GB, free: 80.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001954/1.181, allocations: 1.301 MB / 0.6905 GB, free: 80.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.6e-07/1.181, allocations: 2.844 kB / 0.6905 GB, free: 80.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002159/1.183, allocations: 0.6446 MB / 0.6911 GB, free: 80.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (100): * Single equations (assignments): 93 * 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%) 8,(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.001214/1.184, allocations: 0.6852 MB / 0.6918 GB, free: 80.06 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002705/1.187, allocations: 2.22 MB / 0.6939 GB, free: 79.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.187, allocations: 3.906 kB / 0.6939 GB, free: 79.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001938/1.189, allocations: 1.609 MB / 0.6955 GB, free: 79.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.191, allocations: 0.5159 MB / 0.696 GB, free: 79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008114/1.199, allocations: 7.079 MB / 0.7029 GB, free: 75.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/1.201, allocations: 2.361 MB / 0.7052 GB, free: 75.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001375/1.202, allocations: 406.5 kB / 0.7056 GB, free: 75.15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/1.203, allocations: 135.5 kB / 0.7057 GB, free: 75.14 MB / 442.7 MB Notification: Performance of SimCode: time 5.21e-07/1.203, allocations: 4 kB / 0.7057 GB, free: 75.14 MB / 442.7 MB Notification: Performance of Templates: time 0.04802/1.251, allocations: 31.73 MB / 0.7367 GB, free: 73.48 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches