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.001566/0.001566, allocations: 105.5 kB / 17.59 MB, free: 5.445 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.001829/0.001829, allocations: 187.6 kB / 18.51 MB, free: 4.527 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.399/1.399, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 55.47 kB / 301.3 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09356/0.09469, allocations: 49.45 MB / 350.7 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01167/0.1064, allocations: 9.466 MB / 360.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007237/0.1137, allocations: 3.451 MB / 363.7 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/0.1156, allocations: 51.81 kB / 363.7 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002546/0.1182, allocations: 0.7223 MB / 364.4 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003097/0.1214, allocations: 0.8078 MB / 365.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.123, allocations: 473.7 kB / 365.7 MB, free: 5.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003499/0.1265, allocations: 2.401 MB / 368.1 MB, free: 2.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002883/0.1294, allocations: 1.774 MB / 369.9 MB, free: 1.176 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.1315, allocations: 1.094 MB / 371 MB, free: 80 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1774/0.3089, allocations: 1.381 MB / 372.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008041/0.3097, allocations: 280.5 kB / 372.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.311, allocations: 404.3 kB / 373 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009864/0.312, allocations: 0.804 MB / 373.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002151/0.3141, allocations: 1.278 MB / 375.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005327/0.3195, allocations: 3.686 MB / 378.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3195, allocations: 0 / 378.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3195, allocations: 1.344 kB / 378.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001129/0.3196, allocations: 0.5312 kB / 378.8 MB, free: 11.8 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.00682/0.3265, allocations: 2.668 MB / 381.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3265, allocations: 11.09 kB / 381.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009517/0.3275, allocations: 263.4 kB / 381.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.3299, allocations: 1.348 MB / 383.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.33, allocations: 144.8 kB / 383.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003343/0.3303, allocations: 189.1 kB / 383.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004292/0.3346, allocations: 2.441 MB / 385.8 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-05/0.3347, allocations: 7.219 kB / 385.8 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.3349, allocations: 75.97 kB / 385.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.335, allocations: 97.77 kB / 386 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003582/0.3386, allocations: 1.989 MB / 388 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01094/0.3496, allocations: 7.402 MB / 395.4 MB, free: 2.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.3513, allocations: 1.355 MB / 396.8 MB, free: 1.969 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.3526, allocations: 0.8847 MB / 397.6 MB, free: 1.566 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/0.3529, allocations: 123.9 kB / 397.8 MB, free: 1.461 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008526/0.3537, allocations: 0.6823 MB / 398.4 MB, free: 1.031 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 3.016e-06/0.3538, allocations: 0 / 398.4 MB, free: 1.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.01614/0.3699, allocations: 7.316 MB / 405.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.3701, allocations: 175.1 kB / 405.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.3724, allocations: 1.411 MB / 407.3 MB, free: 9.637 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002134/0.3726, allocations: 49.7 kB / 407.4 MB, free: 9.582 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.3736, allocations: 0.9329 MB / 408.3 MB, free: 8.641 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004521/0.3741, allocations: 425.7 kB / 408.7 MB, free: 8.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004102/0.3745, allocations: 246.6 kB / 409 MB, free: 7.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3746, allocations: 369.9 kB / 409.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.3757, allocations: 0.6345 MB / 410 MB, free: 6.984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.3771, allocations: 0.9925 MB / 411 MB, free: 5.848 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002328/0.3794, allocations: 1.714 MB / 412.7 MB, free: 4.039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3794, allocations: 6.812 kB / 412.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00406/0.3835, allocations: 2.336 MB / 415 MB, free: 1.723 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.3835, allocations: 17.16 kB / 415 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.3836, allocations: 8 kB / 415.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.3848, allocations: 499.5 kB / 415.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.3859, allocations: 296.6 kB / 415.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007134/0.393, allocations: 7.194 MB / 423 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.3948, allocations: 87.83 kB / 423.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.3949, allocations: 55.98 kB / 423.2 MB, free: 9.207 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.001239/0.3962, allocations: 0.6391 MB / 423.8 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003404/0.3965, allocations: 154.1 kB / 424 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/0.4001, allocations: 2.151 MB / 426.1 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.4002, allocations: 12 kB / 426.1 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.4002, allocations: 4 kB / 426.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.4002, allocations: 3.984 kB / 426.1 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007695/0.4079, allocations: 4.473 MB / 430.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.408, allocations: 4 kB / 430.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008197/0.4088, allocations: 194 kB / 430.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/0.4102, allocations: 0.5386 MB / 431.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.4103, allocations: 35.98 kB / 431.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008574/0.4189, allocations: 8.751 MB / 440.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.419, allocations: 0 / 440.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005376/0.4244, allocations: 3.083 MB / 443.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.4255, allocations: 371.1 kB / 443.6 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005563/0.4261, allocations: 28 kB / 443.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.4273, allocations: 67.92 kB / 443.7 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/0.4276, allocations: 106.1 kB / 443.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.24e-05/0.4277, allocations: 35.98 kB / 443.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002025/0.4297, allocations: 0.9792 MB / 444.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4297, allocations: 0 / 444.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002329/0.4321, allocations: 448 kB / 445.2 MB, free: 2.48 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.001486/0.4336, allocations: 0.4961 MB / 445.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005336/0.4389, allocations: 2.687 MB / 448.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.439, allocations: 0 / 448.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002461/0.4414, allocations: 1.52 MB / 449.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/0.4443, allocations: 423.5 kB / 450.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008884/0.4532, allocations: 4.312 MB / 454.6 MB, free: 9.102 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001886/0.4552, allocations: 1.69 MB / 456.3 MB, free: 7.379 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006136/0.4558, allocations: 115.4 kB / 456.4 MB, free: 7.27 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4558, allocations: 0 / 456.4 MB, free: 7.27 MB / 366.1 MB Notification: Performance of Templates: time 0.08225/0.5381, allocations: 73.33 MB / 0.5174 GB, free: 13.99 MB / 446.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