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.001315/0.001315, allocations: 117.8 kB / 17.7 MB, free: 5.305 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.001111/0.001111, allocations: 191 kB / 18.63 MB, free: 4.375 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.361/1.361, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001157, allocations: 43.78 kB / 302.1 MB, free: 5.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1172, allocations: 49.44 MB / 351.5 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01222/0.1295, allocations: 9.462 MB / 361 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007342/0.1369, allocations: 3.467 MB / 364.4 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.1382, allocations: 47.81 kB / 364.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.1399, allocations: 0.7262 MB / 365.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.1422, allocations: 0.8039 MB / 366 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.1434, allocations: 475 kB / 366.5 MB, free: 4.707 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002641/0.1461, allocations: 2.412 MB / 368.9 MB, free: 2.281 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.1481, allocations: 1.778 MB / 370.7 MB, free: 468 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1873/0.3354, allocations: 1.089 MB / 371.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00227/0.3377, allocations: 1.382 MB / 373.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004947/0.3382, allocations: 278.9 kB / 373.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009563/0.3392, allocations: 404 kB / 373.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000722/0.3399, allocations: 0.8047 MB / 374.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.3411, allocations: 1.278 MB / 375.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003849/0.3449, allocations: 3.733 MB / 379.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.345, allocations: 3.875 kB / 379.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.345, allocations: 0.75 kB / 379.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.425e-05/0.3451, allocations: 0 / 379.6 MB, free: 11.49 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.005873/0.351, allocations: 2.666 MB / 382.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.351, allocations: 10.16 kB / 382.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006483/0.3517, allocations: 265.3 kB / 382.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.354, allocations: 1.385 MB / 383.9 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.3542, allocations: 151.1 kB / 384.1 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003008/0.3545, allocations: 187.6 kB / 384.3 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003674/0.3581, allocations: 2.437 MB / 386.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.389e-05/0.3582, allocations: 13.62 kB / 386.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.3584, allocations: 76.28 kB / 386.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/0.3585, allocations: 99.08 kB / 386.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002941/0.3615, allocations: 1.984 MB / 388.9 MB, free: 7.613 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009148/0.3706, allocations: 7.308 MB / 396.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.3723, allocations: 1.354 MB / 397.5 MB, free: 1.605 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.3735, allocations: 0.8836 MB / 398.4 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.3737, allocations: 123.8 kB / 398.5 MB, free: 1.098 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008426/0.3746, allocations: 0.6818 MB / 399.2 MB, free: 0.668 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 2.665e-06/0.3746, allocations: 0 / 399.2 MB, free: 0.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.01421/0.3888, allocations: 7.319 MB / 406.5 MB, free: 10.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.359e-05/0.3889, allocations: 175.2 kB / 406.7 MB, free: 10.19 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/0.3909, allocations: 1.415 MB / 408.1 MB, free: 8.758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.241e-05/0.391, allocations: 49.7 kB / 408.2 MB, free: 8.703 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008392/0.3918, allocations: 0.9346 MB / 409.1 MB, free: 7.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/0.3922, allocations: 424.8 kB / 409.5 MB, free: 7.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003886/0.3926, allocations: 243.5 kB / 409.8 MB, free: 7.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3927, allocations: 357.9 kB / 410.1 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.3938, allocations: 0.6442 MB / 410.8 MB, free: 6.105 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.395, allocations: 0.998 MB / 411.8 MB, free: 4.969 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/0.3973, allocations: 1.706 MB / 413.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.3973, allocations: 4 kB / 413.5 MB, free: 3.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004157/0.4015, allocations: 2.34 MB / 415.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.4015, allocations: 12.25 kB / 415.8 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.4016, allocations: 12 kB / 415.8 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.4027, allocations: 0.4895 MB / 416.3 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.4038, allocations: 298.2 kB / 416.6 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007266/0.4111, allocations: 7.176 MB / 423.8 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.4127, allocations: 91.83 kB / 423.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.4129, allocations: 55.98 kB / 423.9 MB, free: 8.344 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.001402/0.4143, allocations: 0.6417 MB / 424.6 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003581/0.4146, allocations: 154.1 kB / 424.7 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00381/0.4185, allocations: 2.147 MB / 426.9 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4185, allocations: 12 kB / 426.9 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.4185, allocations: 11.98 kB / 426.9 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.4185, allocations: 3.984 kB / 426.9 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007606/0.4261, allocations: 4.441 MB / 431.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.4262, allocations: 4 kB / 431.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/0.427, allocations: 187 kB / 431.5 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/0.4283, allocations: 0.5485 MB / 432.1 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-05/0.4284, allocations: 35.97 kB / 432.1 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008264/0.4367, allocations: 8.73 MB / 440.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.4367, allocations: 7.469 kB / 440.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005039/0.4418, allocations: 3.087 MB / 443.9 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.4428, allocations: 367.1 kB / 444.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.4431, allocations: 28 kB / 444.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008013/0.4439, allocations: 75.92 kB / 444.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/0.4442, allocations: 99.84 kB / 444.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.433e-05/0.4442, allocations: 39.98 kB / 444.5 MB, free: 3.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001761/0.446, allocations: 0.9831 MB / 445.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.446, allocations: 0 / 445.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001871/0.4479, allocations: 448 kB / 446 MB, free: 1.648 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.001172/0.4491, allocations: 0.4928 MB / 446.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003481/0.4526, allocations: 2.257 MB / 448.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4526, allocations: 0 / 448.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002154/0.4548, allocations: 1.519 MB / 450.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.4565, allocations: 419.6 kB / 450.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00654/0.463, allocations: 4.216 MB / 454.8 MB, free: 8.801 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.4644, allocations: 1.705 MB / 456.6 MB, free: 7.066 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009474/0.4654, allocations: 321 kB / 456.9 MB, free: 6.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.4657, allocations: 111.4 kB / 457 MB, free: 6.641 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4657, allocations: 0 / 457 MB, free: 6.641 MB / 366.1 MB Notification: Performance of Templates: time 0.04103/0.5067, allocations: 24.66 MB / 481.6 MB, free: 14.3 MB / 398.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 -s gbode -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