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.001426/0.001426, allocations: 117 kB / 18.41 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001692/0.001692, allocations: 208.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 59.84 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.135, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01126/0.1463, allocations: 9.518 MB / 368.4 MB, free: 3.754 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006639/0.1529, allocations: 3.623 MB / 372.1 MB, free: 120 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.1546, allocations: 51.75 kB / 372.1 MB, free: 68 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1857/0.3403, allocations: 0.7255 MB / 372.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004184/0.3445, allocations: 0.8499 MB / 373.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.3467, allocations: 447.5 kB / 374.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005373/0.3521, allocations: 2.428 MB / 376.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004708/0.3569, allocations: 1.77 MB / 378.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003771/0.3607, allocations: 1.103 MB / 379.4 MB, free: 10 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004245/0.3649, allocations: 1.398 MB / 380.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001571/0.3665, allocations: 278.6 kB / 381.1 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002994/0.3696, allocations: 420.6 kB / 381.5 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002439/0.372, allocations: 0.8002 MB / 382.3 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00497/0.377, allocations: 1.283 MB / 383.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005619/0.3827, allocations: 3.75 MB / 387.3 MB, free: 6.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3827, allocations: 0 / 387.3 MB, free: 6.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3827, allocations: 0 / 387.3 MB, free: 6.883 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.532e-05/0.3828, allocations: 3.938 kB / 387.3 MB, free: 6.879 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.007083/0.3899, allocations: 2.676 MB / 390 MB, free: 5.012 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/0.39, allocations: 9.75 kB / 390 MB, free: 5.012 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.3911, allocations: 281.8 kB / 390.3 MB, free: 4.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/0.3936, allocations: 1.4 MB / 391.7 MB, free: 3.863 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.3938, allocations: 141.4 kB / 391.8 MB, free: 3.801 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.3941, allocations: 193.4 kB / 392 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003772/0.3979, allocations: 2.442 MB / 394.5 MB, free: 2.312 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.028e-05/0.3979, allocations: 3.156 kB / 394.5 MB, free: 2.312 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.3981, allocations: 76.91 kB / 394.5 MB, free: 2.254 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.3982, allocations: 94.98 kB / 394.6 MB, free: 2.238 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003087/0.4013, allocations: 1.983 MB / 396.6 MB, free: 1.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/0.4126, allocations: 7.317 MB / 403.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.4145, allocations: 1.356 MB / 405.3 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.4161, allocations: 0.8833 MB / 406.2 MB, free: 9.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002411/0.4163, allocations: 121 kB / 406.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.4173, allocations: 0.6904 MB / 407 MB, free: 8.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.494e-06/0.4174, allocations: 0 / 407 MB, free: 8.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.01573/0.4331, allocations: 7.336 MB / 414.3 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.679e-05/0.4332, allocations: 171.2 kB / 414.5 MB, free: 448 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.4353, allocations: 1.427 MB / 415.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.4354, allocations: 45.7 kB / 416 MB, free: 14.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008301/0.4362, allocations: 0.9392 MB / 416.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003327/0.4366, allocations: 420.5 kB / 417.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003802/0.437, allocations: 247.5 kB / 417.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4371, allocations: 365.9 kB / 417.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009741/0.4381, allocations: 0.6325 MB / 418.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.4394, allocations: 1.005 MB / 419.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/0.4417, allocations: 1.706 MB / 421.2 MB, free: 9.359 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.4417, allocations: 8 kB / 421.3 MB, free: 9.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003991/0.4457, allocations: 2.339 MB / 423.6 MB, free: 6.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.4458, allocations: 8 kB / 423.6 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.4458, allocations: 12 kB / 423.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.447, allocations: 0.4962 MB / 424.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.4481, allocations: 295.5 kB / 424.4 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00728/0.4554, allocations: 7.179 MB / 431.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.4569, allocations: 95.97 kB / 431.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.4571, allocations: 52 kB / 431.7 MB, free: 14.43 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.001158/0.4582, allocations: 0.6384 MB / 432.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.4585, allocations: 162 kB / 432.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003582/0.4621, allocations: 2.147 MB / 434.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.4622, allocations: 12 kB / 434.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.4622, allocations: 4 kB / 434.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.4622, allocations: 7.969 kB / 434.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007438/0.4696, allocations: 4.454 MB / 439.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.4697, allocations: 384 / 439.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008128/0.4705, allocations: 195.7 kB / 439.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/0.4719, allocations: 0.5305 MB / 439.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.793e-05/0.472, allocations: 43.91 kB / 439.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008155/0.4801, allocations: 8.734 MB / 448.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.4802, allocations: 4 kB / 448.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004845/0.485, allocations: 3.085 MB / 451.7 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009881/0.486, allocations: 363.1 kB / 452.1 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/0.4863, allocations: 39.98 kB / 452.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008209/0.4871, allocations: 71.92 kB / 452.2 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/0.4874, allocations: 96.75 kB / 452.3 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.98e-05/0.4875, allocations: 39.98 kB / 452.3 MB, free: 8.984 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001544/0.489, allocations: 0.9874 MB / 453.3 MB, free: 7.996 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.489, allocations: 0 / 453.3 MB, free: 7.996 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001803/0.4908, allocations: 448 kB / 453.8 MB, free: 7.559 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.001318/0.4922, allocations: 0.4933 MB / 454.2 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003755/0.4959, allocations: 2.259 MB / 456.5 MB, free: 4.867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.4959, allocations: 0 / 456.5 MB, free: 4.867 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002327/0.4983, allocations: 1.514 MB / 458 MB, free: 3.281 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.5005, allocations: 432.8 kB / 458.4 MB, free: 2.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006928/0.5075, allocations: 4.228 MB / 462.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/0.5088, allocations: 1.702 MB / 464.4 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001142/0.51, allocations: 333 kB / 464.7 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.5103, allocations: 111.4 kB / 464.8 MB, free: 12.41 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5103, allocations: 0 / 464.8 MB, free: 12.41 MB / 382.1 MB Notification: Performance of Templates: time 0.04274/0.5531, allocations: 24.76 MB / 489.6 MB, free: 3.895 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/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