Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 104.2 kB / 17.06 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 191 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009615/0.0009615, allocations: 48 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2423, allocations: 49.44 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01184/0.2542, allocations: 9.454 MB / 410.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007054/0.2613, allocations: 3.459 MB / 413.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.2625, allocations: 47.81 kB / 413.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.2644, allocations: 0.7262 MB / 414.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.2663, allocations: 0.8038 MB / 415.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.2673, allocations: 485.7 kB / 415.7 MB, free: 9.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002282/0.2696, allocations: 2.397 MB / 418.1 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.2715, allocations: 1.778 MB / 419.9 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.2729, allocations: 1.094 MB / 421 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.2747, allocations: 1.393 MB / 422.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003751/0.2751, allocations: 280 kB / 422.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008004/0.2759, allocations: 407.8 kB / 423 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006882/0.2766, allocations: 0.7986 MB / 423.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.2778, allocations: 1.283 MB / 425.1 MB, free: 380 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003276/0.281, allocations: 3.728 MB / 428.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2811, allocations: 0 / 428.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2811, allocations: 4 kB / 428.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.95e-05/0.2811, allocations: 0 / 428.9 MB, free: 12.63 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.00509/0.2862, allocations: 2.671 MB / 431.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2863, allocations: 11.97 kB / 431.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006743/0.2869, allocations: 266 kB / 431.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.2891, allocations: 1.388 MB / 433.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.2893, allocations: 143.7 kB / 433.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002737/0.2896, allocations: 183.9 kB / 433.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003904/0.2935, allocations: 2.448 MB / 436 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.443e-05/0.2935, allocations: 3.906 kB / 436 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.2937, allocations: 75.98 kB / 436 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.375e-05/0.2938, allocations: 99.67 kB / 436.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003179/0.297, allocations: 1.986 MB / 438.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/0.3086, allocations: 7.315 MB / 445.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.3105, allocations: 1.347 MB / 446.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.312, allocations: 0.8854 MB / 447.7 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002313/0.3123, allocations: 118.1 kB / 447.8 MB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009918/0.3133, allocations: 0.6788 MB / 448.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 5.841e-06/0.3133, allocations: 4 kB / 448.5 MB, free: 8.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01506/0.3283, allocations: 7.34 MB / 455.8 MB, free: 1.027 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.3285, allocations: 171.2 kB / 456 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.3304, allocations: 1.415 MB / 457.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.166e-05/0.3305, allocations: 49.7 kB / 457.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007321/0.3312, allocations: 0.9287 MB / 458.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003284/0.3316, allocations: 429.9 kB / 458.8 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003756/0.332, allocations: 243.5 kB / 459 MB, free: 13.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3321, allocations: 361.9 kB / 459.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009799/0.3331, allocations: 0.6364 MB / 460 MB, free: 12.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.3343, allocations: 1.009 MB / 461 MB, free: 11.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002243/0.3366, allocations: 1.703 MB / 462.7 MB, free: 9.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.3366, allocations: 0 / 462.7 MB, free: 9.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003696/0.3403, allocations: 2.336 MB / 465.1 MB, free: 7.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.3403, allocations: 12 kB / 465.1 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.3404, allocations: 12 kB / 465.1 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.3415, allocations: 0.4961 MB / 465.6 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.3427, allocations: 295.6 kB / 465.9 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00668/0.3493, allocations: 7.171 MB / 473 MB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.3507, allocations: 95.77 kB / 473.1 MB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.3508, allocations: 55.98 kB / 473.2 MB, free: 14.8 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.001107/0.3519, allocations: 0.634 MB / 473.8 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/0.3522, allocations: 158.1 kB / 474 MB, free: 14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003518/0.3557, allocations: 2.162 MB / 476.1 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.3557, allocations: 12 kB / 476.1 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3557, allocations: 4 kB / 476.1 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.3558, allocations: 3.984 kB / 476.2 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007291/0.3631, allocations: 4.445 MB / 480.6 MB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.3631, allocations: 4 kB / 480.6 MB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007984/0.3639, allocations: 187.7 kB / 480.8 MB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.3653, allocations: 0.5392 MB / 481.3 MB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-05/0.3654, allocations: 31.98 kB / 481.4 MB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008187/0.3736, allocations: 8.737 MB / 490.1 MB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.3736, allocations: 4.031 kB / 490.1 MB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005101/0.3787, allocations: 3.087 MB / 493.2 MB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009207/0.3797, allocations: 371.1 kB / 493.5 MB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.3799, allocations: 32 kB / 493.6 MB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007853/0.3807, allocations: 71.92 kB / 493.6 MB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/0.3809, allocations: 96.69 kB / 493.7 MB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-05/0.381, allocations: 39.98 kB / 493.8 MB, free: 9.332 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001494/0.3825, allocations: 0.9792 MB / 494.8 MB, free: 8.352 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3825, allocations: 0 / 494.8 MB, free: 8.352 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001772/0.3843, allocations: 448 kB / 495.2 MB, free: 7.914 MB / 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.001245/0.3856, allocations: 0.4886 MB / 495.7 MB, free: 7.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003677/0.3893, allocations: 2.251 MB / 497.9 MB, free: 5.242 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3893, allocations: 0 / 497.9 MB, free: 5.242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002296/0.3916, allocations: 1.526 MB / 499.5 MB, free: 3.641 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.3936, allocations: 424.8 kB / 499.9 MB, free: 3.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007413/0.4011, allocations: 4.219 MB / 0.4923 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/0.4025, allocations: 1.706 MB / 0.4939 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009643/0.4034, allocations: 321 kB / 0.4943 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/0.4037, allocations: 107.4 kB / 0.4944 GB, free: 12.79 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4037, allocations: 0 / 0.4944 GB, free: 12.79 MB / 430.1 MB Notification: Performance of Templates: time 0.04559/0.4493, allocations: 25.07 MB / 0.5188 GB, free: 3.957 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches