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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.00166/0.00166, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 226.5 MB / 245.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007542/0.0007542, allocations: 106.2 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002475/0.0002478, allocations: 4 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2212, allocations: 51.29 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3032/0.5244, allocations: 109.5 MB / 0.5067 GB, free: 96.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.5247, allocations: 93.38 kB / 0.5068 GB, free: 96.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1086/0.6333, allocations: 45.61 MB / 0.5514 GB, free: 61.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.447e-06/0.6334, allocations: 4 kB / 0.5514 GB, free: 61.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002214/0.6336, allocations: 47.94 kB / 0.5514 GB, free: 61.86 MB / 378.7 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.005733/0.6394, allocations: 2.321 MB / 0.5537 GB, free: 59.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.6394, allocations: 8.031 kB / 0.5537 GB, free: 59.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.6408, allocations: 281.9 kB / 0.5539 GB, free: 59.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003268/0.644, allocations: 1.502 MB / 0.5554 GB, free: 57.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.6442, allocations: 140.1 kB / 0.5555 GB, free: 57.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004973/0.6447, allocations: 192.3 kB / 0.5557 GB, free: 57.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003452/0.6481, allocations: 2.413 MB / 0.5581 GB, free: 54.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.564e-05/0.6482, allocations: 11.89 kB / 0.5581 GB, free: 54.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.6484, allocations: 79.98 kB / 0.5582 GB, free: 54.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.52e-05/0.6485, allocations: 87.69 kB / 0.5583 GB, free: 54.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002643/0.6511, allocations: 1.888 MB / 0.5601 GB, free: 52.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009009/0.6601, allocations: 7.456 MB / 0.5674 GB, free: 45.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.6617, allocations: 1.386 MB / 0.5687 GB, free: 43.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009073/0.6627, allocations: 0.7339 MB / 0.5695 GB, free: 42.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/0.6629, allocations: 138 kB / 0.5696 GB, free: 42.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008164/0.6637, allocations: 0.6944 MB / 0.5703 GB, free: 42.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=102): time 2.906e-06/0.6638, allocations: 4 kB / 0.5703 GB, free: 42.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.01583/0.6796, allocations: 8.329 MB / 0.5784 GB, free: 33.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.6797, allocations: 175.5 kB / 0.5786 GB, free: 33.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/0.6814, allocations: 1.384 MB / 0.5799 GB, free: 31.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.194e-05/0.6815, allocations: 57.69 kB / 0.58 GB, free: 31.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006505/0.6822, allocations: 0.9328 MB / 0.5809 GB, free: 30.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.6824, allocations: 449.5 kB / 0.5813 GB, free: 30.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.6825, allocations: 32 kB / 0.5813 GB, free: 30.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.6826, allocations: 369.8 kB / 0.5817 GB, free: 30.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008488/0.6835, allocations: 0.6832 MB / 0.5824 GB, free: 29.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.6845, allocations: 1.063 MB / 0.5834 GB, free: 28.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/0.6864, allocations: 1.817 MB / 0.5852 GB, free: 26.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.6865, allocations: 4 kB / 0.5852 GB, free: 26.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003456/0.6899, allocations: 2.517 MB / 0.5876 GB, free: 23.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.69, allocations: 8 kB / 0.5876 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.69, allocations: 12 kB / 0.5877 GB, free: 23.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/0.6913, allocations: 0.6632 MB / 0.5883 GB, free: 23.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009563/0.6923, allocations: 303.6 kB / 0.5886 GB, free: 22.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005852/0.6982, allocations: 6.483 MB / 0.5949 GB, free: 16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.6995, allocations: 112.2 kB / 0.595 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.6997, allocations: 56 kB / 0.5951 GB, free: 15.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0011/0.7008, allocations: 0.6402 MB / 0.5957 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.701, allocations: 174 kB / 0.5959 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/0.7045, allocations: 2.39 MB / 0.5982 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.7045, allocations: 19.94 kB / 0.5982 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.7045, allocations: 4 kB / 0.5982 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.7045, allocations: 7.984 kB / 0.5982 GB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006545/0.7111, allocations: 4.837 MB / 0.603 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.7111, allocations: 8.031 kB / 0.603 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006765/0.7118, allocations: 187.7 kB / 0.6032 GB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001595/0.7134, allocations: 0.7257 MB / 0.6039 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.433e-05/0.7135, allocations: 35.98 kB / 0.6039 GB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0071/0.7206, allocations: 8.151 MB / 0.6119 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7206, allocations: 0 / 0.6119 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005476/0.7261, allocations: 3.377 MB / 0.6152 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009749/0.7271, allocations: 394.9 kB / 0.6155 GB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.7274, allocations: 36.12 kB / 0.6156 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008055/0.7282, allocations: 83.92 kB / 0.6156 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002872/0.7285, allocations: 113 kB / 0.6158 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.495e-05/0.7286, allocations: 35.98 kB / 0.6158 GB, free: 9.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001529/0.7301, allocations: 0.9561 MB / 0.6167 GB, free: 9.023 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7301, allocations: 0 / 0.6167 GB, free: 9.023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001843/0.7319, allocations: 0.5234 MB / 0.6172 GB, free: 8.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,76.0%) 23,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00134/0.7333, allocations: 0.6256 MB / 0.6178 GB, free: 8.008 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003821/0.7371, allocations: 2.378 MB / 0.6202 GB, free: 5.559 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7372, allocations: 1.938 kB / 0.6202 GB, free: 5.559 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002511/0.7397, allocations: 1.61 MB / 0.6217 GB, free: 3.891 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.742, allocations: 395.5 kB / 0.6221 GB, free: 3.516 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007201/0.7492, allocations: 5.161 MB / 0.6272 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/0.7507, allocations: 1.729 MB / 0.6288 GB, free: 12.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00109/0.7518, allocations: 317.3 kB / 0.6291 GB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.7521, allocations: 115.4 kB / 0.6293 GB, free: 12.1 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.7521, allocations: 4 kB / 0.6293 GB, free: 12.1 MB / 410.7 MB Notification: Performance of Templates: time 0.04711/0.7992, allocations: 27.73 MB / 0.6563 GB, free: 0.5547 MB / 426.7 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","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches