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.001069/0.001069, allocations: 95.48 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 207.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002179/0.0002179, allocations: 8 kB / 308.4 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08428/0.08451, allocations: 51.53 MB / 359.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.009169/0.09372, allocations: 8.936 MB / 368.9 MB, free: 4.059 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006001/0.09976, allocations: 3.542 MB / 372.4 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.101, allocations: 47.75 kB / 372.4 MB, free: 468 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1627/0.2637, allocations: 0.6438 MB / 373.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002903/0.2666, allocations: 0.767 MB / 373.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.2678, allocations: 392 kB / 374.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003857/0.2717, allocations: 2.748 MB / 377 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/0.2736, allocations: 1.457 MB / 378.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.2754, allocations: 0.8538 MB / 379.3 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.2771, allocations: 1.2 MB / 380.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002697/0.2774, allocations: 125.5 kB / 380.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007271/0.2782, allocations: 273.8 kB / 380.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006376/0.2788, allocations: 0.615 MB / 381.5 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.2799, allocations: 1.1 MB / 382.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002998/0.2829, allocations: 3.012 MB / 385.6 MB, free: 8.105 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2829, allocations: 4.969 kB / 385.6 MB, free: 8.102 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2829, allocations: 0 / 385.6 MB, free: 8.102 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.788e-05/0.283, allocations: 0 / 385.6 MB, free: 8.102 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.00439/0.2874, allocations: 2.272 MB / 387.9 MB, free: 6.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2875, allocations: 8.406 kB / 387.9 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000818/0.2883, allocations: 286.9 kB / 388.2 MB, free: 6.387 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.2903, allocations: 1.35 MB / 389.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.2904, allocations: 146.4 kB / 389.7 MB, free: 5.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003071/0.2907, allocations: 188.9 kB / 389.9 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003901/0.2946, allocations: 2.44 MB / 392.3 MB, free: 3.859 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.242e-05/0.2947, allocations: 10.2 kB / 392.3 MB, free: 3.852 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.2949, allocations: 74.11 kB / 392.4 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.295, allocations: 94.48 kB / 392.5 MB, free: 3.781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003104/0.2981, allocations: 1.992 MB / 394.5 MB, free: 2.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/0.3081, allocations: 7.434 MB / 401.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.3099, allocations: 1.362 MB / 403.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.3114, allocations: 0.8866 MB / 404.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.3116, allocations: 120.3 kB / 404.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.3127, allocations: 0.6905 MB / 405 MB, free: 10.6 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.595e-06/0.3127, allocations: 0 / 405 MB, free: 10.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.01537/0.3281, allocations: 7.419 MB / 412.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.3282, allocations: 171.2 kB / 412.5 MB, free: 2.805 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.3303, allocations: 1.427 MB / 414 MB, free: 1.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.3304, allocations: 45.7 kB / 414 MB, free: 1.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000841/0.3312, allocations: 0.9406 MB / 415 MB, free: 368 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/0.3316, allocations: 431.8 kB / 415.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.3317, allocations: 113.6 kB / 415.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3319, allocations: 357.9 kB / 415.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009743/0.3329, allocations: 0.6403 MB / 416.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.3341, allocations: 1.004 MB / 417.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002393/0.3365, allocations: 1.713 MB / 419.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3365, allocations: 4 kB / 419.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003727/0.3402, allocations: 2.34 MB / 421.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.3403, allocations: 12 kB / 421.5 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.3403, allocations: 8 kB / 421.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.3414, allocations: 498 kB / 422 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.3425, allocations: 299.5 kB / 422.3 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006413/0.3489, allocations: 6.598 MB / 428.9 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.3503, allocations: 99.88 kB / 429 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.3504, allocations: 55.98 kB / 429.1 MB, free: 1.5 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.001275/0.3517, allocations: 0.6307 MB / 429.7 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/0.352, allocations: 154.1 kB / 429.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003706/0.3557, allocations: 2.156 MB / 432 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.3557, allocations: 23.92 kB / 432 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.3557, allocations: 4 kB / 432 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.3557, allocations: 7.969 kB / 432.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007822/0.3636, allocations: 4.481 MB / 436.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.3636, allocations: 4 kB / 436.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007838/0.3644, allocations: 192.1 kB / 436.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/0.3658, allocations: 0.5348 MB / 437.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.3659, allocations: 39.97 kB / 437.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007732/0.3737, allocations: 8.023 MB / 445.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.3737, allocations: 4.031 kB / 445.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005357/0.3791, allocations: 3.092 MB / 448.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.3802, allocations: 379 kB / 448.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000473/0.3807, allocations: 31.98 kB / 448.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.3818, allocations: 71.94 kB / 448.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.382, allocations: 96.73 kB / 449 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.127e-05/0.3821, allocations: 39.98 kB / 449 MB, free: 12.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001792/0.3839, allocations: 0.9952 MB / 450 MB, free: 11.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3839, allocations: 0 / 450 MB, free: 11.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001909/0.3858, allocations: 448 kB / 450.5 MB, free: 11.32 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.00126/0.3871, allocations: 0.4937 MB / 451 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003579/0.3907, allocations: 2.251 MB / 453.2 MB, free: 8.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.3907, allocations: 0 / 453.2 MB, free: 8.637 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002269/0.393, allocations: 1.523 MB / 454.7 MB, free: 7.039 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/0.3959, allocations: 406.6 kB / 455.1 MB, free: 6.648 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007977/0.4039, allocations: 5.335 MB / 460.5 MB, free: 1.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00162/0.4056, allocations: 1.702 MB / 462.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005166/0.4061, allocations: 115.4 kB / 462.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4061, allocations: 0 / 462.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of Templates: time 0.07859/0.4847, allocations: 73.32 MB / 0.523 GB, free: 6.086 MB / 446.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/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