Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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.002042/0.002042, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002606/0.002606, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.578/1.578, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 51.92 kB / 373.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1106, allocations: 53.33 MB / 426.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.2126/0.3232, allocations: 9.558 MB / 436.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006015/0.3292, allocations: 3.646 MB / 440 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000975/0.3301, allocations: 63.88 kB / 440.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.332, allocations: 0.759 MB / 440.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.3342, allocations: 0.885 MB / 441.7 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3352, allocations: 457.9 kB / 442.2 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00269/0.3379, allocations: 2.424 MB / 444.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.3396, allocations: 1.302 MB / 445.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.3414, allocations: 1.137 MB / 447 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.3433, allocations: 1.43 MB / 448.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004096/0.3437, allocations: 278.3 kB / 448.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008584/0.3446, allocations: 423.8 kB / 449.2 MB, free: 496 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006903/0.3453, allocations: 0.8099 MB / 450 MB, free: 44 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.3468, allocations: 1.281 MB / 451.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004967/0.3518, allocations: 3.771 MB / 455 MB, free: 13.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3518, allocations: 0 / 455 MB, free: 13.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3518, allocations: 3.938 kB / 455 MB, free: 13.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.864e-05/0.3519, allocations: 0 / 455 MB, free: 13.54 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.006407/0.3583, allocations: 2.742 MB / 457.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3583, allocations: 9.406 kB / 457.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.3593, allocations: 294.7 kB / 458.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/0.362, allocations: 1.409 MB / 459.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.3622, allocations: 140.2 kB / 459.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003439/0.3625, allocations: 190.1 kB / 459.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004875/0.3674, allocations: 2.441 MB / 462.2 MB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.978e-05/0.3675, allocations: 7.391 kB / 462.2 MB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002638/0.3677, allocations: 76.53 kB / 462.3 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002114/0.3679, allocations: 94.48 kB / 462.4 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003966/0.3719, allocations: 1.992 MB / 464.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01518/0.3871, allocations: 7.327 MB / 471.7 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.3892, allocations: 1.285 MB / 473 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/0.3909, allocations: 0.8182 MB / 473.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/0.3912, allocations: 125.5 kB / 473.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001293/0.3925, allocations: 0.6876 MB / 474.6 MB, free: 468 kB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 3.537e-06/0.3925, allocations: 0 / 474.6 MB, free: 468 kB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01836/0.4109, allocations: 7.365 MB / 482 MB, free: 8.914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.411, allocations: 175.2 kB / 482.2 MB, free: 8.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002411/0.4134, allocations: 1.427 MB / 483.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.4135, allocations: 45.7 kB / 483.6 MB, free: 7.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009627/0.4145, allocations: 0.9662 MB / 484.6 MB, free: 6.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004403/0.4149, allocations: 440.3 kB / 485 MB, free: 5.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004604/0.4154, allocations: 247.5 kB / 485.3 MB, free: 5.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4156, allocations: 357.9 kB / 485.6 MB, free: 5.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.4167, allocations: 0.6364 MB / 486.3 MB, free: 4.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.4183, allocations: 1.013 MB / 487.3 MB, free: 3.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/0.421, allocations: 1.7 MB / 489 MB, free: 1.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.4211, allocations: 4 kB / 489 MB, free: 1.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004451/0.4255, allocations: 2.337 MB / 491.3 MB, free: 15.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.4255, allocations: 16.23 kB / 491.3 MB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.4256, allocations: 12 kB / 491.3 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/0.4269, allocations: 0.4887 MB / 491.8 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.4281, allocations: 294.1 kB / 492.1 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008303/0.4364, allocations: 7.19 MB / 499.3 MB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.4379, allocations: 95.8 kB / 499.4 MB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.438, allocations: 52 kB / 499.5 MB, free: 6.621 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001241/0.4392, allocations: 0.6434 MB / 0.4884 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/0.4396, allocations: 159 kB / 0.4885 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00424/0.4438, allocations: 2.139 MB / 0.4906 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.4438, allocations: 19.94 kB / 0.4906 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.4438, allocations: 4 kB / 0.4906 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.4438, allocations: 11.91 kB / 0.4907 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008417/0.4523, allocations: 4.443 MB / 0.495 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.4523, allocations: 0 / 0.495 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008965/0.4532, allocations: 195.7 kB / 0.4952 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00154/0.4547, allocations: 0.5313 MB / 0.4957 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.61e-05/0.4548, allocations: 39.92 kB / 0.4957 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/0.4648, allocations: 8.738 MB / 0.5043 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.4648, allocations: 4 kB / 0.5043 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006189/0.471, allocations: 3.084 MB / 0.5073 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/0.4722, allocations: 375.9 kB / 0.5076 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006211/0.4729, allocations: 28 kB / 0.5077 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.474, allocations: 71.92 kB / 0.5077 GB, free: 1.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/0.4743, allocations: 101.4 kB / 0.5078 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-05/0.4744, allocations: 35.98 kB / 0.5079 GB, free: 1.168 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002225/0.4766, allocations: 0.9913 MB / 0.5088 GB, free: 180 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4766, allocations: 0 / 0.5088 GB, free: 180 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.00252/0.4792, allocations: 460 kB / 0.5093 GB, free: 15.72 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00199/0.4811, allocations: 499.3 kB / 0.5098 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004306/0.4854, allocations: 2.189 MB / 0.5119 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4855, allocations: 0 / 0.5119 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002647/0.4881, allocations: 1.459 MB / 0.5133 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.4906, allocations: 424 kB / 0.5137 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008071/0.4987, allocations: 4.316 MB / 0.5179 GB, free: 6.805 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001763/0.5004, allocations: 1.707 MB / 0.5196 GB, free: 5.062 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001152/0.5016, allocations: 313 kB / 0.5199 GB, free: 4.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/0.5019, allocations: 111.4 kB / 0.52 GB, free: 4.641 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5019, allocations: 4 kB / 0.52 GB, free: 4.637 MB / 430.1 MB Notification: Performance of Templates: time 0.05105/0.553, allocations: 25.5 MB / 0.5449 GB, free: 11.36 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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: 9.638614851981401]