Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.00186/0.001861, allocations: 187 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 55.92 kB / 328.5 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.115, allocations: 46.61 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.2954/0.4104, allocations: 9.411 MB / 384.6 MB, free: 8.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009/0.4195, allocations: 3.398 MB / 388 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/0.4214, allocations: 42.78 kB / 388 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002612/0.4241, allocations: 0.7305 MB / 388.7 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0038/0.4279, allocations: 0.8083 MB / 389.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.4298, allocations: 459 kB / 390 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003735/0.4336, allocations: 2.421 MB / 392.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002199/0.4358, allocations: 1.739 MB / 394.2 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.438, allocations: 1.1 MB / 395.3 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.4402, allocations: 1.379 MB / 396.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004143/0.4406, allocations: 279.7 kB / 396.9 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000903/0.4415, allocations: 409.5 kB / 397.3 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007801/0.4423, allocations: 0.8071 MB / 398.1 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.4437, allocations: 1.277 MB / 399.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004528/0.4482, allocations: 3.734 MB / 403.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.4482, allocations: 0 / 403.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4482, allocations: 1.156 kB / 403.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.996e-05/0.4483, allocations: 0 / 403.1 MB, free: 14.94 MB / 334.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.006574/0.4549, allocations: 2.669 MB / 405.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.455, allocations: 8.875 kB / 405.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008278/0.4558, allocations: 270.8 kB / 406.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.4582, allocations: 1.312 MB / 407.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.4583, allocations: 139.7 kB / 407.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/0.4586, allocations: 190.9 kB / 407.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004331/0.463, allocations: 2.439 MB / 410.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-05/0.463, allocations: 7.906 kB / 410.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/0.4632, allocations: 71.59 kB / 410.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001262/0.4634, allocations: 94.77 kB / 410.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003415/0.4668, allocations: 1.987 MB / 412.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0117/0.4785, allocations: 7.313 MB / 419.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.4805, allocations: 1.348 MB / 421 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.482, allocations: 0.8776 MB / 421.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.4823, allocations: 122.1 kB / 422 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/0.4834, allocations: 0.6837 MB / 422.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.555e-06/0.4834, allocations: 0 / 422.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01642/0.4998, allocations: 7.353 MB / 430 MB, free: 8.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.5, allocations: 200.8 kB / 430.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.5022, allocations: 1.418 MB / 431.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001415/0.5024, allocations: 45.7 kB / 431.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009432/0.5033, allocations: 0.9366 MB / 432.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004125/0.5038, allocations: 421.9 kB / 433 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003966/0.5042, allocations: 247.4 kB / 433.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.5043, allocations: 357.9 kB / 433.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.5054, allocations: 0.6286 MB / 434.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.5066, allocations: 1.007 MB / 435.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/0.5091, allocations: 1.708 MB / 436.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.5091, allocations: 8 kB / 436.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004309/0.5134, allocations: 2.332 MB / 439.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.5135, allocations: 12 kB / 439.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.5135, allocations: 8 kB / 439.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.5148, allocations: 0.4923 MB / 439.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.5159, allocations: 287.6 kB / 440.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007874/0.5238, allocations: 7.179 MB / 447.2 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.5255, allocations: 107.7 kB / 447.4 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002478/0.5258, allocations: 55.98 kB / 447.4 MB, free: 5.895 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.001774/0.5276, allocations: 0.634 MB / 448 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000725/0.5283, allocations: 154.1 kB / 448.2 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003965/0.5323, allocations: 2.135 MB / 450.3 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.5323, allocations: 12 kB / 450.3 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.5324, allocations: 4 kB / 450.3 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.5324, allocations: 15.86 kB / 450.4 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008072/0.5405, allocations: 4.536 MB / 454.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.5405, allocations: 4 kB / 454.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007605/0.5413, allocations: 191.7 kB / 455.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001348/0.5426, allocations: 0.5352 MB / 455.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.999e-05/0.5427, allocations: 35.97 kB / 455.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009119/0.5519, allocations: 8.718 MB / 464.4 MB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/0.5519, allocations: 4 kB / 464.4 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005943/0.5579, allocations: 3.091 MB / 467.5 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009891/0.5589, allocations: 371.1 kB / 467.8 MB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002876/0.5592, allocations: 28 kB / 467.9 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008984/0.5601, allocations: 71.92 kB / 467.9 MB, free: 496 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003736/0.5605, allocations: 96.75 kB / 468 MB, free: 400 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-05/0.5606, allocations: 43.98 kB / 468.1 MB, free: 356 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001717/0.5623, allocations: 0.9792 MB / 469 MB, free: 15.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5623, allocations: 4 kB / 469 MB, free: 15.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001977/0.5643, allocations: 448 kB / 469.5 MB, free: 14.93 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (105): * Single equations (assignments): 98 * 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.001247/0.5656, allocations: 0.502 MB / 470 MB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00363/0.5692, allocations: 2.248 MB / 472.2 MB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.5693, allocations: 4.062 kB / 472.2 MB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002224/0.5715, allocations: 1.522 MB / 473.8 MB, free: 10.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/0.5738, allocations: 432.1 kB / 474.2 MB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006929/0.5807, allocations: 4.229 MB / 478.4 MB, free: 5.766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/0.5821, allocations: 1.705 MB / 480.1 MB, free: 4.027 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001079/0.5832, allocations: 325 kB / 480.4 MB, free: 3.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/0.5835, allocations: 111.4 kB / 480.5 MB, free: 3.594 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5836, allocations: 4 kB / 480.6 MB, free: 3.59 MB / 398.1 MB Notification: Performance of Templates: time 0.05015/0.6337, allocations: 25.05 MB / 0.4937 GB, free: 10.49 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Conveyor/AIMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches