Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 51.92 kB / 374.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1032, allocations: 53.34 MB / 427.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.2107/0.3139, allocations: 14.13 MB / 441.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.3243, allocations: 5.223 MB / 446.9 MB, free: 100 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00357/0.3278, allocations: 107.6 kB / 447 MB, free: 56 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00447/0.3323, allocations: 1.161 MB / 448.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00604/0.3384, allocations: 1.429 MB / 449.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003633/0.342, allocations: 0.9984 MB / 450.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0073/0.3493, allocations: 4.118 MB / 454.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003765/0.3531, allocations: 2.277 MB / 456.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004137/0.3572, allocations: 1.978 MB / 458.9 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005193/0.3624, allocations: 2.323 MB / 461.2 MB, free: 8.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001521/0.3639, allocations: 0.5089 MB / 461.8 MB, free: 8.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002938/0.3668, allocations: 0.7748 MB / 462.5 MB, free: 8.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.3684, allocations: 1.155 MB / 463.7 MB, free: 7.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004057/0.3724, allocations: 2.149 MB / 465.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.3827, allocations: 6.856 MB / 472.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3827, allocations: 0 / 472.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3827, allocations: 1.125 kB / 472.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002229/0.3829, allocations: 0 / 472.7 MB, free: 1.199 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.01533/0.3983, allocations: 4.622 MB / 477.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3983, allocations: 9.812 kB / 477.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004987/0.4033, allocations: 0.835 MB / 478.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005508/0.4088, allocations: 2.504 MB / 480.7 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/0.409, allocations: 234.4 kB / 480.9 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008004/0.4098, allocations: 329.2 kB / 481.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009675/0.4195, allocations: 4.292 MB / 485.5 MB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-05/0.4196, allocations: 7.953 kB / 485.5 MB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003542/0.4199, allocations: 128 kB / 485.6 MB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001693/0.4201, allocations: 158.4 kB / 485.8 MB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00709/0.4272, allocations: 3.636 MB / 489.4 MB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02491/0.4521, allocations: 13.39 MB / 0.491 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008891/0.461, allocations: 7.092 MB / 0.498 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003408/0.4644, allocations: 1.526 MB / 0.4994 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008578/0.473, allocations: 4.323 MB / 0.5037 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001554/0.4745, allocations: 0.8766 MB / 0.5045 GB, free: 5.805 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 4.398e-06/0.4745, allocations: 0 / 0.5045 GB, free: 5.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01519/0.4897, allocations: 6.745 MB / 0.5111 GB, free: 14.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/0.4899, allocations: 218.9 kB / 0.5113 GB, free: 14.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003693/0.4936, allocations: 1.94 MB / 0.5132 GB, free: 12.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.4938, allocations: 49.7 kB / 0.5133 GB, free: 12.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001654/0.4955, allocations: 1.537 MB / 0.5148 GB, free: 11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006559/0.4961, allocations: 0.5036 MB / 0.5153 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007047/0.4968, allocations: 311.5 kB / 0.5156 GB, free: 10.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.497, allocations: 305.1 kB / 0.5158 GB, free: 9.883 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.4983, allocations: 0.6754 MB / 0.5165 GB, free: 9.207 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.5001, allocations: 1.225 MB / 0.5177 GB, free: 7.762 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003169/0.5033, allocations: 1.959 MB / 0.5196 GB, free: 5.598 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/0.5033, allocations: 4 kB / 0.5196 GB, free: 5.594 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004939/0.5082, allocations: 2.527 MB / 0.5221 GB, free: 3.027 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.5083, allocations: 12.62 kB / 0.5221 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/0.5083, allocations: 15.98 kB / 0.5221 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009729/0.5093, allocations: 339.4 kB / 0.5224 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.5108, allocations: 375.4 kB / 0.5228 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00785/0.5186, allocations: 6.795 MB / 0.5294 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.5206, allocations: 91.97 kB / 0.5295 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002966/0.5209, allocations: 79.97 kB / 0.5296 GB, free: 10.91 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.002317/0.5233, allocations: 1.042 MB / 0.5306 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006109/0.5239, allocations: 214.6 kB / 0.5308 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004896/0.5288, allocations: 2.321 MB / 0.5331 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.5288, allocations: 12 kB / 0.5331 GB, free: 7.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.579e-05/0.5288, allocations: 8.188 kB / 0.5331 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.97e-05/0.5289, allocations: 11.97 kB / 0.5331 GB, free: 7.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/0.5398, allocations: 5.214 MB / 0.5382 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.5398, allocations: 4 kB / 0.5382 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008736/0.5407, allocations: 183.8 kB / 0.5384 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001533/0.5423, allocations: 0.4961 MB / 0.5389 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/0.5424, allocations: 39.98 kB / 0.5389 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/0.5557, allocations: 11.58 MB / 0.5502 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5557, allocations: 0 / 0.5502 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006917/0.5626, allocations: 3.237 MB / 0.5534 GB, free: 1.535 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/0.5639, allocations: 447.6 kB / 0.5538 GB, free: 1.078 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006345/0.5645, allocations: 35.98 kB / 0.5538 GB, free: 1.043 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.5658, allocations: 59.95 kB / 0.5539 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/0.5662, allocations: 113 kB / 0.554 GB, free: 0.875 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.5663, allocations: 43.98 kB / 0.554 GB, free: 0.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002665/0.5689, allocations: 1.327 MB / 0.5553 GB, free: 15.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5689, allocations: 0 / 0.5553 GB, free: 15.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002794/0.5717, allocations: 0.5898 MB / 0.5559 GB, free: 14.89 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.001883/0.5736, allocations: 482.7 kB / 0.5564 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004319/0.5779, allocations: 2.171 MB / 0.5585 GB, free: 12.34 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.5779, allocations: 0 / 0.5585 GB, free: 12.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002786/0.5807, allocations: 1.54 MB / 0.56 GB, free: 10.74 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/0.5841, allocations: 0.5468 MB / 0.5605 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.5972, allocations: 5.879 MB / 0.5663 GB, free: 4.262 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002719/0.5999, allocations: 2.315 MB / 0.5685 GB, free: 1.918 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007146/0.6007, allocations: 155.4 kB / 0.5687 GB, free: 1.766 MB / 478.1 MB Notification: Performance of SimCode: time 1.473e-06/0.6007, allocations: 0 / 0.5687 GB, free: 1.766 MB / 478.1 MB Notification: Performance of Templates: time 0.3152/0.9158, allocations: 115.7 MB / 0.6816 GB, free: 122.7 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 18.5343378810212]