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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 108.5 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002394/0.002394, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.948/1.948, allocations: 222.9 MB / 241.7 MB, free: 15.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 47.06 kB / 300.6 MB, free: 6.254 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1563, allocations: 49.46 MB / 350.1 MB, free: 4.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01645/0.1728, allocations: 9.395 MB / 359.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.1834, allocations: 3.432 MB / 362.9 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002377/0.1858, allocations: 43.81 kB / 362.9 MB, free: 7.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003288/0.1892, allocations: 0.6452 MB / 363.6 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004015/0.1933, allocations: 0.7189 MB / 364.3 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.1956, allocations: 415.4 kB / 364.7 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005757/0.2014, allocations: 2.736 MB / 367.4 MB, free: 3.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003494/0.2049, allocations: 1.481 MB / 368.9 MB, free: 1.809 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00308/0.208, allocations: 0.9689 MB / 369.9 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2621/0.4702, allocations: 1.335 MB / 371.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00153/0.4718, allocations: 173.6 kB / 371.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.474, allocations: 313.1 kB / 371.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001716/0.4758, allocations: 0.6938 MB / 372.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003781/0.4796, allocations: 1.165 MB / 373.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007057/0.4867, allocations: 3.064 MB / 376.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.173e-05/0.4868, allocations: 1.375 kB / 376.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.4868, allocations: 2.094 kB / 376.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002096/0.487, allocations: 0 / 376.6 MB, free: 12.28 MB / 302.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.01292/0.4999, allocations: 2.662 MB / 379.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.561e-05/0.5, allocations: 17.12 kB / 379.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.5015, allocations: 269.2 kB / 379.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00442/0.5059, allocations: 1.344 MB / 380.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.5062, allocations: 148 kB / 381.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007768/0.507, allocations: 190.1 kB / 381.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007163/0.5142, allocations: 2.437 MB / 383.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-05/0.5143, allocations: 13.58 kB / 383.7 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000271/0.5146, allocations: 73.44 kB / 383.8 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001651/0.5148, allocations: 94.92 kB / 383.9 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005933/0.5207, allocations: 1.991 MB / 385.9 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01833/0.5391, allocations: 7.387 MB / 393.2 MB, free: 3.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00268/0.5418, allocations: 1.355 MB / 394.6 MB, free: 2.957 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002139/0.544, allocations: 0.8864 MB / 395.5 MB, free: 2.555 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.5443, allocations: 123.5 kB / 395.6 MB, free: 2.449 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00135/0.5457, allocations: 0.6828 MB / 396.3 MB, free: 2.016 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 4.949e-06/0.5457, allocations: 0 / 396.3 MB, free: 2.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.02201/0.5678, allocations: 7.319 MB / 403.6 MB, free: 13.28 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.5679, allocations: 179.2 kB / 403.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003507/0.5714, allocations: 1.415 MB / 405.2 MB, free: 11.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003535/0.5718, allocations: 45.7 kB / 405.2 MB, free: 11.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.5731, allocations: 0.9349 MB / 406.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000711/0.5738, allocations: 423.7 kB / 406.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005949/0.5744, allocations: 247.5 kB / 406.8 MB, free: 9.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.5746, allocations: 357.9 kB / 407.2 MB, free: 9.629 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.5761, allocations: 0.6403 MB / 407.8 MB, free: 8.988 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.578, allocations: 0.9965 MB / 408.8 MB, free: 7.852 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003621/0.5817, allocations: 1.712 MB / 410.5 MB, free: 6.043 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/0.5817, allocations: 4 kB / 410.5 MB, free: 6.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005959/0.5877, allocations: 2.34 MB / 412.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.5878, allocations: 8 kB / 412.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.5878, allocations: 10.81 kB / 412.9 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/0.5895, allocations: 497.9 kB / 413.4 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/0.5912, allocations: 296.1 kB / 413.7 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009743/0.601, allocations: 6.595 MB / 420.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/0.6033, allocations: 87.91 kB / 420.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002444/0.6036, allocations: 55.98 kB / 420.4 MB, free: 11.83 MB / 334.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.002132/0.6057, allocations: 0.6323 MB / 421 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006263/0.6064, allocations: 158.1 kB / 421.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005363/0.6118, allocations: 2.155 MB / 423.3 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.889e-05/0.6118, allocations: 12 kB / 423.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.6118, allocations: 4 kB / 423.4 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-05/0.6119, allocations: 7.969 kB / 423.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/0.6234, allocations: 4.469 MB / 427.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/0.6235, allocations: 4 kB / 427.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.6247, allocations: 190.8 kB / 428 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002095/0.6268, allocations: 0.5343 MB / 428.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/0.627, allocations: 35.97 kB / 428.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/0.6388, allocations: 8.021 MB / 436.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.6388, allocations: 4 kB / 436.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007514/0.6464, allocations: 3.078 MB / 439.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/0.6478, allocations: 371 kB / 440.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004874/0.6484, allocations: 35.98 kB / 440.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.6496, allocations: 67.94 kB / 440.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003436/0.65, allocations: 104.1 kB / 440.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.6501, allocations: 35.98 kB / 440.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002145/0.6522, allocations: 0.9753 MB / 441.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6523, allocations: 7.75 kB / 441.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002772/0.655, allocations: 452 kB / 441.7 MB, free: 5.848 MB / 350.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.001754/0.6568, allocations: 0.4977 MB / 442.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005449/0.6623, allocations: 2.24 MB / 444.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/0.6623, allocations: 8.062 kB / 444.5 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003341/0.6657, allocations: 1.517 MB / 446 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003546/0.6693, allocations: 400.2 kB / 446.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.6811, allocations: 5.155 MB / 451.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00197/0.6832, allocations: 1.678 MB / 453.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007828/0.684, allocations: 123.4 kB / 453.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of SimCode: time 1.163e-06/0.684, allocations: 0 / 453.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of Templates: time 0.1193/0.8033, allocations: 73.31 MB / 0.5143 GB, free: 1.008 MB / 430.1 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/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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches