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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=400000,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=400000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002069/0.002069, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002438/0.002438, allocations: 205.9 kB / 18.79 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.546/1.546, allocations: 230.4 MB / 250 MB, free: 8.965 MB / 206.1 MB 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.002918/0.002918, allocations: 63.84 kB / 367.4 MB, free: 6.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3066, allocations: 53.3 MB / 420.7 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01287/0.3194, allocations: 9.56 MB / 430.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007583/0.327, allocations: 3.638 MB / 433.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.329, allocations: 51.81 kB / 433.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002393/0.3314, allocations: 0.7767 MB / 434.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003099/0.3345, allocations: 0.8779 MB / 435.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.3357, allocations: 451.1 kB / 436 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003047/0.3388, allocations: 2.432 MB / 438.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002278/0.341, allocations: 1.29 MB / 439.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002627/0.3437, allocations: 1.11 MB / 440.8 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003751/0.3474, allocations: 1.436 MB / 442.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007794/0.3482, allocations: 280 kB / 442.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.3497, allocations: 419.8 kB / 443 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001535/0.3512, allocations: 0.818 MB / 443.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003166/0.3544, allocations: 1.283 MB / 445.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007836/0.3622, allocations: 3.76 MB / 448.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3622, allocations: 0 / 448.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3622, allocations: 0 / 448.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001565/0.3624, allocations: 7.984 kB / 448.8 MB, free: 12.02 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.009276/0.3717, allocations: 2.749 MB / 451.6 MB, free: 9.211 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.3717, allocations: 8.031 kB / 451.6 MB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.3731, allocations: 295.3 kB / 451.9 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004076/0.3772, allocations: 1.401 MB / 453.3 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.3774, allocations: 139.7 kB / 453.4 MB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005802/0.3779, allocations: 188 kB / 453.6 MB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006715/0.3846, allocations: 2.44 MB / 456 MB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.605e-05/0.3847, allocations: 11.88 kB / 456 MB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003044/0.385, allocations: 80 kB / 456.1 MB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001765/0.3852, allocations: 95.67 kB / 456.2 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005894/0.3911, allocations: 1.986 MB / 458.2 MB, free: 2.492 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01893/0.41, allocations: 7.342 MB / 465.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/0.4131, allocations: 1.274 MB / 466.8 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002144/0.4153, allocations: 0.8207 MB / 467.6 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003342/0.4156, allocations: 126 kB / 467.8 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/0.4169, allocations: 0.6828 MB / 468.4 MB, free: 7.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.926e-06/0.4169, allocations: 0 / 468.4 MB, free: 7.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.0186/0.4355, allocations: 7.363 MB / 475.8 MB, free: 404 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.4356, allocations: 167.2 kB / 476 MB, free: 200 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002771/0.4384, allocations: 1.427 MB / 477.4 MB, free: 14.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001494/0.4385, allocations: 49.69 kB / 477.4 MB, free: 14.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.4396, allocations: 0.9623 MB / 478.4 MB, free: 13.72 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005313/0.4401, allocations: 440.3 kB / 478.8 MB, free: 13.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005178/0.4406, allocations: 251.5 kB / 479.1 MB, free: 13.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.4408, allocations: 365.9 kB / 479.4 MB, free: 12.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.442, allocations: 0.6325 MB / 480.1 MB, free: 12.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.4435, allocations: 1.001 MB / 481.1 MB, free: 10.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/0.4462, allocations: 1.711 MB / 482.8 MB, free: 9.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/0.4462, allocations: 8 kB / 482.8 MB, free: 9.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004608/0.4508, allocations: 2.34 MB / 485.1 MB, free: 6.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.4508, allocations: 12 kB / 485.1 MB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.4509, allocations: 8 kB / 485.2 MB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.4522, allocations: 488.1 kB / 485.6 MB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.4534, allocations: 299.5 kB / 485.9 MB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008623/0.462, allocations: 7.194 MB / 493.1 MB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.4634, allocations: 99.86 kB / 493.2 MB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/0.4636, allocations: 60.14 kB / 493.3 MB, free: 14.09 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.001293/0.4649, allocations: 0.634 MB / 493.9 MB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004415/0.4653, allocations: 159 kB / 494.1 MB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004254/0.4696, allocations: 2.139 MB / 496.2 MB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.4696, allocations: 12 kB / 496.2 MB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.4696, allocations: 4 kB / 496.2 MB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.4696, allocations: 7.969 kB / 496.2 MB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008791/0.4784, allocations: 4.458 MB / 0.4889 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.4784, allocations: 4.375 kB / 0.489 GB, free: 6.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008622/0.4793, allocations: 191.7 kB / 0.4891 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.4808, allocations: 0.5303 MB / 0.4897 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.4809, allocations: 35.98 kB / 0.4897 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0092/0.4901, allocations: 8.733 MB / 0.4982 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.4901, allocations: 7.938 kB / 0.4982 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005133/0.4953, allocations: 3.092 MB / 0.5012 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008717/0.4961, allocations: 375.9 kB / 0.5016 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003635/0.4965, allocations: 35.98 kB / 0.5016 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008533/0.4974, allocations: 63.94 kB / 0.5017 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/0.4976, allocations: 104.7 kB / 0.5018 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.893e-05/0.4977, allocations: 43.98 kB / 0.5018 GB, free: 8.617 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001628/0.4993, allocations: 0.9796 MB / 0.5028 GB, free: 7.637 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4993, allocations: 0 / 0.5028 GB, free: 7.637 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001608/0.5009, allocations: 455.9 kB / 0.5032 GB, free: 7.191 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.001695/0.5026, allocations: 493.8 kB / 0.5037 GB, free: 6.852 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003631/0.5063, allocations: 2.184 MB / 0.5058 GB, free: 4.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5063, allocations: 0 / 0.5058 GB, free: 4.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00235/0.5086, allocations: 1.468 MB / 0.5073 GB, free: 3.047 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.5104, allocations: 434 kB / 0.5077 GB, free: 2.637 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007272/0.5177, allocations: 4.308 MB / 0.5119 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00181/0.5195, allocations: 1.709 MB / 0.5136 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009218/0.5204, allocations: 325 kB / 0.5139 GB, free: 12.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.5207, allocations: 107.4 kB / 0.514 GB, free: 12.09 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5207, allocations: 4 kB / 0.514 GB, free: 12.08 MB / 446.1 MB Notification: Performance of Templates: time 0.04814/0.5689, allocations: 25.5 MB / 0.5389 GB, free: 2.824 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (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) 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) Reference file matches