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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001817/0.001817, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002253/0.002253, allocations: 209.7 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 230.2 MB / 256.8 MB, free: 8.664 MB / 206.1 MB [Timeout remaining time 88] 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.001875/0.001875, allocations: 71.88 kB / 376.9 MB, free: 3.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2657, allocations: 53.31 MB / 430.2 MB, free: 7.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01197/0.2777, allocations: 9.558 MB / 439.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007501/0.2852, allocations: 3.646 MB / 443.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/0.2869, allocations: 47.81 kB / 443.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.2892, allocations: 0.7726 MB / 444.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00294/0.2921, allocations: 0.8818 MB / 445.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.2935, allocations: 459.1 kB / 445.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00354/0.297, allocations: 2.428 MB / 448 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001804/0.2988, allocations: 1.294 MB / 449.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.3007, allocations: 1.117 MB / 450.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002254/0.3029, allocations: 1.425 MB / 451.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004775/0.3034, allocations: 280 kB / 452.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009627/0.3044, allocations: 431.7 kB / 452.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008827/0.3053, allocations: 0.8102 MB / 453.3 MB, free: 408 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001591/0.3069, allocations: 1.287 MB / 454.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005537/0.3124, allocations: 3.764 MB / 458.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3124, allocations: 4 kB / 458.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3124, allocations: 0 / 458.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.527e-05/0.3125, allocations: 0 / 458.4 MB, free: 11.32 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.006171/0.3187, allocations: 2.75 MB / 461.1 MB, free: 8.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3187, allocations: 8.031 kB / 461.1 MB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008748/0.3196, allocations: 287.3 kB / 461.4 MB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/0.3222, allocations: 1.405 MB / 462.8 MB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.3223, allocations: 143.7 kB / 463 MB, free: 6.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/0.3226, allocations: 188 kB / 463.2 MB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004404/0.327, allocations: 2.436 MB / 465.6 MB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.443e-05/0.3271, allocations: 7.953 kB / 465.6 MB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001869/0.3273, allocations: 79.98 kB / 465.7 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/0.3274, allocations: 95.67 kB / 465.8 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003651/0.331, allocations: 1.982 MB / 467.8 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/0.3438, allocations: 7.345 MB / 475.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.3458, allocations: 1.29 MB / 476.4 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/0.3474, allocations: 0.8168 MB / 477.2 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002598/0.3476, allocations: 122.1 kB / 477.3 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.3487, allocations: 0.6866 MB / 478 MB, free: 7.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.545e-06/0.3487, allocations: 0 / 478 MB, free: 7.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01636/0.3651, allocations: 7.363 MB / 485.4 MB, free: 15.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001795/0.3653, allocations: 167.2 kB / 485.5 MB, free: 15.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002685/0.3679, allocations: 1.435 MB / 487 MB, free: 14.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.3682, allocations: 45.7 kB / 487 MB, free: 13.99 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.3692, allocations: 0.9585 MB / 488 MB, free: 13.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000489/0.3697, allocations: 436.3 kB / 488.4 MB, free: 12.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004504/0.3701, allocations: 247.5 kB / 488.6 MB, free: 12.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.3703, allocations: 365.9 kB / 489 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.3714, allocations: 0.6325 MB / 489.6 MB, free: 11.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.3728, allocations: 1.005 MB / 490.6 MB, free: 10.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002501/0.3753, allocations: 1.711 MB / 492.4 MB, free: 8.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.3753, allocations: 4 kB / 492.4 MB, free: 8.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004361/0.3797, allocations: 2.337 MB / 494.7 MB, free: 5.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.3797, allocations: 15.94 kB / 494.7 MB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/0.3797, allocations: 12 kB / 494.7 MB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.381, allocations: 0.4884 MB / 495.2 MB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.3821, allocations: 295.5 kB / 495.5 MB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00775/0.3899, allocations: 7.187 MB / 0.4909 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.3913, allocations: 99.73 kB / 0.491 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.3915, allocations: 52 kB / 0.491 GB, free: 13.4 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.001289/0.3928, allocations: 0.638 MB / 0.4917 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004056/0.3932, allocations: 163 kB / 0.4918 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00397/0.3972, allocations: 2.143 MB / 0.4939 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.3972, allocations: 12 kB / 0.4939 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.3972, allocations: 4 kB / 0.4939 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.3972, allocations: 7.969 kB / 0.4939 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008169/0.4054, allocations: 4.454 MB / 0.4983 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.4054, allocations: 4 kB / 0.4983 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008053/0.4062, allocations: 183.7 kB / 0.4985 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001438/0.4076, allocations: 0.5314 MB / 0.499 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.4077, allocations: 39.97 kB / 0.499 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009031/0.4168, allocations: 8.74 MB / 0.5076 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.4168, allocations: 4.031 kB / 0.5076 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005371/0.4221, allocations: 3.092 MB / 0.5106 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.4231, allocations: 371.9 kB / 0.5109 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/0.4234, allocations: 31.98 kB / 0.511 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007918/0.4242, allocations: 71.92 kB / 0.511 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/0.4244, allocations: 100.8 kB / 0.5111 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.159e-05/0.4245, allocations: 39.98 kB / 0.5112 GB, free: 7.934 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001568/0.4261, allocations: 0.9835 MB / 0.5121 GB, free: 6.949 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4261, allocations: 0 / 0.5121 GB, free: 6.949 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001735/0.4278, allocations: 455.9 kB / 0.5126 GB, free: 6.504 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.00179/0.4296, allocations: 0.4914 MB / 0.513 GB, free: 6.145 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003793/0.4334, allocations: 2.177 MB / 0.5152 GB, free: 3.887 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.4334, allocations: 192 / 0.5152 GB, free: 3.887 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002414/0.4358, allocations: 1.479 MB / 0.5166 GB, free: 2.332 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/0.438, allocations: 429.1 kB / 0.517 GB, free: 1.922 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007406/0.4454, allocations: 4.371 MB / 0.5213 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/0.4469, allocations: 1.698 MB / 0.523 GB, free: 11.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004966/0.4474, allocations: 119.4 kB / 0.5231 GB, free: 11.62 MB / 446.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4474, allocations: 0 / 0.5231 GB, free: 11.62 MB / 446.1 MB Notification: Performance of Templates: time 0.3087/0.7561, allocations: 73.99 MB / 0.5953 GB, free: 48.8 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/jenkins1/ws/OpenModelicaLibraryTestingWork/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/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