Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.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.001933/0.001933, allocations: 107 kB / 19.8 MB, free: 2.5 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.002883/0.002883, allocations: 218.8 kB / 23 MB, free: 5.578 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.485/1.485, allocations: 230.2 MB / 256.2 MB, free: 8.52 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: 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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 63.89 kB / 376.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2883, allocations: 53.33 MB / 429.8 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01301/0.3013, allocations: 9.605 MB / 439.4 MB, free: 14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007643/0.309, allocations: 3.657 MB / 443.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.3105, allocations: 47.81 kB / 443.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00226/0.3128, allocations: 0.773 MB / 443.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00296/0.3158, allocations: 0.8778 MB / 444.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.3169, allocations: 463 kB / 445.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003404/0.3203, allocations: 2.436 MB / 447.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.3219, allocations: 1.044 MB / 448.7 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.3237, allocations: 1.11 MB / 449.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.3256, allocations: 1.432 MB / 451.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003879/0.326, allocations: 284 kB / 451.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000866/0.3269, allocations: 419.8 kB / 451.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008502/0.3277, allocations: 0.8141 MB / 452.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001418/0.3291, allocations: 1.287 MB / 454 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004441/0.3336, allocations: 3.764 MB / 457.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.3336, allocations: 0 / 457.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3336, allocations: 0 / 457.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.252e-05/0.3337, allocations: 0 / 457.8 MB, free: 11.5 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.005746/0.3394, allocations: 2.75 MB / 460.6 MB, free: 8.695 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3395, allocations: 8.031 kB / 460.6 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008567/0.3403, allocations: 291.3 kB / 460.8 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.3428, allocations: 1.41 MB / 462.3 MB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.3429, allocations: 139.7 kB / 462.4 MB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003/0.3432, allocations: 192 kB / 462.6 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004232/0.3474, allocations: 2.428 MB / 465 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.77e-05/0.3475, allocations: 15.89 kB / 465 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.3477, allocations: 79.98 kB / 465.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001228/0.3478, allocations: 95.67 kB / 465.2 MB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003468/0.3513, allocations: 1.982 MB / 467.2 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01176/0.363, allocations: 7.345 MB / 474.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.3649, allocations: 1.286 MB / 475.8 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.3665, allocations: 0.8207 MB / 476.6 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/0.3667, allocations: 122.1 kB / 476.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.3678, allocations: 0.6828 MB / 477.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.355e-06/0.3678, allocations: 0 / 477.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01615/0.384, allocations: 7.371 MB / 484.8 MB, free: 15.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.3841, allocations: 171.2 kB / 485 MB, free: 15.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.3863, allocations: 1.431 MB / 486.4 MB, free: 14.22 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-05/0.3864, allocations: 45.7 kB / 486.4 MB, free: 14.17 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009428/0.3873, allocations: 0.9546 MB / 487.4 MB, free: 13.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003929/0.3877, allocations: 440.3 kB / 487.8 MB, free: 12.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004284/0.3882, allocations: 251.5 kB / 488.1 MB, free: 12.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3883, allocations: 361.9 kB / 488.4 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.3894, allocations: 0.6402 MB / 489.1 MB, free: 11.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.3907, allocations: 1.001 MB / 490.1 MB, free: 10.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002432/0.3932, allocations: 1.707 MB / 491.8 MB, free: 8.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.3932, allocations: 8 kB / 491.8 MB, free: 8.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004005/0.3972, allocations: 2.337 MB / 494.1 MB, free: 6.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.3972, allocations: 12 kB / 494.1 MB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.3972, allocations: 8 kB / 494.1 MB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.3984, allocations: 0.4916 MB / 494.6 MB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.3995, allocations: 299.4 kB / 494.9 MB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007562/0.4071, allocations: 7.19 MB / 0.4903 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.4084, allocations: 99.86 kB / 0.4904 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.4086, allocations: 55.94 kB / 0.4905 GB, free: 13.57 MB / 414.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.001261/0.4098, allocations: 0.634 MB / 0.4911 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003749/0.4102, allocations: 163 kB / 0.4913 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003862/0.4141, allocations: 2.143 MB / 0.4934 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.4141, allocations: 12 kB / 0.4934 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.4141, allocations: 4 kB / 0.4934 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.4141, allocations: 7.969 kB / 0.4934 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007886/0.422, allocations: 4.438 MB / 0.4977 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.422, allocations: 8.312 kB / 0.4977 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008263/0.4228, allocations: 195.7 kB / 0.4979 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.4243, allocations: 0.5311 MB / 0.4984 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.4244, allocations: 31.98 kB / 0.4985 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009161/0.4336, allocations: 8.741 MB / 0.507 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.4336, allocations: 4 kB / 0.507 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005102/0.4387, allocations: 3.088 MB / 0.51 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008132/0.4395, allocations: 371.9 kB / 0.5104 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/0.4397, allocations: 32 kB / 0.5104 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007709/0.4405, allocations: 67.92 kB / 0.5105 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/0.4408, allocations: 100.8 kB / 0.5106 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.654e-05/0.4408, allocations: 39.98 kB / 0.5106 GB, free: 8.113 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0015/0.4423, allocations: 0.9873 MB / 0.5116 GB, free: 7.125 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4423, allocations: 0 / 0.5116 GB, free: 7.125 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001488/0.4438, allocations: 459.9 kB / 0.512 GB, free: 6.676 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.001697/0.4455, allocations: 490.8 kB / 0.5125 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003597/0.4491, allocations: 2.196 MB / 0.5146 GB, free: 4.043 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4491, allocations: 0 / 0.5146 GB, free: 4.043 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00231/0.4514, allocations: 1.464 MB / 0.516 GB, free: 2.504 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.4533, allocations: 428.1 kB / 0.5165 GB, free: 2.102 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007559/0.4608, allocations: 4.319 MB / 0.5207 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/0.4623, allocations: 1.706 MB / 0.5223 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009225/0.4633, allocations: 321 kB / 0.5226 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003033/0.4636, allocations: 115.4 kB / 0.5228 GB, free: 11.54 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4636, allocations: 0 / 0.5228 GB, free: 11.54 MB / 446.1 MB Notification: Performance of Templates: time 0.258/0.7216, allocations: 25.9 MB / 0.548 GB, free: 97.11 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.331088748760521]