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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001646/0.001646, allocations: 121.3 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002087/0.002087, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 63.89 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1136, allocations: 53.32 MB / 426.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.2496/0.3632, allocations: 14.13 MB / 440.8 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.3742, allocations: 5.229 MB / 446 MB, free: 424 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003885/0.3781, allocations: 83 kB / 446.1 MB, free: 404 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004504/0.3826, allocations: 1.162 MB / 447.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007658/0.3902, allocations: 1.434 MB / 448.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00391/0.3942, allocations: 0.9981 MB / 449.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008342/0.4025, allocations: 4.118 MB / 453.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005881/0.4084, allocations: 2.275 MB / 456.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004741/0.4131, allocations: 1.943 MB / 458 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00544/0.4186, allocations: 2.318 MB / 460.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002069/0.4206, allocations: 0.5094 MB / 460.9 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003647/0.4243, allocations: 0.7726 MB / 461.6 MB, free: 8.918 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002519/0.4268, allocations: 1.151 MB / 462.8 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006453/0.4332, allocations: 2.161 MB / 465 MB, free: 6.711 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.4471, allocations: 6.859 MB / 471.8 MB, free: 1.637 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4471, allocations: 0 / 471.8 MB, free: 1.637 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4471, allocations: 0 / 471.8 MB, free: 1.637 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002797/0.4474, allocations: 1.125 kB / 471.8 MB, free: 1.637 MB / 366.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.01794/0.4654, allocations: 4.614 MB / 476.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4654, allocations: 18.91 kB / 476.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001681/0.4671, allocations: 460.9 kB / 476.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00576/0.4728, allocations: 0.829 MB / 477.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007245/0.4801, allocations: 2.505 MB / 480.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002855/0.4804, allocations: 238.4 kB / 480.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/0.4816, allocations: 323.9 kB / 480.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009383/0.491, allocations: 4.298 MB / 485.1 MB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.981e-05/0.491, allocations: 7.953 kB / 485.1 MB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000316/0.4914, allocations: 124 kB / 485.2 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001704/0.4915, allocations: 158.4 kB / 485.4 MB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007058/0.4986, allocations: 3.633 MB / 489 MB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0258/0.5244, allocations: 13.38 MB / 0.4906 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007827/0.5322, allocations: 7.091 MB / 0.4975 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002974/0.5352, allocations: 1.534 MB / 0.499 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008234/0.5434, allocations: 4.328 MB / 0.5033 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/0.5449, allocations: 0.8689 MB / 0.5041 GB, free: 6.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.777e-06/0.5449, allocations: 0 / 0.5041 GB, free: 6.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01609/0.561, allocations: 6.753 MB / 0.5107 GB, free: 15.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/0.5612, allocations: 222.9 kB / 0.5109 GB, free: 14.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005133/0.5663, allocations: 1.94 MB / 0.5128 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.5665, allocations: 53.7 kB / 0.5129 GB, free: 12.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002186/0.5686, allocations: 1.522 MB / 0.5143 GB, free: 11.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006159/0.5693, allocations: 0.5036 MB / 0.5148 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007439/0.57, allocations: 307.5 kB / 0.5151 GB, free: 10.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5701, allocations: 305.1 kB / 0.5154 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/0.5715, allocations: 0.6871 MB / 0.5161 GB, free: 9.469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/0.5735, allocations: 1.229 MB / 0.5173 GB, free: 8.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003504/0.577, allocations: 1.959 MB / 0.5192 GB, free: 5.855 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-05/0.577, allocations: 4 kB / 0.5192 GB, free: 5.852 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005641/0.5827, allocations: 2.523 MB / 0.5217 GB, free: 3.289 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.5827, allocations: 15.94 kB / 0.5217 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-05/0.5827, allocations: 12 kB / 0.5217 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009806/0.5837, allocations: 339.4 kB / 0.522 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.5851, allocations: 379.4 kB / 0.5224 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007658/0.5928, allocations: 6.79 MB / 0.529 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.5948, allocations: 99.91 kB / 0.5291 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/0.595, allocations: 71.98 kB / 0.5292 GB, free: 11.17 MB / 446.1 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 ($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 (193): * Single equations (assignments): 189 * 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,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002369/0.5974, allocations: 1.036 MB / 0.5302 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006511/0.598, allocations: 218.5 kB / 0.5304 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004859/0.6029, allocations: 2.325 MB / 0.5327 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.6029, allocations: 16.17 kB / 0.5327 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.195e-05/0.6029, allocations: 11.94 kB / 0.5327 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.603, allocations: 7.922 kB / 0.5327 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.6141, allocations: 5.206 MB / 0.5378 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.6141, allocations: 4 kB / 0.5378 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000812/0.6149, allocations: 179.8 kB / 0.538 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001466/0.6164, allocations: 0.496 MB / 0.5384 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.6165, allocations: 43.98 kB / 0.5385 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/0.6298, allocations: 11.59 MB / 0.5498 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6298, allocations: 0 / 0.5498 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006452/0.6362, allocations: 3.241 MB / 0.553 GB, free: 1.789 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/0.6378, allocations: 451.5 kB / 0.5534 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007166/0.6385, allocations: 36 kB / 0.5534 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.6399, allocations: 55.95 kB / 0.5535 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003748/0.6403, allocations: 109.2 kB / 0.5536 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.6404, allocations: 43.92 kB / 0.5536 GB, free: 1.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003428/0.6438, allocations: 1.331 MB / 0.5549 GB, free: 15.73 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6438, allocations: 0 / 0.5549 GB, free: 15.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003692/0.6475, allocations: 0.5859 MB / 0.5555 GB, free: 15.15 MB / 478.1 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 (99): * Single equations (assignments): 92 * 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,8,100.0%), (1,3,100.0%), (1,8,100.0%), (1,13,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.008558/0.6561, allocations: 4.154 MB / 0.5596 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004297/0.6604, allocations: 2.168 MB / 0.5617 GB, free: 8.828 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6604, allocations: 0 / 0.5617 GB, free: 8.828 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002989/0.6634, allocations: 1.539 MB / 0.5632 GB, free: 7.227 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003938/0.6673, allocations: 0.5505 MB / 0.5637 GB, free: 6.688 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04572/0.713, allocations: 20.34 MB / 0.5836 GB, free: 1.656 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003612/0.7166, allocations: 2.356 MB / 0.5859 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001664/0.7183, allocations: 405.2 kB / 0.5863 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001959/0.7202, allocations: 1.198 MB / 0.5874 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of SimCode: time 1.463e-06/0.7202, allocations: 7.938 kB / 0.5875 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3574/1.078, allocations: 55.64 MB / 0.6418 GB, free: 165.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.27/16.35, allocations: 12.89 kB / 0.6418 GB, free: 165.1 MB / 0.5137 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 640] Reference file matches [Calling sys.exit(0), Time elapsed: 69.68165715411305]