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.001288/0.001288, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001439, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 59.91 kB / 358.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.299, allocations: 50.54 MB / 409.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.0109/0.3099, allocations: 9.51 MB / 418.8 MB, free: 8.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006823/0.3168, allocations: 3.616 MB / 422.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.3184, allocations: 51.75 kB / 422.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.3203, allocations: 0.7339 MB / 423.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.3227, allocations: 0.8466 MB / 424 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.3239, allocations: 451.1 kB / 424.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002788/0.3267, allocations: 2.428 MB / 426.9 MB, free: 12 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/0.3286, allocations: 1.774 MB / 428.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.3302, allocations: 1.106 MB / 429.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.3322, allocations: 1.393 MB / 431.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004409/0.3326, allocations: 280 kB / 431.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008191/0.3335, allocations: 423.7 kB / 431.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007194/0.3342, allocations: 0.7986 MB / 432.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001404/0.3356, allocations: 1.287 MB / 433.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004218/0.3398, allocations: 3.746 MB / 437.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3399, allocations: 0 / 437.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3399, allocations: 0 / 437.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.001e-05/0.3399, allocations: 7.938 kB / 437.7 MB, free: 5.133 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.005472/0.3454, allocations: 2.679 MB / 440.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.3455, allocations: 8.031 kB / 440.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008957/0.3464, allocations: 281.9 kB / 440.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/0.3487, allocations: 1.396 MB / 442 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.305e-05/0.3488, allocations: 135.7 kB / 442.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002695/0.3491, allocations: 199.9 kB / 442.4 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003958/0.353, allocations: 2.444 MB / 444.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.35e-05/0.3531, allocations: 0 / 444.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.3533, allocations: 76 kB / 444.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.733e-05/0.3534, allocations: 103.7 kB / 445 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003104/0.3565, allocations: 1.982 MB / 447 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/0.3672, allocations: 7.32 MB / 454.3 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.369, allocations: 1.351 MB / 455.6 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.3705, allocations: 0.8676 MB / 456.5 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002523/0.3707, allocations: 122.1 kB / 456.6 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.3718, allocations: 0.6866 MB / 457.3 MB, free: 1.043 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 2.625e-06/0.3718, allocations: 4 kB / 457.3 MB, free: 1.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01528/0.3871, allocations: 7.334 MB / 464.7 MB, free: 9.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.3872, allocations: 167.2 kB / 464.8 MB, free: 9.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.3891, allocations: 1.431 MB / 466.3 MB, free: 7.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.3892, allocations: 49.7 kB / 466.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008173/0.3901, allocations: 0.9328 MB / 467.2 MB, free: 6.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003392/0.3904, allocations: 425.9 kB / 467.6 MB, free: 6.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003914/0.3908, allocations: 247.5 kB / 467.9 MB, free: 6.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.391, allocations: 361.9 kB / 468.2 MB, free: 5.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009552/0.3919, allocations: 0.6441 MB / 468.9 MB, free: 5.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.3932, allocations: 1.001 MB / 469.9 MB, free: 4.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/0.3955, allocations: 1.703 MB / 471.6 MB, free: 2.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/0.3955, allocations: 4 kB / 471.6 MB, free: 2.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003897/0.3994, allocations: 2.348 MB / 473.9 MB, free: 15.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.3995, allocations: 12.03 kB / 474 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.3995, allocations: 12 kB / 474 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.4007, allocations: 495.8 kB / 474.5 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.4018, allocations: 291.6 kB / 474.7 MB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007018/0.4089, allocations: 7.183 MB / 481.9 MB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.4104, allocations: 99.84 kB / 482 MB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.4105, allocations: 48 kB / 482.1 MB, free: 7.262 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.001354/0.4119, allocations: 0.634 MB / 482.7 MB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003936/0.4123, allocations: 162 kB / 482.9 MB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.416, allocations: 2.147 MB / 485 MB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.4161, allocations: 12 kB / 485 MB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.4161, allocations: 7.938 kB / 485 MB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/0.4161, allocations: 7.969 kB / 485 MB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007226/0.4233, allocations: 4.457 MB / 489.5 MB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.4234, allocations: 4 kB / 489.5 MB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007984/0.4242, allocations: 195.7 kB / 489.7 MB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001359/0.4255, allocations: 0.5313 MB / 490.2 MB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.5e-05/0.4257, allocations: 35.97 kB / 490.2 MB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007959/0.4336, allocations: 8.744 MB / 499 MB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.4337, allocations: 4 kB / 499 MB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005023/0.4387, allocations: 3.08 MB / 0.4903 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008927/0.4396, allocations: 363.1 kB / 0.4907 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.4398, allocations: 35.98 kB / 0.4907 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007954/0.4407, allocations: 71.92 kB / 0.4908 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.4409, allocations: 96.75 kB / 0.4908 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.581e-05/0.441, allocations: 39.98 kB / 0.4909 GB, free: 1.785 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001313/0.4423, allocations: 0.9913 MB / 0.4919 GB, free: 0.793 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4423, allocations: 0 / 0.4919 GB, free: 0.793 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001629/0.4439, allocations: 448.1 kB / 0.4923 GB, free: 364 kB / 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.001213/0.4452, allocations: 0.4896 MB / 0.4928 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003546/0.4487, allocations: 2.263 MB / 0.495 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.4487, allocations: 0 / 0.495 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002339/0.4511, allocations: 1.515 MB / 0.4964 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.4531, allocations: 432.1 kB / 0.4969 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007173/0.4603, allocations: 4.231 MB / 0.501 GB, free: 7.355 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.4619, allocations: 1.708 MB / 0.5027 GB, free: 5.613 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001112/0.463, allocations: 321 kB / 0.503 GB, free: 5.293 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.4633, allocations: 115.4 kB / 0.5031 GB, free: 5.18 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4633, allocations: 0 / 0.5031 GB, free: 5.18 MB / 430.1 MB Notification: Performance of Templates: time 0.04363/0.507, allocations: 25.16 MB / 0.5277 GB, free: 12.23 MB / 462.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