Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001297/0.001297, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.443/1.443, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 64.73 kB / 307.9 MB, free: 480 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.107, allocations: 50.54 MB / 358.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01247/0.1195, allocations: 9.512 MB / 368 MB, free: 4.348 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007269/0.1268, allocations: 3.623 MB / 371.6 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.1282, allocations: 47.81 kB / 371.6 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2408/0.369, allocations: 0.7305 MB / 372.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004803/0.3738, allocations: 0.8472 MB / 373.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.3759, allocations: 450.8 kB / 373.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004932/0.3808, allocations: 2.411 MB / 376.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003519/0.3844, allocations: 1.774 MB / 377.8 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002995/0.3874, allocations: 1.1 MB / 378.9 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003904/0.3914, allocations: 1.387 MB / 380.3 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.3926, allocations: 283.1 kB / 380.6 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.3948, allocations: 421.3 kB / 381 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001438/0.3962, allocations: 0.7945 MB / 381.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003249/0.3995, allocations: 1.29 MB / 383.1 MB, free: 8.223 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007984/0.4075, allocations: 3.71 MB / 386.8 MB, free: 6.973 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.4076, allocations: 1.156 kB / 386.8 MB, free: 6.973 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4076, allocations: 0 / 386.8 MB, free: 6.973 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001359/0.4077, allocations: 0 / 386.8 MB, free: 6.973 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.01167/0.4194, allocations: 2.684 MB / 389.5 MB, free: 5.367 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/0.4195, allocations: 9.625 kB / 389.5 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.4214, allocations: 285.2 kB / 389.8 MB, free: 5.227 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004087/0.4255, allocations: 1.344 MB / 391.1 MB, free: 4.254 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.4258, allocations: 143.9 kB / 391.2 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006722/0.4265, allocations: 194.1 kB / 391.4 MB, free: 4.121 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006863/0.4334, allocations: 2.436 MB / 393.9 MB, free: 2.703 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.535e-05/0.4335, allocations: 2.75 kB / 393.9 MB, free: 2.703 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002746/0.4338, allocations: 80.25 kB / 394 MB, free: 2.645 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001649/0.434, allocations: 95.33 kB / 394 MB, free: 2.629 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00598/0.4399, allocations: 1.989 MB / 396 MB, free: 1.617 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02095/0.4609, allocations: 7.4 MB / 403.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003696/0.4647, allocations: 1.361 MB / 404.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003001/0.4677, allocations: 0.8883 MB / 405.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003951/0.4681, allocations: 114.1 kB / 405.8 MB, free: 9.477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001953/0.4701, allocations: 0.6916 MB / 406.5 MB, free: 8.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 5.29e-06/0.4701, allocations: 4 kB / 406.5 MB, free: 8.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.01842/0.4886, allocations: 7.336 MB / 413.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.4887, allocations: 175.2 kB / 414 MB, free: 1.039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002367/0.4911, allocations: 1.427 MB / 415.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000179/0.4913, allocations: 45.7 kB / 415.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009607/0.4923, allocations: 0.9396 MB / 416.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000488/0.4928, allocations: 420.4 kB / 416.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004406/0.4932, allocations: 247.4 kB / 417.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4934, allocations: 361.9 kB / 417.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.4945, allocations: 0.6364 MB / 418.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.4959, allocations: 1.009 MB / 419.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002559/0.4985, allocations: 1.702 MB / 420.8 MB, free: 9.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.4985, allocations: 5.312 kB / 420.8 MB, free: 9.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004412/0.5029, allocations: 2.336 MB / 423.1 MB, free: 7.574 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.503, allocations: 12.19 kB / 423.1 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.503, allocations: 12 kB / 423.1 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.5043, allocations: 0.4951 MB / 423.6 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.5055, allocations: 291.6 kB / 423.9 MB, free: 6.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007933/0.5134, allocations: 7.192 MB / 431.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.515, allocations: 95.97 kB / 431.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.5152, allocations: 52 kB / 431.2 MB, free: 15.02 MB / 350.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.001381/0.5166, allocations: 0.6417 MB / 431.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004012/0.517, allocations: 158 kB / 432 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004208/0.5212, allocations: 2.147 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.5213, allocations: 12 kB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.5213, allocations: 4 kB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/0.5213, allocations: 11.91 kB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009047/0.5304, allocations: 4.469 MB / 438.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.5304, allocations: 8.031 kB / 438.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008606/0.5313, allocations: 191.7 kB / 438.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001587/0.5329, allocations: 0.5377 MB / 439.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/0.5331, allocations: 35.98 kB / 439.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009701/0.5428, allocations: 8.751 MB / 448.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/0.5428, allocations: 4 kB / 448.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005849/0.5487, allocations: 3.081 MB / 451.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.5498, allocations: 371.1 kB / 451.7 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005157/0.5503, allocations: 28 kB / 451.7 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.5515, allocations: 71.92 kB / 451.8 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003024/0.5518, allocations: 96.75 kB / 451.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.5519, allocations: 39.98 kB / 451.9 MB, free: 9.547 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002042/0.5539, allocations: 0.9913 MB / 452.9 MB, free: 8.555 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.554, allocations: 0 / 452.9 MB, free: 8.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002189/0.5562, allocations: 444 kB / 453.3 MB, free: 8.121 MB / 366.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.001916/0.5581, allocations: 0.4971 MB / 453.8 MB, free: 7.785 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005442/0.5635, allocations: 2.692 MB / 456.5 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.5636, allocations: 0 / 456.5 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002653/0.5662, allocations: 1.515 MB / 458 MB, free: 3.422 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/0.569, allocations: 422.9 kB / 458.4 MB, free: 3.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008881/0.5779, allocations: 4.341 MB / 462.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/0.5798, allocations: 1.69 MB / 464.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005772/0.5804, allocations: 111.4 kB / 464.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5805, allocations: 0 / 464.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of Templates: time 0.09401/0.6745, allocations: 73.65 MB / 0.5256 GB, free: 3.152 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches