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.00163/0.00163, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2617, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01063/0.2724, allocations: 9.502 MB / 419.5 MB, free: 8.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006219/0.2786, allocations: 3.63 MB / 423.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.2798, allocations: 47.81 kB / 423.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.2817, allocations: 0.7261 MB / 423.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.2839, allocations: 0.8506 MB / 424.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.2849, allocations: 447.1 kB / 425.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002677/0.2876, allocations: 2.432 MB / 427.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001982/0.2896, allocations: 1.778 MB / 429.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.2911, allocations: 1.098 MB / 430.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.293, allocations: 1.397 MB / 431.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000427/0.2934, allocations: 280 kB / 432.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009693/0.2944, allocations: 419.8 kB / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007972/0.2952, allocations: 0.8025 MB / 433.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.2967, allocations: 1.279 MB / 434.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004267/0.3009, allocations: 3.755 MB / 438.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.301, allocations: 0 / 438.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.301, allocations: 0 / 438.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.697e-05/0.3011, allocations: 3.938 kB / 438.4 MB, free: 5.004 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.005873/0.3069, allocations: 2.683 MB / 441.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/0.307, allocations: 8.031 kB / 441.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008038/0.3078, allocations: 281.9 kB / 441.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/0.3101, allocations: 1.388 MB / 442.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.3103, allocations: 147.7 kB / 442.9 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002826/0.3105, allocations: 195.9 kB / 443.1 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004208/0.3148, allocations: 2.436 MB / 445.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.021e-05/0.3148, allocations: 8 kB / 445.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/0.315, allocations: 76 kB / 445.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.3151, allocations: 95.67 kB / 445.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003461/0.3186, allocations: 1.994 MB / 447.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0118/0.3304, allocations: 7.32 MB / 455 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.3325, allocations: 1.337 MB / 456.3 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.3342, allocations: 0.8715 MB / 457.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.3344, allocations: 126 kB / 457.3 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.3355, allocations: 0.6828 MB / 458 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 2.725e-06/0.3356, allocations: 0 / 458 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01671/0.3523, allocations: 7.338 MB / 465.3 MB, free: 9.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.3524, allocations: 175.2 kB / 465.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.3548, allocations: 1.427 MB / 466.9 MB, free: 7.738 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.355, allocations: 49.7 kB / 467 MB, free: 7.684 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008854/0.3558, allocations: 0.9367 MB / 467.9 MB, free: 6.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004468/0.3563, allocations: 425.9 kB / 468.3 MB, free: 6.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004153/0.3567, allocations: 251.4 kB / 468.6 MB, free: 6.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3569, allocations: 365.9 kB / 468.9 MB, free: 5.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.358, allocations: 0.6364 MB / 469.6 MB, free: 5.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.3593, allocations: 0.9975 MB / 470.6 MB, free: 3.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002381/0.3617, allocations: 1.703 MB / 472.3 MB, free: 2.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.3617, allocations: 0 / 472.3 MB, free: 2.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004117/0.3658, allocations: 2.348 MB / 474.6 MB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.3659, allocations: 8 kB / 474.6 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.3659, allocations: 8 kB / 474.6 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.3671, allocations: 0.4922 MB / 475.1 MB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.3683, allocations: 287.6 kB / 475.4 MB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007186/0.3755, allocations: 7.19 MB / 482.6 MB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.3769, allocations: 99.91 kB / 482.7 MB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/0.3771, allocations: 52 kB / 482.8 MB, free: 7.125 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.001235/0.3783, allocations: 0.6336 MB / 483.4 MB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000424/0.3788, allocations: 158 kB / 483.5 MB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003935/0.3827, allocations: 2.147 MB / 485.7 MB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.3828, allocations: 12 kB / 485.7 MB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/0.3828, allocations: 11.94 kB / 485.7 MB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.3828, allocations: 7.969 kB / 485.7 MB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008452/0.3913, allocations: 4.461 MB / 490.2 MB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/0.3913, allocations: 7.984 kB / 490.2 MB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008345/0.3921, allocations: 192.1 kB / 490.4 MB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/0.3936, allocations: 0.5309 MB / 490.9 MB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.3937, allocations: 35.97 kB / 490.9 MB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008504/0.4022, allocations: 8.729 MB / 499.7 MB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.4023, allocations: 7.938 kB / 499.7 MB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00529/0.4076, allocations: 3.084 MB / 0.491 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008317/0.4085, allocations: 363.1 kB / 0.4913 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003916/0.4089, allocations: 39.98 kB / 0.4914 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009727/0.4098, allocations: 67.92 kB / 0.4914 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/0.4101, allocations: 104.8 kB / 0.4915 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.229e-05/0.4102, allocations: 39.98 kB / 0.4916 GB, free: 1.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001629/0.4118, allocations: 0.9835 MB / 0.4925 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4118, allocations: 0 / 0.4925 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00173/0.4136, allocations: 452 kB / 0.493 GB, free: 224 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.00125/0.4148, allocations: 494.8 kB / 0.4934 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003725/0.4186, allocations: 2.262 MB / 0.4956 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.4186, allocations: 0 / 0.4956 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002377/0.421, allocations: 1.519 MB / 0.4971 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.4234, allocations: 439.9 kB / 0.4975 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007348/0.4308, allocations: 4.284 MB / 0.5017 GB, free: 7.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/0.4325, allocations: 1.686 MB / 0.5034 GB, free: 5.438 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/0.433, allocations: 115.4 kB / 0.5035 GB, free: 5.324 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.433, allocations: 0 / 0.5035 GB, free: 5.324 MB / 430.1 MB Notification: Performance of Templates: time 0.2444/0.6775, allocations: 73.86 MB / 0.5756 GB, free: 99.82 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/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