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.0008594/0.0008594, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003866/0.003866, allocations: 156 kB / 24.7 MB, free: 9.434 MB / 18.57 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 0.8425/0.8425, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,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=200000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.224e-05/4.378e-05, allocations: 6.219 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.009918/0.009962, allocations: 12.35 MB / 338.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007517/0.01748, allocations: 4.959 MB / 343.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.01947, allocations: 99.38 kB / 343.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002424/0.02189, allocations: 1.114 MB / 344.3 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0035/0.02539, allocations: 1.463 MB / 345.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.02719, allocations: 0.9777 MB / 346.8 MB, free: 10.31 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004196/0.03139, allocations: 4.329 MB / 351.1 MB, free: 5.961 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.03345, allocations: 1.754 MB / 352.8 MB, free: 4.141 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003864/0.03731, allocations: 2.877 MB / 355.7 MB, free: 1.258 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002607/0.03992, allocations: 1.851 MB / 357.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001031/0.04095, allocations: 0.5078 MB / 358.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.04256, allocations: 0.7573 MB / 358.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.04358, allocations: 1.172 MB / 360 MB, free: 12.96 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002225/0.04581, allocations: 1.454 MB / 361.5 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006784/0.05259, allocations: 6.91 MB / 368.4 MB, free: 4.574 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.0526, allocations: 0 / 368.4 MB, free: 4.574 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.0526, allocations: 0 / 368.4 MB, free: 4.574 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001939/0.05279, allocations: 0 / 368.4 MB, free: 4.574 MB / 330.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.009303/0.0621, allocations: 4.493 MB / 372.9 MB, free: 20 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.06214, allocations: 15.98 kB / 372.9 MB, free: 4 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/0.0646, allocations: 0.8281 MB / 373.7 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003629/0.06823, allocations: 2.416 MB / 376.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.06837, allocations: 248.6 kB / 376.4 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007328/0.0691, allocations: 320 kB / 376.7 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006257/0.07536, allocations: 4.446 MB / 381.1 MB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.075e-05/0.07542, allocations: 0 / 381.1 MB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002854/0.07571, allocations: 135.9 kB / 381.3 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001097/0.07582, allocations: 150.4 kB / 381.4 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004891/0.08071, allocations: 3.636 MB / 385 MB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01684/0.09755, allocations: 11.38 MB / 396.4 MB, free: 8.008 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003569/0.1011, allocations: 2.716 MB / 399.1 MB, free: 5.418 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.1029, allocations: 1.523 MB / 400.7 MB, free: 3.895 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004497/0.1074, allocations: 3.439 MB / 404.1 MB, free: 436 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009332/0.1083, allocations: 1.031 MB / 405.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=132): time 2.775e-06/0.1083, allocations: 3.938 kB / 405.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=140): time 0.008209/0.1165, allocations: 6.123 MB / 411.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.895e-05/0.1166, allocations: 218.9 kB / 411.5 MB, free: 8.883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/0.1186, allocations: 1.729 MB / 413.2 MB, free: 7.145 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.1186, allocations: 49.7 kB / 413.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009379/0.1196, allocations: 1.536 MB / 414.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/0.1199, allocations: 0.4919 MB / 415.3 MB, free: 5.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003221/0.1202, allocations: 315.4 kB / 415.6 MB, free: 4.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.09e-05/0.1203, allocations: 305.1 kB / 415.9 MB, free: 4.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007356/0.121, allocations: 0.6793 MB / 416.6 MB, free: 3.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.122, allocations: 1.404 MB / 418 MB, free: 2.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/0.1239, allocations: 1.963 MB / 419.9 MB, free: 15.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.1239, allocations: 11.94 kB / 419.9 MB, free: 15.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002676/0.1266, allocations: 2.425 MB / 422.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.1266, allocations: 15.56 kB / 422.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.1266, allocations: 20 kB / 422.4 MB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005427/0.1272, allocations: 335.1 kB / 422.7 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.1279, allocations: 375.4 kB / 423.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004146/0.132, allocations: 6.338 MB / 429.4 MB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.1331, allocations: 95.84 kB / 429.5 MB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-05/0.1332, allocations: 75.98 kB / 429.6 MB, free: 5.898 MB / 394.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 ($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.001594/0.1348, allocations: 1.04 MB / 430.6 MB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.135, allocations: 194.7 kB / 430.8 MB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002519/0.1375, allocations: 2.169 MB / 433 MB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.1375, allocations: 12 kB / 433 MB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.1376, allocations: 8 kB / 433 MB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.1376, allocations: 7.922 kB / 433 MB, free: 2.434 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00589/0.1435, allocations: 4.346 MB / 437.4 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1435, allocations: 4 kB / 437.4 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.1439, allocations: 179.8 kB / 437.6 MB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007866/0.1447, allocations: 0.504 MB / 438.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.365e-05/0.1447, allocations: 39.98 kB / 438.1 MB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00785/0.1526, allocations: 10.79 MB / 448.9 MB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1526, allocations: 3.938 kB / 448.9 MB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1577/0.3103, allocations: 3.059 MB / 452 MB, free: 111.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009421/0.3112, allocations: 352.9 kB / 452.3 MB, free: 111.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.3114, allocations: 35.22 kB / 452.3 MB, free: 111.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.3119, allocations: 61.45 kB / 452.4 MB, free: 111.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/0.3121, allocations: 120.4 kB / 452.5 MB, free: 111.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.937e-05/0.3122, allocations: 45.92 kB / 452.6 MB, free: 111.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001303/0.3135, allocations: 1.16 MB / 453.7 MB, free: 111.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3135, allocations: 0 / 453.7 MB, free: 111.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001452/0.315, allocations: 0.5879 MB / 454.3 MB, free: 111.6 MB / 410.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 (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.0008741/0.3158, allocations: 0.4901 MB / 454.8 MB, free: 111.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002281/0.3181, allocations: 2.075 MB / 456.9 MB, free: 110.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3181, allocations: 10.31 kB / 456.9 MB, free: 110.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.3193, allocations: 1.549 MB / 458.4 MB, free: 109.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.3205, allocations: 463.2 kB / 458.9 MB, free: 109.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006072/0.3266, allocations: 5.703 MB / 464.6 MB, free: 106.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.3277, allocations: 1.759 MB / 466.3 MB, free: 105.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/0.328, allocations: 140 kB / 466.5 MB, free: 105.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.603e-06/0.328, allocations: 0 / 466.5 MB, free: 105.5 MB / 410.7 MB Notification: Performance of Templates: time 0.05986/0.3879, allocations: 115.1 MB / 0.568 GB, free: 7.508 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 12.114140373654664]