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.00153/0.00153, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001889/0.001889, allocations: 209.2 kB / 24.47 MB, free: 3.977 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 2.214/2.214, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001795/0.001795, allocations: 39.94 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3215, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01808/0.3396, allocations: 8.455 MB / 440.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009671/0.3493, allocations: 3.432 MB / 444.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/0.3511, allocations: 63.56 kB / 444.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.3536, allocations: 0.722 MB / 445 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003821/0.3575, allocations: 0.8896 MB / 445.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.3592, allocations: 463.1 kB / 446.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004497/0.3637, allocations: 2.432 MB / 448.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.366, allocations: 1.049 MB / 449.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002482/0.3685, allocations: 1.129 MB / 451 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003427/0.372, allocations: 1.44 MB / 452.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009075/0.3729, allocations: 276 kB / 452.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.3745, allocations: 419.8 kB / 453.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.3759, allocations: 0.8219 MB / 453.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002554/0.3785, allocations: 1.031 MB / 454.9 MB, free: 8 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006861/0.3854, allocations: 3.791 MB / 458.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3854, allocations: 3.938 kB / 458.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3854, allocations: 0 / 458.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001228/0.3855, allocations: 0 / 458.7 MB, free: 12.2 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.01006/0.3956, allocations: 2.667 MB / 461.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.491e-05/0.3956, allocations: 8.031 kB / 461.4 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/0.3977, allocations: 291.3 kB / 461.7 MB, free: 9.199 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004829/0.4026, allocations: 1.329 MB / 463 MB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.4028, allocations: 139.7 kB / 463.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007635/0.4035, allocations: 195.9 kB / 463.3 MB, free: 7.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00701/0.4105, allocations: 2.544 MB / 465.9 MB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.103e-05/0.4106, allocations: 3.953 kB / 465.9 MB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002912/0.4109, allocations: 76 kB / 466 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001682/0.4111, allocations: 95.67 kB / 466.1 MB, free: 4.727 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005941/0.417, allocations: 1.986 MB / 468.1 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01857/0.4356, allocations: 6.328 MB / 474.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/0.4384, allocations: 1.062 MB / 475.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002281/0.4407, allocations: 0.8109 MB / 476.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002657/0.4409, allocations: 40.97 kB / 476.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001675/0.4426, allocations: 0.7871 MB / 477.1 MB, free: 9.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 4.047e-06/0.4426, allocations: 0 / 477.1 MB, free: 9.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.0237/0.4663, allocations: 6.831 MB / 483.9 MB, free: 2.586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.4664, allocations: 171.2 kB / 484.1 MB, free: 2.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/0.4691, allocations: 1.282 MB / 485.4 MB, free: 1.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00019/0.4693, allocations: 53.64 kB / 485.4 MB, free: 1.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.4705, allocations: 0.9692 MB / 486.4 MB, free: 48 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006245/0.4711, allocations: 444.3 kB / 486.8 MB, free: 15.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006245/0.4717, allocations: 243.5 kB / 487.1 MB, free: 15.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.4719, allocations: 353.9 kB / 487.4 MB, free: 15.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.4736, allocations: 0.6481 MB / 488 MB, free: 14.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.4756, allocations: 1.106 MB / 489.2 MB, free: 13.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0037/0.4793, allocations: 1.707 MB / 490.9 MB, free: 11.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.4793, allocations: 4 kB / 490.9 MB, free: 11.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.006176/0.4855, allocations: 2.253 MB / 493.1 MB, free: 8.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.4855, allocations: 12 kB / 493.1 MB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.4855, allocations: 8 kB / 493.1 MB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/0.4874, allocations: 496.2 kB / 493.6 MB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.4893, allocations: 299.5 kB / 493.9 MB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.5002, allocations: 6.756 MB / 0.4889 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.5021, allocations: 95.86 kB / 0.489 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/0.5023, allocations: 52 kB / 0.4891 GB, free: 0.9648 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.001617/0.5039, allocations: 0.6495 MB / 0.4897 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004796/0.5044, allocations: 151 kB / 0.4899 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005754/0.5102, allocations: 2.07 MB / 0.4919 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.5102, allocations: 15.94 kB / 0.4919 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.5102, allocations: 4 kB / 0.4919 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.5102, allocations: 3.984 kB / 0.4919 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/0.5221, allocations: 3.873 MB / 0.4957 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.5221, allocations: 4 kB / 0.4957 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.5235, allocations: 195.7 kB / 0.4959 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002232/0.5257, allocations: 0.5314 MB / 0.4964 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001921/0.5259, allocations: 31.98 kB / 0.4964 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/0.5385, allocations: 8.181 MB / 0.5044 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.5385, allocations: 4 kB / 0.5044 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007733/0.5463, allocations: 3.012 MB / 0.5074 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/0.5476, allocations: 278.9 kB / 0.5076 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004745/0.5481, allocations: 32 kB / 0.5077 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.5494, allocations: 75.86 kB / 0.5077 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003671/0.5498, allocations: 100.7 kB / 0.5078 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/0.5499, allocations: 39.98 kB / 0.5079 GB, free: 13.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002013/0.552, allocations: 0.8662 MB / 0.5087 GB, free: 12.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.552, allocations: 4 kB / 0.5087 GB, free: 12.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002864/0.5548, allocations: 451.9 kB / 0.5091 GB, free: 11.79 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 (105): * Single equations (assignments): 98 * 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.002686/0.5575, allocations: 0.5331 MB / 0.5097 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00552/0.563, allocations: 2.034 MB / 0.5116 GB, free: 9.355 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/0.563, allocations: 4.625 kB / 0.5116 GB, free: 9.352 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003638/0.5667, allocations: 1.396 MB / 0.513 GB, free: 7.902 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/0.5697, allocations: 355.1 kB / 0.5134 GB, free: 7.562 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.5815, allocations: 4.303 MB / 0.5176 GB, free: 3.188 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002177/0.5837, allocations: 1.137 MB / 0.5187 GB, free: 2.012 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001648/0.5853, allocations: 307.8 kB / 0.519 GB, free: 1.707 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/0.5859, allocations: 103.4 kB / 0.5191 GB, free: 1.605 MB / 430.1 MB Notification: Performance of SimCode: time 1.383e-06/0.5859, allocations: 4 kB / 0.5191 GB, free: 1.602 MB / 430.1 MB Notification: Performance of Templates: time 0.3819/0.9677, allocations: 26.63 MB / 0.5451 GB, free: 95.5 MB / 446.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 -s cvode -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/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_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 657] Reference file matches [Calling sys.exit(0), Time elapsed: 15.631936888996279]