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.001556/0.001556, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001903/0.001903, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.28 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09821/0.0996, allocations: 50.54 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01174/0.1114, allocations: 9.504 MB / 368.4 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007349/0.1188, allocations: 3.619 MB / 372 MB, free: 148 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002493/0.1213, allocations: 55.75 kB / 372.1 MB, free: 92 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1804/0.3018, allocations: 0.723 MB / 372.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00294/0.3048, allocations: 0.849 MB / 373.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.3062, allocations: 448.9 kB / 374.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003522/0.3097, allocations: 2.435 MB / 376.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002483/0.3122, allocations: 1.772 MB / 378.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002077/0.3143, allocations: 1.106 MB / 379.4 MB, free: 10 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/0.3168, allocations: 1.389 MB / 380.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008161/0.3176, allocations: 279.2 kB / 381.1 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.3192, allocations: 421.8 kB / 381.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.3204, allocations: 0.7973 MB / 382.3 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003259/0.3237, allocations: 1.284 MB / 383.6 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006159/0.3299, allocations: 3.753 MB / 387.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3299, allocations: 4 kB / 387.3 MB, free: 6.902 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3299, allocations: 0 / 387.3 MB, free: 6.902 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000167/0.3301, allocations: 1.156 kB / 387.3 MB, free: 6.902 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.008432/0.3385, allocations: 2.676 MB / 390 MB, free: 5.035 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.3386, allocations: 9.094 kB / 390 MB, free: 5.035 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.3401, allocations: 282.2 kB / 390.3 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003476/0.3436, allocations: 1.396 MB / 391.7 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/0.3438, allocations: 146.2 kB / 391.8 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005688/0.3444, allocations: 190.3 kB / 392 MB, free: 3.762 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005501/0.3499, allocations: 2.443 MB / 394.4 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.365e-05/0.35, allocations: 1.656 kB / 394.5 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002147/0.3502, allocations: 76.47 kB / 394.5 MB, free: 2.281 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.3503, allocations: 95.08 kB / 394.6 MB, free: 2.266 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003386/0.3537, allocations: 1.988 MB / 396.6 MB, free: 1.254 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0133/0.3671, allocations: 7.313 MB / 403.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.3692, allocations: 1.36 MB / 405.3 MB, free: 9.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.3707, allocations: 0.8837 MB / 406.2 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.371, allocations: 120.5 kB / 406.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/0.3721, allocations: 0.6865 MB / 407 MB, free: 8.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.916e-06/0.3721, allocations: 0 / 407 MB, free: 8.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.01645/0.3886, allocations: 7.332 MB / 414.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.889e-05/0.3887, allocations: 171.2 kB / 414.5 MB, free: 492 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002455/0.3912, allocations: 1.427 MB / 415.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.3913, allocations: 49.7 kB / 415.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009562/0.3923, allocations: 0.9403 MB / 416.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003644/0.3926, allocations: 426.9 kB / 417.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004164/0.3931, allocations: 243.5 kB / 417.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3932, allocations: 361.9 kB / 417.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.3943, allocations: 0.6364 MB / 418.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.3955, allocations: 1.001 MB / 419.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/0.3979, allocations: 1.713 MB / 421.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.3979, allocations: 0 / 421.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003965/0.4019, allocations: 2.338 MB / 423.6 MB, free: 7.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.4019, allocations: 12 kB / 423.6 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.402, allocations: 8 kB / 423.6 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.4031, allocations: 0.4955 MB / 424.1 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.4042, allocations: 299.6 kB / 424.4 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007027/0.4113, allocations: 7.182 MB / 431.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.4126, allocations: 91.97 kB / 431.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.4128, allocations: 56 kB / 431.7 MB, free: 14.46 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.001182/0.414, allocations: 0.6423 MB / 432.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003971/0.4144, allocations: 158 kB / 432.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/0.418, allocations: 2.147 MB / 434.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.418, allocations: 12 kB / 434.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.4181, allocations: 4 kB / 434.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.4181, allocations: 7.984 kB / 434.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007665/0.4257, allocations: 4.445 MB / 439.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.4258, allocations: 4 kB / 439.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007956/0.4266, allocations: 195.7 kB / 439.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/0.4279, allocations: 0.5444 MB / 439.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.589e-05/0.428, allocations: 39.97 kB / 439.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007983/0.436, allocations: 8.726 MB / 448.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4361, allocations: 4.031 kB / 448.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004744/0.4408, allocations: 3.087 MB / 451.7 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009347/0.4418, allocations: 363.1 kB / 452.1 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003667/0.4421, allocations: 31.98 kB / 452.1 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009173/0.4431, allocations: 71.92 kB / 452.2 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/0.4433, allocations: 104.8 kB / 452.3 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/0.4434, allocations: 35.98 kB / 452.3 MB, free: 9.027 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001526/0.4449, allocations: 0.9874 MB / 453.3 MB, free: 8.039 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4449, allocations: 3.938 kB / 453.3 MB, free: 8.035 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001639/0.4466, allocations: 452 kB / 453.7 MB, free: 7.594 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.00114/0.4477, allocations: 0.4927 MB / 454.2 MB, free: 7.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00347/0.4512, allocations: 2.252 MB / 456.5 MB, free: 4.914 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4512, allocations: 4 kB / 456.5 MB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002301/0.4535, allocations: 1.518 MB / 458 MB, free: 3.316 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.4556, allocations: 421.1 kB / 458.4 MB, free: 2.914 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007345/0.4629, allocations: 4.238 MB / 462.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/0.4646, allocations: 1.702 MB / 464.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001049/0.4657, allocations: 325 kB / 464.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/0.466, allocations: 111.4 kB / 464.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4661, allocations: 0 / 464.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of Templates: time 0.04372/0.5098, allocations: 24.77 MB / 489.6 MB, free: 3.926 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 gbode -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