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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001573/0.001573, allocations: 112.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002092/0.002092, allocations: 206 kB / 18.73 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3148, allocations: 50.54 MB / 409.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01409/0.329, allocations: 9.506 MB / 418.8 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007676/0.3367, allocations: 3.628 MB / 422.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.3382, allocations: 51.75 kB / 422.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002348/0.3406, allocations: 0.7613 MB / 423.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002788/0.3434, allocations: 0.8857 MB / 424.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.3447, allocations: 455.1 kB / 424.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002954/0.3477, allocations: 2.424 MB / 427 MB, free: 16 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002456/0.3501, allocations: 1.774 MB / 428.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.3519, allocations: 1.113 MB / 429.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.3541, allocations: 1.393 MB / 431.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006444/0.3548, allocations: 276 kB / 431.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.3563, allocations: 423.7 kB / 431.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009743/0.3573, allocations: 0.7986 MB / 432.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001471/0.3588, allocations: 1.287 MB / 434 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004103/0.3629, allocations: 3.75 MB / 437.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3629, allocations: 0 / 437.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3629, allocations: 0 / 437.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.234e-05/0.363, allocations: 0 / 437.8 MB, free: 5.137 MB / 350.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.004811/0.3678, allocations: 2.679 MB / 440.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3678, allocations: 12.03 kB / 440.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007524/0.3686, allocations: 281.9 kB / 440.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.3707, allocations: 1.392 MB / 442.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.3708, allocations: 139.7 kB / 442.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002777/0.3711, allocations: 191.9 kB / 442.4 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003744/0.3749, allocations: 2.444 MB / 444.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.075e-05/0.3749, allocations: 8 kB / 444.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.3751, allocations: 72 kB / 445 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.714e-05/0.3752, allocations: 91.67 kB / 445 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003128/0.3783, allocations: 2.001 MB / 447 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.3889, allocations: 7.308 MB / 454.4 MB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.3907, allocations: 1.348 MB / 455.7 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.3922, allocations: 0.8754 MB / 456.6 MB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002586/0.3924, allocations: 126.1 kB / 456.7 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.3935, allocations: 0.6866 MB / 457.4 MB, free: 1.043 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 3.386e-06/0.3935, allocations: 0 / 457.4 MB, free: 1.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01527/0.4087, allocations: 7.336 MB / 464.7 MB, free: 9.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.591e-05/0.4089, allocations: 167.2 kB / 464.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.4108, allocations: 1.431 MB / 466.3 MB, free: 7.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-05/0.4109, allocations: 45.7 kB / 466.4 MB, free: 7.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007676/0.4117, allocations: 0.9406 MB / 467.3 MB, free: 6.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000324/0.412, allocations: 425.9 kB / 467.7 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003943/0.4124, allocations: 247.4 kB / 468 MB, free: 6.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4126, allocations: 357.9 kB / 468.3 MB, free: 5.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009669/0.4135, allocations: 0.6441 MB / 469 MB, free: 5.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.4147, allocations: 1.001 MB / 470 MB, free: 4.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/0.417, allocations: 1.703 MB / 471.7 MB, free: 2.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.417, allocations: 4 kB / 471.7 MB, free: 2.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003727/0.4207, allocations: 2.344 MB / 474 MB, free: 15.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.4208, allocations: 16.03 kB / 474 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.4208, allocations: 11.98 kB / 474 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.4219, allocations: 491.9 kB / 474.5 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.4229, allocations: 291.6 kB / 474.8 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006799/0.4298, allocations: 7.193 MB / 482 MB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.431, allocations: 95.84 kB / 482.1 MB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.807e-05/0.4311, allocations: 48 kB / 482.1 MB, free: 7.262 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.001106/0.4322, allocations: 0.6379 MB / 482.8 MB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/0.4325, allocations: 158 kB / 482.9 MB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003514/0.436, allocations: 2.147 MB / 485.1 MB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.436, allocations: 12 kB / 485.1 MB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.436, allocations: 4 kB / 485.1 MB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.4361, allocations: 7.969 kB / 485.1 MB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006938/0.443, allocations: 4.461 MB / 489.6 MB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/0.443, allocations: 8 kB / 489.6 MB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007543/0.4438, allocations: 187.7 kB / 489.8 MB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.4452, allocations: 0.5468 MB / 490.3 MB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.056e-05/0.4453, allocations: 31.98 kB / 490.3 MB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007988/0.4533, allocations: 8.725 MB / 499.1 MB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4533, allocations: 4 kB / 499.1 MB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004657/0.458, allocations: 3.083 MB / 0.4904 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007055/0.4587, allocations: 371.1 kB / 0.4907 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.4589, allocations: 32 kB / 0.4908 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007523/0.4597, allocations: 67.92 kB / 0.4908 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/0.4599, allocations: 96.75 kB / 0.4909 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.76e-05/0.46, allocations: 35.98 kB / 0.4909 GB, free: 1.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001373/0.4614, allocations: 0.9913 MB / 0.4919 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4614, allocations: 0 / 0.4919 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001466/0.4628, allocations: 456.1 kB / 0.4924 GB, free: 368 kB / 414.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.001076/0.4639, allocations: 0.4888 MB / 0.4928 GB, free: 16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003339/0.4673, allocations: 2.267 MB / 0.495 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4673, allocations: 0 / 0.495 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002137/0.4694, allocations: 1.511 MB / 0.4965 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.4711, allocations: 432 kB / 0.4969 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006038/0.4772, allocations: 4.238 MB / 0.5011 GB, free: 7.355 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.4785, allocations: 1.71 MB / 0.5027 GB, free: 5.609 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008342/0.4793, allocations: 321 kB / 0.503 GB, free: 5.289 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.4796, allocations: 119.4 kB / 0.5032 GB, free: 5.172 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4796, allocations: 0 / 0.5032 GB, free: 5.172 MB / 430.1 MB Notification: Performance of Templates: time 0.04227/0.5219, allocations: 25.16 MB / 0.5277 GB, free: 12.22 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches