Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001627/0.001627, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001901/0.001901, allocations: 205.6 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.582/1.582, allocations: 230.5 MB / 258.1 MB, free: 8.133 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.84 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2866, allocations: 53.32 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01234/0.2989, allocations: 9.614 MB / 441.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007931/0.3068, allocations: 3.658 MB / 445.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.3084, allocations: 47.81 kB / 445.4 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002332/0.3107, allocations: 0.7729 MB / 446.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002596/0.3133, allocations: 0.8818 MB / 447 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.3145, allocations: 459.1 kB / 447.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002922/0.3174, allocations: 2.428 MB / 449.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.3188, allocations: 1.048 MB / 451 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.3203, allocations: 1.113 MB / 452.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.3223, allocations: 1.436 MB / 453.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003647/0.3227, allocations: 276 kB / 453.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007773/0.3234, allocations: 427.8 kB / 454.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008273/0.3243, allocations: 0.8141 MB / 455 MB, free: 300 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.3256, allocations: 1.287 MB / 456.3 MB, free: 15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004426/0.33, allocations: 3.76 MB / 460.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.33, allocations: 0 / 460.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.33, allocations: 0 / 460.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.646e-05/0.3301, allocations: 0 / 460.1 MB, free: 11.23 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.006085/0.3362, allocations: 2.746 MB / 462.8 MB, free: 8.426 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3362, allocations: 8.031 kB / 462.8 MB, free: 8.418 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008795/0.3371, allocations: 303.2 kB / 463.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/0.3398, allocations: 1.401 MB / 464.5 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.3399, allocations: 139.7 kB / 464.6 MB, free: 6.527 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003011/0.3402, allocations: 192 kB / 464.8 MB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004234/0.3445, allocations: 2.44 MB / 467.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.193e-05/0.3445, allocations: 11.94 kB / 467.3 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001921/0.3447, allocations: 76 kB / 467.4 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/0.3449, allocations: 99.67 kB / 467.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003502/0.3484, allocations: 1.982 MB / 469.4 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/0.3608, allocations: 7.334 MB / 476.8 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.3628, allocations: 1.283 MB / 478.1 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.3644, allocations: 0.8251 MB / 478.9 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/0.3647, allocations: 126 kB / 479 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/0.3659, allocations: 0.6828 MB / 479.7 MB, free: 7.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 3.176e-06/0.3659, allocations: 0 / 479.7 MB, free: 7.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01725/0.3831, allocations: 7.356 MB / 487 MB, free: 15.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.3833, allocations: 167.2 kB / 487.2 MB, free: 15.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.3855, allocations: 1.431 MB / 488.6 MB, free: 13.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.3856, allocations: 49.7 kB / 488.7 MB, free: 13.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.3867, allocations: 0.9623 MB / 489.6 MB, free: 12.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004728/0.3871, allocations: 436.3 kB / 490.1 MB, free: 12.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004371/0.3876, allocations: 247.5 kB / 490.3 MB, free: 12.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002705/0.3879, allocations: 361.9 kB / 490.7 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.389, allocations: 0.6402 MB / 491.3 MB, free: 11.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.3905, allocations: 0.9975 MB / 492.3 MB, free: 10.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/0.3933, allocations: 1.719 MB / 494 MB, free: 8.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.3933, allocations: 0 / 494 MB, free: 8.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004351/0.3977, allocations: 2.348 MB / 496.4 MB, free: 5.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.3977, allocations: 12.06 kB / 496.4 MB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.3977, allocations: 15.94 kB / 496.4 MB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.3991, allocations: 487.9 kB / 496.9 MB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.4003, allocations: 303.5 kB / 497.2 MB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008467/0.4088, allocations: 7.182 MB / 0.4925 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.4104, allocations: 99.8 kB / 0.4926 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.4105, allocations: 56.2 kB / 0.4927 GB, free: 13.3 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.00129/0.4118, allocations: 0.6379 MB / 0.4933 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004845/0.4123, allocations: 163 kB / 0.4935 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004163/0.4165, allocations: 2.135 MB / 0.4955 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.4165, allocations: 12 kB / 0.4956 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.4165, allocations: 11.98 kB / 0.4956 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.4165, allocations: 3.984 kB / 0.4956 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009291/0.4258, allocations: 4.45 MB / 0.4999 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.4258, allocations: 0 / 0.4999 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008536/0.4267, allocations: 195.7 kB / 0.5001 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/0.4282, allocations: 0.5385 MB / 0.5006 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/0.4283, allocations: 35.98 kB / 0.5007 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01009/0.4384, allocations: 8.731 MB / 0.5092 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.4384, allocations: 4 kB / 0.5092 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005588/0.444, allocations: 3.081 MB / 0.5122 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009646/0.4449, allocations: 379.9 kB / 0.5126 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.4452, allocations: 35.98 kB / 0.5126 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008024/0.446, allocations: 63.94 kB / 0.5127 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/0.4462, allocations: 108.7 kB / 0.5128 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.364e-05/0.4463, allocations: 35.98 kB / 0.5128 GB, free: 7.832 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00162/0.4479, allocations: 0.9874 MB / 0.5138 GB, free: 6.844 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4479, allocations: 0 / 0.5138 GB, free: 6.844 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001984/0.4499, allocations: 455.9 kB / 0.5142 GB, free: 6.398 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.001849/0.4518, allocations: 0.4949 MB / 0.5147 GB, free: 6.066 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004176/0.4559, allocations: 2.181 MB / 0.5168 GB, free: 3.805 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.456, allocations: 7.938 kB / 0.5168 GB, free: 3.797 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002504/0.4585, allocations: 1.464 MB / 0.5182 GB, free: 2.262 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.4606, allocations: 427.2 kB / 0.5187 GB, free: 1.855 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009649/0.4703, allocations: 4.328 MB / 0.5229 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001818/0.4721, allocations: 1.702 MB / 0.5245 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00121/0.4733, allocations: 325 kB / 0.5249 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.4736, allocations: 111.4 kB / 0.525 GB, free: 11.29 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4736, allocations: 0 / 0.525 GB, free: 11.29 MB / 446.1 MB Notification: Performance of Templates: time 0.2626/0.7362, allocations: 25.89 MB / 0.5502 GB, free: 96.93 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 10.056790104135871]