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.001307/0.001308, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 63.3 kB / 306.9 MB, free: 0.5781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1264, allocations: 50.52 MB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.0124/0.1389, allocations: 9.514 MB / 367 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008436/0.1473, allocations: 3.63 MB / 370.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.149, allocations: 47.81 kB / 370.7 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.1512, allocations: 0.7301 MB / 371.4 MB, free: 68 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.227/0.3783, allocations: 0.8426 MB / 372.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.381, allocations: 454.4 kB / 372.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005933/0.387, allocations: 2.406 MB / 375.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004889/0.3919, allocations: 1.774 MB / 376.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003423/0.3953, allocations: 1.108 MB / 378 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004218/0.3996, allocations: 1.385 MB / 379.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001326/0.4009, allocations: 279.7 kB / 379.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.4034, allocations: 419.9 kB / 380 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001794/0.4052, allocations: 0.7965 MB / 380.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003956/0.4092, allocations: 1.287 MB / 382.1 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00723/0.4164, allocations: 3.711 MB / 385.8 MB, free: 7.129 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.4165, allocations: 0 / 385.8 MB, free: 7.129 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4165, allocations: 1.094 kB / 385.8 MB, free: 7.129 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001439/0.4166, allocations: 0 / 385.8 MB, free: 7.129 MB / 302.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.01164/0.4283, allocations: 2.68 MB / 388.5 MB, free: 5.578 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4284, allocations: 12.97 kB / 388.5 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/0.4301, allocations: 283.7 kB / 388.8 MB, free: 5.441 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004106/0.4343, allocations: 1.345 MB / 390.1 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/0.4345, allocations: 147 kB / 390.3 MB, free: 4.398 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007109/0.4352, allocations: 191 kB / 390.5 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007563/0.4428, allocations: 2.44 MB / 392.9 MB, free: 2.914 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.512e-05/0.4429, allocations: 6.75 kB / 392.9 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003654/0.4433, allocations: 74.38 kB / 393 MB, free: 2.855 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/0.4435, allocations: 95.33 kB / 393.1 MB, free: 2.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006513/0.45, allocations: 1.987 MB / 395.1 MB, free: 1.828 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02107/0.4711, allocations: 7.402 MB / 402.5 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003557/0.4747, allocations: 1.363 MB / 403.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00297/0.4777, allocations: 0.8836 MB / 404.7 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003661/0.4781, allocations: 126.1 kB / 404.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001953/0.4801, allocations: 0.6819 MB / 405.5 MB, free: 8.996 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 8.175e-06/0.4802, allocations: 3.938 kB / 405.5 MB, free: 8.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.02996/0.5101, allocations: 7.339 MB / 412.9 MB, free: 1.477 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.5103, allocations: 171.2 kB / 413 MB, free: 1.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004674/0.515, allocations: 1.431 MB / 414.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001881/0.5152, allocations: 45.7 kB / 414.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001592/0.5169, allocations: 0.9398 MB / 415.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006741/0.5176, allocations: 419.7 kB / 415.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006868/0.5183, allocations: 247.4 kB / 416.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.5185, allocations: 357.9 kB / 416.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.5201, allocations: 0.6364 MB / 417.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/0.5224, allocations: 1.005 MB / 418.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00416/0.5265, allocations: 1.702 MB / 419.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.5266, allocations: 7.656 kB / 419.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.007037/0.5336, allocations: 2.347 MB / 422.2 MB, free: 7.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.5337, allocations: 10.81 kB / 422.2 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/0.5337, allocations: 8 kB / 422.2 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.5356, allocations: 0.4919 MB / 422.7 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.5374, allocations: 291.5 kB / 422.9 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.5488, allocations: 7.19 MB / 430.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/0.5514, allocations: 95.97 kB / 430.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003065/0.5517, allocations: 52 kB / 430.3 MB, free: 15.26 MB / 350.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.002011/0.5538, allocations: 0.6384 MB / 430.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006779/0.5545, allocations: 162 kB / 431.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00669/0.5612, allocations: 2.147 MB / 433.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.5612, allocations: 12 kB / 433.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/0.5613, allocations: 8 kB / 433.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/0.5613, allocations: 7.969 kB / 433.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.5752, allocations: 4.477 MB / 437.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/0.5752, allocations: 0 / 437.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.5768, allocations: 200.1 kB / 437.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002658/0.5794, allocations: 0.5368 MB / 438.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/0.5796, allocations: 35.98 kB / 438.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0137/0.5933, allocations: 8.739 MB / 447.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/0.5934, allocations: 4 kB / 447.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008366/0.6018, allocations: 3.081 MB / 450.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/0.6032, allocations: 371.1 kB / 450.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005662/0.6038, allocations: 28 kB / 450.7 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/0.6056, allocations: 75.92 kB / 450.8 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003494/0.606, allocations: 96.69 kB / 450.9 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.6061, allocations: 39.98 kB / 450.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002562/0.6087, allocations: 0.9913 MB / 451.9 MB, free: 8.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6087, allocations: 0 / 451.9 MB, free: 8.793 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002898/0.6116, allocations: 452.1 kB / 452.4 MB, free: 8.352 MB / 366.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.001896/0.6135, allocations: 0.4975 MB / 452.9 MB, free: 7.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0074/0.621, allocations: 2.682 MB / 455.5 MB, free: 5.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/0.621, allocations: 0 / 455.5 MB, free: 5.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002308/0.6233, allocations: 1.517 MB / 457 MB, free: 3.645 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.6258, allocations: 418 kB / 457.5 MB, free: 3.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007755/0.6336, allocations: 4.293 MB / 461.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.6355, allocations: 1.706 MB / 463.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001259/0.6368, allocations: 333 kB / 463.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/0.6372, allocations: 107.4 kB / 463.9 MB, free: 12.72 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6372, allocations: 0 / 463.9 MB, free: 12.72 MB / 382.1 MB Notification: Performance of Templates: time 0.04503/0.6823, allocations: 24.77 MB / 488.7 MB, free: 4.215 MB / 398.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