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.001706/0.001706, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002135/0.002135, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.51/1.51, allocations: 230.5 MB / 258.1 MB, free: 8.02 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.002097/0.002097, allocations: 67.91 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.313, allocations: 53.4 MB / 432.5 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01277/0.3257, allocations: 9.616 MB / 442.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007741/0.3335, allocations: 3.666 MB / 445.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/0.3352, allocations: 67.56 kB / 445.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.3374, allocations: 0.7688 MB / 446.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003096/0.3405, allocations: 0.8973 MB / 447.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.3418, allocations: 459 kB / 447.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003474/0.3453, allocations: 2.428 MB / 450.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.3469, allocations: 1.053 MB / 451.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.3488, allocations: 1.137 MB / 452.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00226/0.351, allocations: 1.436 MB / 454 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004497/0.3515, allocations: 280 kB / 454.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009215/0.3524, allocations: 423.8 kB / 454.7 MB, free: 456 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000888/0.3533, allocations: 0.8063 MB / 455.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001545/0.3548, allocations: 1.291 MB / 456.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004582/0.3594, allocations: 3.764 MB / 460.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3594, allocations: 0 / 460.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3594, allocations: 0 / 460.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.408e-05/0.3595, allocations: 0 / 460.5 MB, free: 10.56 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.006067/0.3656, allocations: 2.671 MB / 463.2 MB, free: 7.852 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3656, allocations: 8.031 kB / 463.2 MB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008863/0.3665, allocations: 295.2 kB / 463.5 MB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002637/0.3692, allocations: 1.326 MB / 464.8 MB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.3693, allocations: 143.7 kB / 464.9 MB, free: 6.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003207/0.3696, allocations: 192 kB / 465.1 MB, free: 5.859 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004165/0.3738, allocations: 2.44 MB / 467.6 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.585e-05/0.3738, allocations: 7.953 kB / 467.6 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.374, allocations: 79.98 kB / 467.7 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.3741, allocations: 95.67 kB / 467.8 MB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003483/0.3776, allocations: 1.99 MB / 469.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/0.39, allocations: 7.195 MB / 476.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.3919, allocations: 1.057 MB / 478 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.3934, allocations: 0.8109 MB / 478.8 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002186/0.3936, allocations: 48.95 kB / 478.9 MB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/0.3947, allocations: 0.6905 MB / 479.5 MB, free: 7.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.594e-06/0.3947, allocations: 0 / 479.5 MB, free: 7.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01611/0.4109, allocations: 6.828 MB / 486.4 MB, free: 312 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.411, allocations: 179.2 kB / 486.5 MB, free: 92 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.4133, allocations: 1.431 MB / 488 MB, free: 14.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.4134, allocations: 45.7 kB / 488 MB, free: 14.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009478/0.4144, allocations: 0.9584 MB / 489 MB, free: 13.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000507/0.4149, allocations: 452.2 kB / 489.4 MB, free: 13.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004168/0.4153, allocations: 247.5 kB / 489.7 MB, free: 12.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.4155, allocations: 357.9 kB / 490 MB, free: 12.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.4166, allocations: 0.6403 MB / 490.7 MB, free: 11.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.418, allocations: 1.005 MB / 491.7 MB, free: 10.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/0.4205, allocations: 1.711 MB / 493.4 MB, free: 8.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.4205, allocations: 0 / 493.4 MB, free: 8.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00419/0.4247, allocations: 2.261 MB / 495.6 MB, free: 6.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.4247, allocations: 11.98 kB / 495.6 MB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.4247, allocations: 20.25 kB / 495.7 MB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.426, allocations: 495.9 kB / 496.1 MB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.4271, allocations: 291.6 kB / 496.4 MB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007575/0.4347, allocations: 6.876 MB / 0.4915 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.4361, allocations: 95.86 kB / 0.4916 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.4362, allocations: 63.91 kB / 0.4917 GB, free: 14.47 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.001301/0.4375, allocations: 0.6417 MB / 0.4923 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005675/0.4381, allocations: 163 kB / 0.4924 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00422/0.4423, allocations: 2.064 MB / 0.4945 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.4423, allocations: 12 kB / 0.4945 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.4423, allocations: 4 kB / 0.4945 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.4424, allocations: 11.97 kB / 0.4945 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008291/0.4506, allocations: 4.331 MB / 0.4987 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/0.4507, allocations: 11.92 kB / 0.4987 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008128/0.4515, allocations: 183.7 kB / 0.4989 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.4529, allocations: 0.5391 MB / 0.4994 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.453, allocations: 39.97 kB / 0.4995 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008951/0.462, allocations: 8.317 MB / 0.5076 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.462, allocations: 4 kB / 0.5076 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005339/0.4673, allocations: 3.017 MB / 0.5105 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009733/0.4683, allocations: 298.8 kB / 0.5108 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002666/0.4686, allocations: 35.98 kB / 0.5109 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008578/0.4694, allocations: 71.94 kB / 0.5109 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/0.4697, allocations: 100.7 kB / 0.511 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.86e-05/0.4698, allocations: 35.98 kB / 0.5111 GB, free: 9.922 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001558/0.4713, allocations: 0.9874 MB / 0.512 GB, free: 8.934 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4713, allocations: 4 kB / 0.512 GB, free: 8.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001806/0.4731, allocations: 459.9 kB / 0.5125 GB, free: 8.48 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.001812/0.4749, allocations: 493.2 kB / 0.5129 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003832/0.4788, allocations: 2.035 MB / 0.5149 GB, free: 6.055 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.4788, allocations: 4.062 kB / 0.5149 GB, free: 6.051 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002442/0.4812, allocations: 1.392 MB / 0.5163 GB, free: 4.605 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/0.4834, allocations: 435.8 kB / 0.5167 GB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007968/0.4913, allocations: 4.378 MB / 0.521 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/0.493, allocations: 1.69 MB / 0.5226 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005288/0.4936, allocations: 115.4 kB / 0.5227 GB, free: 13.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4936, allocations: 0 / 0.5227 GB, free: 13.9 MB / 446.1 MB Notification: Performance of Templates: time 0.2934/0.7869, allocations: 73.99 MB / 0.595 GB, free: 49.54 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 [Calling sys.exit(0), Time elapsed: 17.680556352017447]