Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000952/0.000952, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 221.5 MB / 230.3 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008623/0.0008623, allocations: 91.61 kB / 281.2 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.513e-05/1.523e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08136/0.08139, allocations: 50.43 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3159/0.3973, allocations: 107.5 MB / 495 MB, free: 3.297 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.3976, allocations: 89.83 kB / 495.1 MB, free: 3.211 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1182/0.5158, allocations: 44.2 MB / 0.5266 GB, free: 6.742 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.5159, allocations: 0 / 0.5266 GB, free: 6.742 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001292/0.516, allocations: 52.12 kB / 0.5267 GB, free: 6.691 MB / 410.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.003973/0.52, allocations: 2.085 MB / 0.5287 GB, free: 4.555 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.52, allocations: 8.031 kB / 0.5287 GB, free: 4.547 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007352/0.5208, allocations: 280.9 kB / 0.529 GB, free: 4.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002539/0.5233, allocations: 1.428 MB / 0.5304 GB, free: 2.785 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.566e-05/0.5234, allocations: 64 kB / 0.5304 GB, free: 2.723 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/0.5237, allocations: 115.9 kB / 0.5305 GB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002783/0.5265, allocations: 1.733 MB / 0.5322 GB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003213/0.5297, allocations: 2.098 MB / 0.5343 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.031e-05/0.5297, allocations: 7.906 kB / 0.5343 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.5299, allocations: 0 / 0.5343 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.019e-05/0.53, allocations: 87.69 kB / 0.5344 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.5408, allocations: 7.073 MB / 0.5413 GB, free: 7.348 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.5424, allocations: 1.29 MB / 0.5425 GB, free: 5.992 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009503/0.5434, allocations: 0.692 MB / 0.5432 GB, free: 5.301 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/0.5437, allocations: 138.4 kB / 0.5434 GB, free: 5.148 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008941/0.5446, allocations: 0.6577 MB / 0.544 GB, free: 4.465 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 2.675e-06/0.5446, allocations: 0 / 0.544 GB, free: 4.465 MB / 426.7 MB Notification: Performance of matching and sorting (n=131): time 0.2085/0.7531, allocations: 5.813 MB / 0.5497 GB, free: 108.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.7531, allocations: 174.4 kB / 0.5498 GB, free: 108.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.7547, allocations: 1.014 MB / 0.5508 GB, free: 108.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.7548, allocations: 26.92 kB / 0.5509 GB, free: 108.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006972/0.7555, allocations: 0.9302 MB / 0.5518 GB, free: 108.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000365/0.7559, allocations: 437.3 kB / 0.5522 GB, free: 108 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.7559, allocations: 0 / 0.5522 GB, free: 108 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.756, allocations: 361 kB / 0.5525 GB, free: 107.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008867/0.7569, allocations: 0.6426 MB / 0.5532 GB, free: 107.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.758, allocations: 0.9916 MB / 0.5541 GB, free: 107.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.7591, allocations: 0.7953 MB / 0.5549 GB, free: 107.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.7591, allocations: 5.312 kB / 0.5549 GB, free: 107.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004007/0.7632, allocations: 2.313 MB / 0.5572 GB, free: 107.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.7632, allocations: 10.23 kB / 0.5572 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.7632, allocations: 10.83 kB / 0.5572 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.7649, allocations: 0.6452 MB / 0.5578 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.766, allocations: 303.4 kB / 0.5581 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006991/0.773, allocations: 6.195 MB / 0.5642 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.7744, allocations: 75.92 kB / 0.5642 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.7746, allocations: 58.27 kB / 0.5643 GB, free: 104.6 MB / 426.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 () * 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.0002793/0.7749, allocations: 141.7 kB / 0.5644 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.7751, allocations: 142.6 kB / 0.5646 GB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004034/0.7792, allocations: 2.224 MB / 0.5667 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.7792, allocations: 12.94 kB / 0.5667 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.7792, allocations: 7.188 kB / 0.5667 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/0.7792, allocations: 7.219 kB / 0.5667 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007311/0.7866, allocations: 4.422 MB / 0.5711 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.7866, allocations: 2.719 kB / 0.5711 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008066/0.7874, allocations: 198.5 kB / 0.5713 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001848/0.7893, allocations: 0.7092 MB / 0.572 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-05/0.7894, allocations: 15.67 kB / 0.572 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006816/0.7962, allocations: 7.805 MB / 0.5796 GB, free: 98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.84e-06/0.7962, allocations: 3.812 kB / 0.5796 GB, free: 98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004584/0.8008, allocations: 3.308 MB / 0.5828 GB, free: 96.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007946/0.8017, allocations: 380.2 kB / 0.5832 GB, free: 96.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.8019, allocations: 13.22 kB / 0.5832 GB, free: 96.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007878/0.8027, allocations: 57.2 kB / 0.5833 GB, free: 96.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/0.8029, allocations: 110.1 kB / 0.5834 GB, free: 96.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.703e-05/0.803, allocations: 42.48 kB / 0.5834 GB, free: 96.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009309/0.8039, allocations: 0.7591 MB / 0.5841 GB, free: 95.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.804, allocations: 0 / 0.5841 GB, free: 95.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001524/0.8055, allocations: 451.7 kB / 0.5846 GB, free: 95.9 MB / 426.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) * 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.001116/0.8066, allocations: 0.5264 MB / 0.5851 GB, free: 95.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00304/0.8097, allocations: 2.23 MB / 0.5873 GB, free: 94.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.8097, allocations: 6.141 kB / 0.5873 GB, free: 94.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001947/0.8116, allocations: 1.508 MB / 0.5887 GB, free: 93.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.8132, allocations: 298.9 kB / 0.589 GB, free: 93.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/0.8181, allocations: 3.428 MB / 0.5924 GB, free: 92.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.8191, allocations: 1.753 MB / 0.5941 GB, free: 91.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001061/0.8202, allocations: 303 kB / 0.5944 GB, free: 91.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.8205, allocations: 109.9 kB / 0.5945 GB, free: 91.47 MB / 426.7 MB Notification: Performance of SimCode: time 1.243e-06/0.8205, allocations: 0 / 0.5945 GB, free: 91.47 MB / 426.7 MB Notification: Performance of Templates: time 0.03099/0.8515, allocations: 22.35 MB / 0.6163 GB, free: 87.92 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches