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.001947/0.001947, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002316/0.002316, allocations: 211.8 kB / 24.54 MB, free: 4.016 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.001919/0.001919, allocations: 68.77 kB / 379.1 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.269, allocations: 53.37 MB / 432.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01249/0.2815, allocations: 9.605 MB / 442 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007406/0.2889, allocations: 3.681 MB / 445.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.2905, allocations: 63.56 kB / 445.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002263/0.2928, allocations: 0.7649 MB / 446.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003374/0.2961, allocations: 0.8974 MB / 447.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.2979, allocations: 459.1 kB / 447.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003829/0.3017, allocations: 2.432 MB / 450.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.3037, allocations: 1.053 MB / 451.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/0.3057, allocations: 1.133 MB / 452.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/0.3082, allocations: 1.44 MB / 453.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007155/0.3089, allocations: 280 kB / 454.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.3103, allocations: 419.8 kB / 454.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.3114, allocations: 0.8181 MB / 455.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002265/0.3137, allocations: 1.287 MB / 456.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005423/0.3191, allocations: 3.76 MB / 460.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3191, allocations: 0 / 460.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3191, allocations: 0 / 460.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.148e-05/0.3192, allocations: 0 / 460.5 MB, free: 10.77 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.005526/0.3247, allocations: 2.671 MB / 463.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3247, allocations: 8.031 kB / 463.2 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008601/0.3256, allocations: 299.2 kB / 463.5 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002632/0.3282, allocations: 1.314 MB / 464.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.3283, allocations: 147.7 kB / 464.9 MB, free: 6.262 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003009/0.3287, allocations: 184 kB / 465.1 MB, free: 6.082 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004199/0.3328, allocations: 2.44 MB / 467.5 MB, free: 3.609 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.396e-05/0.3329, allocations: 19.83 kB / 467.6 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.3331, allocations: 79.98 kB / 467.6 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/0.3332, allocations: 91.67 kB / 467.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003603/0.3368, allocations: 1.986 MB / 469.7 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.3486, allocations: 7.199 MB / 476.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.3504, allocations: 1.058 MB / 478 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.352, allocations: 0.8077 MB / 478.8 MB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.3522, allocations: 44.95 kB / 478.8 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.3533, allocations: 0.6944 MB / 479.5 MB, free: 7.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.214e-06/0.3533, allocations: 0 / 479.5 MB, free: 7.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01559/0.3689, allocations: 6.836 MB / 486.4 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.369, allocations: 171.2 kB / 486.5 MB, free: 312 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/0.3712, allocations: 1.431 MB / 488 MB, free: 14.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.453e-05/0.3713, allocations: 45.7 kB / 488 MB, free: 14.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008865/0.3722, allocations: 0.9623 MB / 489 MB, free: 13.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003836/0.3726, allocations: 452.2 kB / 489.4 MB, free: 13.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003958/0.373, allocations: 239.5 kB / 489.6 MB, free: 13.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3732, allocations: 361.9 kB / 490 MB, free: 12.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.3742, allocations: 0.6403 MB / 490.6 MB, free: 12.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.3756, allocations: 0.9975 MB / 491.6 MB, free: 11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002595/0.3782, allocations: 1.711 MB / 493.3 MB, free: 9.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.3782, allocations: 4 kB / 493.3 MB, free: 9.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00414/0.3823, allocations: 2.273 MB / 495.6 MB, free: 6.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.3824, allocations: 8 kB / 495.6 MB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/0.3824, allocations: 11.98 kB / 495.6 MB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.3836, allocations: 492 kB / 496.1 MB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.3847, allocations: 295.5 kB / 496.4 MB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007824/0.3926, allocations: 6.88 MB / 0.4915 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.3939, allocations: 91.92 kB / 0.4916 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.394, allocations: 67.97 kB / 0.4916 GB, free: 14.68 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.001143/0.3952, allocations: 0.6301 MB / 0.4923 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003084/0.3955, allocations: 159 kB / 0.4924 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003784/0.3993, allocations: 2.075 MB / 0.4944 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.3993, allocations: 12 kB / 0.4944 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.3993, allocations: 4 kB / 0.4944 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.3993, allocations: 7.969 kB / 0.4945 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007728/0.407, allocations: 4.331 MB / 0.4987 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.407, allocations: 7.938 kB / 0.4987 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008089/0.4078, allocations: 196.1 kB / 0.4989 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/0.4093, allocations: 0.5307 MB / 0.4994 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.4094, allocations: 35.97 kB / 0.4994 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008808/0.4182, allocations: 8.317 MB / 0.5076 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/0.4182, allocations: 7.938 kB / 0.5076 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005045/0.4232, allocations: 3.005 MB / 0.5105 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009267/0.4242, allocations: 306.8 kB / 0.5108 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.4244, allocations: 35.98 kB / 0.5108 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007961/0.4252, allocations: 63.94 kB / 0.5109 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/0.4255, allocations: 104.7 kB / 0.511 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.139e-05/0.4255, allocations: 39.98 kB / 0.511 GB, free: 10.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001514/0.4271, allocations: 0.9874 MB / 0.512 GB, free: 9.156 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4271, allocations: 3.938 kB / 0.512 GB, free: 9.152 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001524/0.4286, allocations: 451.9 kB / 0.5124 GB, free: 8.711 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.001753/0.4303, allocations: 0.4952 MB / 0.5129 GB, free: 8.367 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003757/0.4341, allocations: 2.034 MB / 0.5149 GB, free: 6.285 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.4341, allocations: 4 kB / 0.5149 GB, free: 6.281 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002246/0.4363, allocations: 1.4 MB / 0.5163 GB, free: 4.828 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.4383, allocations: 429.1 kB / 0.5167 GB, free: 4.422 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007169/0.4454, allocations: 4.319 MB / 0.5209 GB, free: 32 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/0.447, allocations: 1.706 MB / 0.5226 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001054/0.448, allocations: 329 kB / 0.5229 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/0.4484, allocations: 111.4 kB / 0.523 GB, free: 13.86 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4484, allocations: 0 / 0.523 GB, free: 13.86 MB / 446.1 MB Notification: Performance of Templates: time 0.264/0.7124, allocations: 26.29 MB / 0.5487 GB, free: 96.72 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 -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/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-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: 9.197697439230978]