Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001522/0.001522, allocations: 204 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 226.5 MB / 245.3 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007284/0.0007283, allocations: 104.8 kB / 297.4 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002034/0.0002034, allocations: 8 kB / 357.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1891, allocations: 51.28 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2781/0.4673, allocations: 109.5 MB / 0.506 GB, free: 96.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.4675, allocations: 94.84 kB / 0.5061 GB, free: 96.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1043/0.5718, allocations: 45.61 MB / 0.5507 GB, free: 62.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5719, allocations: 0 / 0.5507 GB, free: 62.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001221/0.572, allocations: 55.92 kB / 0.5507 GB, free: 61.98 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.004155/0.5761, allocations: 2.317 MB / 0.553 GB, free: 59.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.5762, allocations: 8.031 kB / 0.553 GB, free: 59.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008123/0.577, allocations: 289.9 kB / 0.5533 GB, free: 59.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/0.5794, allocations: 1.494 MB / 0.5547 GB, free: 57.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.022e-05/0.5795, allocations: 144.1 kB / 0.5549 GB, free: 57.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002548/0.5798, allocations: 196.2 kB / 0.555 GB, free: 57.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003278/0.5831, allocations: 2.416 MB / 0.5574 GB, free: 54.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-05/0.5831, allocations: 11.91 kB / 0.5574 GB, free: 54.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/0.5833, allocations: 80 kB / 0.5575 GB, free: 54.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.679e-05/0.5834, allocations: 83.69 kB / 0.5576 GB, free: 54.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/0.5862, allocations: 1.888 MB / 0.5594 GB, free: 52.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00932/0.5955, allocations: 7.444 MB / 0.5667 GB, free: 45.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.5971, allocations: 1.394 MB / 0.568 GB, free: 43.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009358/0.5981, allocations: 0.7339 MB / 0.5688 GB, free: 43.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/0.5983, allocations: 142 kB / 0.5689 GB, free: 42.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008749/0.5992, allocations: 0.6944 MB / 0.5696 GB, free: 42.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=102): time 2.976e-06/0.5992, allocations: 0 / 0.5696 GB, free: 42.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.01576/0.615, allocations: 8.337 MB / 0.5777 GB, free: 33.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.6151, allocations: 167.5 kB / 0.5779 GB, free: 33.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.6168, allocations: 1.388 MB / 0.5792 GB, free: 32.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.682e-05/0.6169, allocations: 53.7 kB / 0.5793 GB, free: 32.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005869/0.6175, allocations: 0.925 MB / 0.5802 GB, free: 31.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.6178, allocations: 453.5 kB / 0.5806 GB, free: 30.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/0.6178, allocations: 32 kB / 0.5806 GB, free: 30.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.669e-05/0.6179, allocations: 369.8 kB / 0.581 GB, free: 30.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009158/0.6188, allocations: 0.691 MB / 0.5817 GB, free: 29.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.6199, allocations: 1.055 MB / 0.5827 GB, free: 28.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.6219, allocations: 1.821 MB / 0.5845 GB, free: 26.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.6219, allocations: 4 kB / 0.5845 GB, free: 26.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003697/0.6256, allocations: 2.52 MB / 0.5869 GB, free: 23.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.6257, allocations: 14.81 kB / 0.587 GB, free: 23.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.6257, allocations: 8 kB / 0.587 GB, free: 23.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.6272, allocations: 0.6514 MB / 0.5876 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.6282, allocations: 307.5 kB / 0.5879 GB, free: 22.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006115/0.6343, allocations: 6.491 MB / 0.5942 GB, free: 16.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.6357, allocations: 107.9 kB / 0.5943 GB, free: 16.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.6359, allocations: 59.98 kB / 0.5944 GB, free: 15.96 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.001095/0.637, allocations: 0.6417 MB / 0.595 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/0.6372, allocations: 162 kB / 0.5952 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003683/0.6409, allocations: 2.39 MB / 0.5975 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.6409, allocations: 19.88 kB / 0.5975 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.641, allocations: 8 kB / 0.5975 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.641, allocations: 7.969 kB / 0.5975 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006912/0.6479, allocations: 4.837 MB / 0.6023 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/0.6479, allocations: 4.172 kB / 0.6023 GB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000695/0.6486, allocations: 196 kB / 0.6025 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/0.6503, allocations: 0.7218 MB / 0.6032 GB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.886e-05/0.6504, allocations: 35.97 kB / 0.6032 GB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007527/0.658, allocations: 8.151 MB / 0.6112 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.658, allocations: 7.938 kB / 0.6112 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00549/0.6635, allocations: 3.385 MB / 0.6145 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008826/0.6644, allocations: 395 kB / 0.6148 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/0.6646, allocations: 28 kB / 0.6149 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007925/0.6655, allocations: 83.91 kB / 0.615 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002796/0.6657, allocations: 109 kB / 0.6151 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.822e-05/0.6658, allocations: 39.98 kB / 0.6151 GB, free: 10.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00142/0.6673, allocations: 0.96 MB / 0.616 GB, free: 9.141 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6673, allocations: 0 / 0.616 GB, free: 9.141 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001592/0.6689, allocations: 0.5195 MB / 0.6165 GB, free: 8.621 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.001232/0.6701, allocations: 0.6116 MB / 0.6171 GB, free: 8.145 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003962/0.6741, allocations: 2.383 MB / 0.6195 GB, free: 5.691 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.6741, allocations: 0 / 0.6195 GB, free: 5.691 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002569/0.6767, allocations: 1.603 MB / 0.621 GB, free: 4.031 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/0.6793, allocations: 402.5 kB / 0.6214 GB, free: 3.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007344/0.6867, allocations: 5.23 MB / 0.6265 GB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/0.6881, allocations: 1.706 MB / 0.6282 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005195/0.6887, allocations: 119.4 kB / 0.6283 GB, free: 12.49 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6887, allocations: 0 / 0.6283 GB, free: 12.49 MB / 410.7 MB Notification: Performance of Templates: time 0.2369/0.9256, allocations: 65.5 MB / 0.6923 GB, free: 119.9 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches