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.0007725/0.0007726, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009312/0.0009312, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002477/0.0002478, allocations: 7.984 kB / 307.8 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1276, allocations: 51.53 MB / 359.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01206/0.1397, allocations: 8.931 MB / 368.2 MB, free: 4.297 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007566/0.1473, allocations: 3.549 MB / 371.8 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.1491, allocations: 43.75 kB / 371.8 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00228/0.1514, allocations: 0.653 MB / 372.5 MB, free: 36 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1883/0.3398, allocations: 0.7541 MB / 373.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.3412, allocations: 394.1 kB / 373.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004617/0.3459, allocations: 2.741 MB / 376.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001949/0.3478, allocations: 1.449 MB / 377.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.3498, allocations: 0.8623 MB / 378.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002313/0.3522, allocations: 1.202 MB / 379.9 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003379/0.3525, allocations: 121.1 kB / 380 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009133/0.3534, allocations: 271.7 kB / 380.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006901/0.3541, allocations: 0.6175 MB / 380.9 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.3555, allocations: 1.107 MB / 382 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003986/0.3595, allocations: 3.512 MB / 385.5 MB, free: 8.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3595, allocations: 1.094 kB / 385.5 MB, free: 8.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3596, allocations: 0 / 385.5 MB, free: 8.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.933e-05/0.3596, allocations: 0 / 385.5 MB, free: 8.23 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.004928/0.3646, allocations: 2.275 MB / 387.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3646, allocations: 13.62 kB / 387.8 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009002/0.3655, allocations: 286.3 kB / 388 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/0.3677, allocations: 1.344 MB / 389.4 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.3678, allocations: 145.8 kB / 389.5 MB, free: 5.469 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003008/0.3681, allocations: 189.7 kB / 389.7 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00436/0.3725, allocations: 2.44 MB / 392.2 MB, free: 3.988 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.477e-05/0.3726, allocations: 6.047 kB / 392.2 MB, free: 3.984 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/0.3728, allocations: 77.22 kB / 392.2 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/0.3729, allocations: 95.39 kB / 392.3 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003367/0.3763, allocations: 1.996 MB / 394.3 MB, free: 2.895 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/0.3873, allocations: 7.441 MB / 401.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.3892, allocations: 1.353 MB / 403.1 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/0.3908, allocations: 0.8893 MB / 404 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/0.391, allocations: 132.8 kB / 404.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.3922, allocations: 0.6866 MB / 404.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.605e-06/0.3922, allocations: 0 / 404.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.02119/0.4134, allocations: 7.419 MB / 412.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.4136, allocations: 171.2 kB / 412.4 MB, free: 2.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003227/0.4168, allocations: 1.428 MB / 413.8 MB, free: 1.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001869/0.417, allocations: 49.64 kB / 413.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.4183, allocations: 0.9399 MB / 414.8 MB, free: 128 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005657/0.4188, allocations: 428 kB / 415.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.4191, allocations: 113.7 kB / 415.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4193, allocations: 353.9 kB / 415.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.4208, allocations: 0.6403 MB / 416.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.4226, allocations: 1.001 MB / 417.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002575/0.4252, allocations: 1.714 MB / 419.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.4253, allocations: 4.656 kB / 419.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004324/0.4296, allocations: 2.34 MB / 421.4 MB, free: 9.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.4296, allocations: 8 kB / 421.4 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/0.4297, allocations: 15.98 kB / 421.4 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/0.4314, allocations: 0.4899 MB / 421.9 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.4332, allocations: 303.5 kB / 422.2 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009665/0.4428, allocations: 6.591 MB / 428.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.445, allocations: 111.8 kB / 428.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.4452, allocations: 55.98 kB / 429 MB, free: 1.262 MB / 334.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.002083/0.4473, allocations: 0.6307 MB / 429.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005053/0.4478, allocations: 154.1 kB / 429.7 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005539/0.4534, allocations: 2.155 MB / 431.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.4534, allocations: 12 kB / 431.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/0.4534, allocations: 4 kB / 431.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.971e-05/0.4535, allocations: 7.969 kB / 431.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008576/0.4621, allocations: 4.477 MB / 436.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.4621, allocations: 7.938 kB / 436.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007867/0.4629, allocations: 187.8 kB / 436.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/0.4643, allocations: 0.5367 MB / 437.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.638e-05/0.4644, allocations: 35.98 kB / 437.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007469/0.4718, allocations: 8.025 MB / 445.2 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4719, allocations: 7.984 kB / 445.2 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004862/0.4767, allocations: 3.087 MB / 448.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008012/0.4776, allocations: 378.9 kB / 448.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.4778, allocations: 35.98 kB / 448.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000827/0.4786, allocations: 67.94 kB / 448.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/0.4789, allocations: 104.7 kB / 448.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.949e-05/0.479, allocations: 39.98 kB / 448.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001556/0.4805, allocations: 0.9835 MB / 449.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4805, allocations: 0 / 449.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001713/0.4823, allocations: 452 kB / 450.3 MB, free: 11.09 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.001302/0.4836, allocations: 496.9 kB / 450.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003548/0.4871, allocations: 2.248 MB / 453.1 MB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4871, allocations: 0 / 453.1 MB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002164/0.4893, allocations: 1.534 MB / 454.6 MB, free: 6.812 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/0.4917, allocations: 410.4 kB / 455 MB, free: 6.418 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00691/0.4987, allocations: 5.275 MB / 460.3 MB, free: 1.086 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/0.5001, allocations: 1.709 MB / 462 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001034/0.5011, allocations: 325 kB / 462.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.5014, allocations: 111.4 kB / 462.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5014, allocations: 0 / 462.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of Templates: time 0.04099/0.5424, allocations: 23.53 MB / 485.9 MB, free: 7.613 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